home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!alf.uib.no!singg
- From: singg@alf.uib.no (Kurt George Gjerde)
- Subject: Saving pixmap
- Message-ID: <1992Nov7.142312.23199@alf.uib.no>
- Sender: usenet@alf.uib.no (Bergen University Newsaccount)
- Organization: University of Bergen, Norway
- Date: Sat, 7 Nov 92 14:23:12 GMT
- Lines: 13
-
- I use the following code to save a pixmap to file:
-
-
- if (!XWriteBitmapFile(dpy,name,pixmap,width,
- height,-1,-1) != BitmapSuccess)
- reportError(drawing_a,"Error saving drawing to '%s'.",tok[1],
- NULL,NULL,NULL);
-
-
- Are there any faster ways of doing this??
-
- Kurt.
-
-