Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: X colormaps



Scott Stone writes:
 > 
 > Are colormaps and colormap structures in X at all useful in bit depths
 > greater than 8?  Ie, if I have a program that I'd like to be able to run
 > under X and do neat things like pallette fades/color cycling/etc, can I do
 > that in 16/24/32bpp or must I use 8bpp?
As far as I know you can create colormaps for all visuals and they
should have some meaning. Look at the manpages for XCreateColormap.
So I think it should be possible to have those effects. There is a
very informative web site that has all kinds of information about X11
and Motif:
http://www.rahul.net/kenton/index.shtml

Hope that helps. I only did some stuff with colormaps for Pseudocolor
visuals because in that case you need your own colormap to watch TV :).

Marcus

----------------------------------------------------------------------------
Dr. Marcus Metzler
Department of Physics    | $B")(B $B#2#7#4!<#8#5#1#0(B
Toho University          | $B@example.com)A%66;T;0;3#2!<#2!<#1(B
Miyama 2-2-1, Funabashi, | $BElK.Bg3X(B  $BM}3XIt(B  $BJ*M}(B
Chiba 274-8510           | 
Japan			 |
e-mail : mocm@example.com
----------------------------------------------------------------------------
--------------------------------------------------------------
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links