[comp.windows.x] Creating Pixmap data files

nancie@hal.CSS.GOV (Nancie Matson) (03/08/90)

Hi everyone!

I would like to know if anyone out there know how to save a
Pixmap file to disk.  I just got a hold of the xloadimage
software and it says that it can handle X11 Bitmap data and
X Pixmap data.

I can't find out how to go about creating a X Pixmap data file
from an image on the screen.  This is what I tried:
	- created an image in a window
	- created a pixmap with XCreatePixmap
	- saved the pixmap to a file using XWriteBitmapFile

Whenever I try to load this into xloadimage, all I see is white
background with black smudges.  (my image is in color).  So
I thought that If I could save the image to a Pixmap file
I may have better luck...

If any of this makes sense, please e-mail me any thing that may
be helpful.  I think that I am getting confused about the formats.

My address is :  nancie@hal.CSS.GOV.

Thanx

nancie