[comp.windows.x] XWriteBitmapFile problem

darken@seas.gwu.edu (04/01/91)

I'm having a problem getting XWriteBitmapFile to correctly write
a bitmap file from a pixmap. I create a pixmap in which I draw
white on a black background. I use XCopyPlane to the window to see
that the output is correct. Then I write the pixmap to a file.
It always comes out all black. Any ideas what might cause this?
If anyone has an example of writing bitmap files which they know
to work, I'd like to see it. Thanks a lot.

Rudy
darken@seas.gwu.edu