89 lines
2.2 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
psidtopgm - convert PostScript "image" data into a portable graymap
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>psidtopgm</B>
|
|
|
|
<I>width height bits/sample</I>
|
|
|
|
[<I>imagedata</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads the "image" 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 "image" 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"> </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"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Copyright (C) 1989 by Jef Poskanzer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|