pan@uvicctr.UVic.ca.UUCP (P. Agathoklis) (09/28/89)
I am having a problem setting a desired default colormap on a Sun 3-160 with CG2 (pseudocolor). I would like to set the default to the 72 colors found in the distribution rgb data base and 128 gray scale values. The purpose is to display gray scale images without the annoying changing of the installed colormap as windows are traversed. Attempts have been make using XStoreColors() on the colormap obtained from DefaultColormap() which failed as expected. The next attempt was to put the desired default colormap in the server but the colormap was overridden by clients. I would like to know how to set the default colormap from a client or window manager. Thanx Al Keddy wakeddy@sirius.uvic.ca
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (10/02/89)
I am having a problem setting a desired default colormap on a Sun 3-160 with CG2 (pseudocolor). I would like to set the default to the 72 colors found in the distribution rgb data base and 128 gray scale values. The purpose is to display gray scale images without the annoying changing of the installed colormap as windows are traversed. Sounds like the purpose would be served by creating an RGB_GRAY_MAP standard colormap, allocated out of the default colormap, and having your image displayer look for that map. There will be code in R4 to allow you to do this.