🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37788

Creating Pixmap data files

#37788
From: Nancie Matson
Date: Wed, 07 Mar 1990 16:31
26 lines
1219 bytes
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
Technical Details
Message-ID: <414@hal.CSS.GOV>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!seismo!hal!nancie

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!seismo!hal!nancie
From: nancie@hal.CSS.GOV (Nancie Matson)
Newsgroups: comp.windows.x
Subject: Creating Pixmap data files
Message-ID: <414@hal.CSS.GOV>
Date: 7 Mar 90 16:31:05 GMT
Reply-To: nancie@hal.css.gov (Nancie Matson)
Organization: ENSCO Inc., Melbourne FL
Lines: 26