cstevens@ic.berkeley.edu (Colin Stevens) (07/15/89)
I'm trying to display some color images on a VAX station running X10. It is just something I'm doing weekends for 'fun', if that can be called fun. I have 24 bits of color info, which I know how to scrunch down to 8 bits. Now I want to use all 256 colors I have available at one time. I don't care if I mess up the rest of the colors on my screen, just so long as I can set them back afterwards. Before I get 20 responses all saying "look at the X manual", or "have you tried this command?", please take a look at the pertinent part of my program, which I can mail you. It seems that all the other colors on my screen are "in use" and cannot be changed, leaving me with around 200 - 220 colors. I've tried most of the color commands in the X manual in an attempt to use all 256. If someone out there already has a program that will read color pictures and display them in 256 colors, that would be great. Another problem: I can only stick 128k of info in a Pixmap, so I break my large pictures into pieces. However, only the first Pixmap shows up correctly. The others contain garbage. Thank you, Colin