man-pages/man1/psidtopgm.1.html
2021-03-31 01:06:50 +01:00

89 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of psidtopgm</TITLE>
</HEAD><BODY>
<H1>psidtopgm</H1>
Section: User Commands (1)<BR>Updated: 02 August 89<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
psidtopgm - convert PostScript &quot;image&quot; data into a portable graymap
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>psidtopgm</B>
<I>width height bits/sample</I>
[<I>imagedata</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads the &quot;image&quot; data from a PostScript file as input.
<A NAME="ixAAC"></A>
Produces a portable graymap as output.
<P>
This program is obsoleted by
<B>pstopnm</B>.
What follows was written before
<B>pstopnm </B>
existed.
<P>
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
<B>manually</B>
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
<B>at least</B>
read the description of the &quot;image&quot; operator in the PostScript Language
Reference Manual.
<P>
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...
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pnmtops">pnmtops</A>(1), <A HREF="/cgi-bin/man/man2html?5+pgm">pgm</A>(5)
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1989 by Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:25 GMT, March 31, 2021
</BODY>
</HTML>