Path: utzoo!attcan!uunet!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Setting The Default Colormap: How?? Message-ID: <8910021255.AA03146@expire.lcs.mit.edu> Date: 2 Oct 89 12:55:06 GMT References: <798@uvicctr.UVic.ca.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 10 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.