.TL Psidtopgm User Manual .SH 1 psidtopgm .LP Updated: 02 August 89 .br Table Of Contents .SH 2 NAME .LP psidtopgm - convert PostScript "image" data to a PGM image .SH 2 SYNOPSIS .LP \fBpsidtopgm\fR \fIwidth\fR \fIheight\fR \fIbits/sample\fR [\fIimagedata\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpsidtopgm\fR reads the "image" data from a PostScript file as input and produces a PGM image as output. .LP This program is obsoleted by \fBpstopnm\fR. What follows was written before \fBpstopnm \fR existed. .LP This is a very simple and limited program, and is here only because so many people have asked for it. To use it you have to manually extract the readhexstring data portion from your PostScript file, and then give the width, height, and bits/sample on the command line. Before you attempt this, you should at least read the description of the "image" operator in the PostScript Language Reference Manual. .LP It would probably not be too hard to write a script that uses this filter to read a specific variety of PostScript image, but the variation is too great to make a general-purpose reader. Unless, of course, you want to write a full-fledged PostScript interpreter... .SH 2 SEE ALSO .LP pnmtops, pgm .SH 2 AUTHOR .LP Copyright (C) 1989 by Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP