Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucselx!brian From: brian@ucselx.sdsu.edu (Brian Ho) Newsgroups: comp.windows.x Subject: Help on X colormap Message-ID: <1990Aug21.211448.6420@ucselx.sdsu.edu> Date: 21 Aug 90 21:14:48 GMT Organization: San Diego State University Computing Services Lines: 28 Hello out there, I have some problems which are concerning colors display in X-window system. I am trying to display more than 256 different colors, however, everytime when I used up the available color cells (256), I will obtain some (junky) color. I am wondering if there is a way that I can create another color map to display 256+ colors. I used XAllocColor to allocate the color cells. I have tried to use XCopyColormapAndFree() function (Xlib). But it does not seem to work. The following is the configuration on my system under X.. Class : PseudoColor Depth : 8 planes size of colormap : 256 entries red, green, blue mask : 0x0, 0x0, 0x0 significant bits in color speci. : 8 bits. (I think it is the problem) Please Send me mail at brian@math.sdsu.edu brian@ucselx.sdsu.edu Thank you in Advance..