|
From: Alan W. I. <ir...@be...> - 2004-11-11 17:07:12
|
On 2004-11-11 08:38+0100 Lehmann, Eckhard {TR-I~Penzberg} wrote:
> - more than 16 colors. I have heard that the plot window is 16bit (?).
> It would be interresting to coose any color from the normal rgb palette
> and have 32bit colors.
Our R, G, and B values are stored in 8-bit unsigned integers so our
fundamental colour limit is we have 24 bits of colour with no transparency
channel. It's been quite a while since I did a bunch of experiments with the
png, jpeg, and gif devices associated with the gd.c device driver, but I
recall they supported a large number of different colours and perhaps even
up to our theoretical maximum of the full 24 bits. I doubt the other older
devices go that high, but if you needed more colours for them, I don't think
it would be that difficult to change them.
Alan
__________________________
Alan W. Irwin
email: ir...@be...
phone: 250-727-2902
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
|