Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: staver@susque.crd.ge.com (Daniel A Staver) Newsgroups: comp.sys.sun Subject: Trouble with dump_region, plane_groups Keywords: Windows Message-ID: <4255@kalliope.rice.edu> Date: 30 Jun 89 19:49:07 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 62, message 9 of 10 I have a problem getting a proper dump of a region on the screen when the region of interest has pixels in both the color and b/w planes. What I would like is to generate a color raster file which would contain pixel information from both planes as selected by the enable plane. If any of the pixels are from the b/w plane, then just select those for merging into the color-plane raster dump. How does one dump the enable plane? Can there be more than 256 colors such that I can have 256 colors for my color-plane and also have 2 extra for black and white, or do I need to find the "lightest" and "darkest" out of the 256 available colors in the current color map (selected by my application program - IDL) and map the b/w pixels to these two colors? The normal programs, dumpregion, screendump, etc, only get from one device (display buffer) it seems.