[comp.windows.x] Pixmap images

huffman@pyrite.uucp (John Huffman) (06/29/90)

I also have another problem with the X11R2 Intel version.  I am trying
to save the data from a window to a file and also retrieve it later.  In
order to do this, I am using the XGetImage function followed by the 
XGetPixel function to get the data at each point, and then some other
processing to get it all in the right form.  This works great as long
as I use the window directly, but I want to get the information from a 
pixmap that I'm using to store the image.  If I try to get the pixel
data from the pixmap it isn't correct.  Is there something I'm missing,
or does it have to be a window to work?

					- John Huffman