| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Psidtopgm User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>psidtopgm</h1> |
| 5 |
Updated: 02 August 89 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
<h2>NAME</h2> |
| 9 |
|
| 10 |
psidtopgm - convert PostScript "image" data to a PGM image |
| 11 |
|
| 12 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 13 |
|
| 14 |
<b>psidtopgm</b> <i>width</i> <i>height</i> <i>bits/sample</i> [<i>imagedata</i>] |
| 15 |
|
| 16 |
<h2 id="description">DESCRIPTION</h2> |
| 17 |
|
| 18 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 19 |
|
| 20 |
<p><b>psidtopgm</b> reads the "image" data from a PostScript |
| 21 |
file as input and produces a PGM image as output. |
| 22 |
|
| 23 |
<p>This program is obsoleted by <b>pstopnm</b>. |
| 24 |
|
| 25 |
What follows was written before <b>pstopnm </b> existed. |
| 26 |
|
| 27 |
<p>This is a very simple and limited program, and is here only because |
| 28 |
so many people have asked for it. To use it you have to |
| 29 |
<em>manually</em> extract the readhexstring data portion from your |
| 30 |
PostScript file, and then give the width, height, and bits/sample on |
| 31 |
the command line. Before you attempt this, you should <em>at |
| 32 |
least</em> read the description of the "image" operator in |
| 33 |
the PostScript Language Reference Manual. |
| 34 |
|
| 35 |
<p>It would probably not be too hard to write a script that uses this |
| 36 |
filter to read a specific variety of PostScript image, but the |
| 37 |
variation is too great to make a general-purpose reader. Unless, of |
| 38 |
course, you want to write a full-fledged PostScript interpreter... |
| 39 |
|
| 40 |
<h2 id="options">OPTIONS</h2> |
| 41 |
|
| 42 |
<p>There are no command line options defined specifically |
| 43 |
for <b>psidtopgm</b>, but it recognizes the options common to all |
| 44 |
programs based on libnetpbm (See <a href="index.html#commonoptions"> |
| 45 |
Common Options</a>.) |
| 46 |
|
| 47 |
<h2 id="seealso">SEE ALSO</h2> |
| 48 |
|
| 49 |
<a href="pnmtops.html">pnmtops</a>, |
| 50 |
<a href="pgm.html">pgm</a> |
| 51 |
|
| 52 |
<h2 id="author">AUTHOR</h2> |
| 53 |
|
| 54 |
Copyright (C) 1989 by Jef Poskanzer. |
| 55 |
|
| 56 |
<hr> |
| 57 |
<h2 id="index">Table Of Contents</h2> |
| 58 |
<ul> |
| 59 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 60 |
<li><a href="#description">DESCRIPTION</a> |
| 61 |
<li><a href="#options">OPTIONS</a> |
| 62 |
<li><a href="#seealso">SEE ALSO</a> |
| 63 |
<li><a href="#author">AUTHOR</a> |
| 64 |
</ul> |
| 65 |
</body> |
| 66 |
</html> |