| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Psidtopgm User Manual" 1 "02 August 89" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
psidtopgm - convert PostScript "image" data to a PGM image |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBpsidtopgm\fP \fIwidth\fP \fIheight\fP \fIbits/sample\fP [\fIimagedata\fP] |
| 16 |
|
| 17 |
.UN description |
| 18 |
.SH DESCRIPTION |
| 19 |
.PP |
| 20 |
This program is part of |
| 21 |
.BR "Netpbm" (1)\c |
| 22 |
\&. |
| 23 |
.PP |
| 24 |
\fBpsidtopgm\fP reads the "image" data from a PostScript |
| 25 |
file as input and produces a PGM image as output. |
| 26 |
.PP |
| 27 |
This program is obsoleted by \fBpstopnm\fP. |
| 28 |
|
| 29 |
What follows was written before \fBpstopnm \fP existed. |
| 30 |
.PP |
| 31 |
This is a very simple and limited program, and is here only because |
| 32 |
so many people have asked for it. To use it you have to |
| 33 |
\fImanually\fP extract the readhexstring data portion from your |
| 34 |
PostScript file, and then give the width, height, and bits/sample on |
| 35 |
the command line. Before you attempt this, you should \fIat |
| 36 |
least\fP read the description of the "image" operator in |
| 37 |
the PostScript Language Reference Manual. |
| 38 |
.PP |
| 39 |
It would probably not be too hard to write a script that uses this |
| 40 |
filter to read a specific variety of PostScript image, but the |
| 41 |
variation is too great to make a general-purpose reader. Unless, of |
| 42 |
course, you want to write a full-fledged PostScript interpreter... |
| 43 |
|
| 44 |
.UN options |
| 45 |
.SH OPTIONS |
| 46 |
.PP |
| 47 |
There are no command line options defined specifically |
| 48 |
for \fBpsidtopgm\fP, but it recognizes the options common to all |
| 49 |
programs based on libnetpbm (See |
| 50 |
.UR index.html#commonoptions |
| 51 |
Common Options |
| 52 |
.UE |
| 53 |
\&.) |
| 54 |
|
| 55 |
.UN seealso |
| 56 |
.SH SEE ALSO |
| 57 |
.BR "pnmtops" (1)\c |
| 58 |
\&, |
| 59 |
.BR "pgm" (1)\c |
| 60 |
\& |
| 61 |
|
| 62 |
.UN author |
| 63 |
.SH AUTHOR |
| 64 |
|
| 65 |
Copyright (C) 1989 by Jef Poskanzer. |
| 66 |
.SH DOCUMENT SOURCE |
| 67 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 68 |
source. The master documentation is at |
| 69 |
.IP |
| 70 |
.B http://netpbm.sourceforge.net/doc/psidtopgm.html |
| 71 |
.PP |