summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man1/psidtopgm.1
blob: 8e91ad8cb13bcd13095119e03dd0d6abbaa25e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Psidtopgm User Manual" 1 "02 August 89" "netpbm documentation"

.SH NAME

psidtopgm - convert PostScript "image" data to a PGM image

.UN synopsis
.SH SYNOPSIS

\fBpsidtopgm\fP \fIwidth\fP \fIheight\fP \fIbits/sample\fP [\fIimagedata\fP]

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpsidtopgm\fP reads the "image" data from a PostScript
file as input and produces a PGM image as output.
.PP
This program is obsoleted by \fBpstopnm\fP.

What follows was written before \fBpstopnm \fP existed.
.PP
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
\fImanually\fP 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 \fIat
least\fP read the description of the "image" operator in
the PostScript Language Reference Manual.
.PP
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...

.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBpsidtopgm\fP, but it recognizes the options common to all
programs based on libnetpbm (See 
.UR index.html#commonoptions
 Common Options
.UE
\&.)

.UN seealso
.SH SEE ALSO
.BR "pnmtops" (1)\c
\&, 
.BR "pgm" (1)\c
\&

.UN author
.SH AUTHOR

Copyright (C) 1989 by Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/psidtopgm.html
.PP