Mailing List Archive

Support open source code!


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

Re: tlug: X colormaps



On Wed, 22 Jul 1998, Stephen J. Turnbull wrote:

> >>>>> "Scott" == Scott Stone <sstone@example.com> writes:
> 
>     Scott> Are colormaps and colormap structures in X at all useful in
>     Scott> bit depths greater than 8?  Ie, if I have a program that
>     Scott> I'd like to be able to run under X and do neat things like
>     Scott> pallette fades/color cycling/etc, can I do that in
>     Scott> 16/24/32bpp or must I use 8bpp?
> 
> They are perfectly general and can be and are used for exactly the
> purpose you are describing.  AFAIK you needn't limit yourself to
> 32bpp, as the XColor structure uses CARD16s for the R-G-B components.
> 
> I strongly recommend that you get copies of O'Reilly's X series,
> vol. 1 and 2 on Xlib's features, and also the new book on the X
> device-independent color facility.  (I'm not a specialist, I don't
> know any more about it that that. ;-)  X11R6 now supports CIE and HIV
> color spaces directly, making that kind of thing much easier to do.
> (At least I think so, maybe it's an extension and not part of the
> standard yet.)

That's okay, the program I'm making will be Linux-specific anyway, at
least at first, so Linux-only extensions are for the time being, OK.

I'd probably have to wait until I get back to the USA to get those books,
though... I've seen them in Japan for almost 1万円 each, which is too
much, IMHO.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.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