From: Lehmann, E. {TR-I~Penzberg} <eck...@Ro...> - 2004-11-12 06:35:02
|
>=20 > Our R, G, and B values are stored in 8-bit unsigned integers=20 > so our fundamental colour limit is we have 24 bits of colour=20 > with no transparency channel. It's been quite a while since I=20 > did a bunch of experiments with the png, jpeg, and gif=20 > devices associated with the gd.c device driver, but I recall=20 > they supported a large number of different colours and=20 > perhaps even up to our theoretical maximum of the full 24=20 > bits. I doubt the other older devices go that high, but if=20 > you needed more colours for them, I don't think it would be=20 > that difficult to change them. That should suffer, of course. It seems that I haven't figured out how to set the colors yet, I'm still using the predefined plcol0 palette with 16 colors, the documentation did not offer to me a real alternative (except that it should be possible to change these colors... But how?). May I ask for a short example how to do this from within Tcl? Eckhard ;) |