|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> Most X example apps use only black and white, which makes me think using
> more than two colors is an extra pain. That is because they the only colors
> X guarantees that exist.
Last I looked, you not only have to know how many colors the screen
supports, but you have to order the bytes and such in the same order as they
are in the hardware. I.e., you query the X server for how many bits and in
what order the colors are, then you have to give all colors in that form to
the server. You have to convert the images yourself, put them in the right
order with the right stride, etc.
Now, note that "last I looked", an 8-bit color card for a machine that could
run UNIX was a thousand dollars or so, some 15 years ago, so take it with a
grain or two.
--
Darren New, San Diego CA, USA (PST)
The NFL should go international. I'd pay to
see the Detroit Lions vs the Roman Catholics.
Post a reply to this message
|
![](/i/fill.gif) |