[alt.graphics.pixutils] wanted: ability to capture color X display and convert to greyscale Postscript

jnelson@gauche.zko.dec.com (Jeff E. Nelson) (12/07/90)

I want to capture a Xwindows screen display in color and convert it to greyscale
Postscript. It appears that the pbmplus tools can do this:

	xwdtoppm file.xwd | ppmtopgm | pgmtops > file.ps

The problem is that I can't seem to locate an xwd that xwdtoppm likes. I did
find one, but when I ran it's output through xwdtoppm, I get the message:

	xwdtoppm: unknown XWD file version: 117440512

Assistance in accomplishing my goal of capturing a color display and converting
it to greyscale Postscript is greatly appreciated. I sorta assume xwd is the
"missing link," but if you have other ideas, please let me know.

In case it matters: this is on a DECstation 3100 running Ultrix 4.0 and the
DECwindows session and window managers. However, the xwd program I found was on
a VAX 6000-series machine running Ultrix 3.1; I pointed the DISPLAY variable
back to the DS3100 to perform the screen capture.

-Jeff E. Nelson
-Digital Equipment Corporation
-Internet: jnelson@tle.enet.dec.com
-Affiliation given for identification purposes only