Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!seas.gwu.edu!darken From: darken@seas.gwu.edu (Rudolph Darken) Newsgroups: comp.windows.x Subject: XCopyPlane, X Bitmap Problem Message-ID: <2799@sparko.gwu.edu> Date: 27 Feb 91 22:23:36 GMT Reply-To: darken@seas.gwu.edu (Rudolph Darken) Organization: The George Washington University, Washington D.C. Lines: 15 I am in desperate need of assistance with XCopyPlane and the format of X bitmap files. First, if I have an 8 bit/pixel pixmap, what do I need to do to copy that to a visible window? It's the 'plane' parameter that's confusing me. Next, say I want to save my 8 bit/pixel pixmap into a bitmap file. Can this be done? And if so, will my 8 bits be preserved? It seems that the definition of a bitmap would not allow this. If this won't work, are there any suggestions as to how to save a color image to disk for future use in an X application? Thanks very much for any help. Rudy Darken darken@seas.gwu.edu