97 lines
2.4 KiB
HTML
97 lines
2.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of fstopgm</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>fstopgm</H1>
|
|
Section: User Commands (1)<BR>Updated: 06 April 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>
|
|
|
|
fstopgm - convert a Usenix FaceSaver(tm) file into a portable graymap
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>fstopgm</B>
|
|
|
|
[<I>fsfile</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads a Usenix FaceSaver(tm) file as input.
|
|
<A NAME="ixAAC"></A>
|
|
Produces a portable graymap as output.
|
|
<P>
|
|
|
|
FaceSaver(tm) files sometimes have rectangular pixels.
|
|
While
|
|
<I>fstopgm</I>
|
|
|
|
won't re-scale them into square pixels for you,
|
|
it will give you the precise
|
|
<I>pnmscale</I>
|
|
|
|
command that will do the job.
|
|
Because of this, reading a FaceSaver(tm) image is a two-step process.
|
|
First you do:
|
|
<PRE>
|
|
fstopgm > /dev/null
|
|
</PRE>
|
|
|
|
This will tell you whether you need to use
|
|
<I>pnmscale.</I>
|
|
|
|
Then use one of the following pipelines:
|
|
<PRE>
|
|
fstopgm | pgmnorm
|
|
fstopgm | pnmscale -whatever | pgmnorm
|
|
</PRE>
|
|
|
|
To go to PBM, you want something more like one of these:
|
|
<PRE>
|
|
fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm
|
|
fstopgm | pnmenlarge 3 | pnmscale <whatever> | pgmnorm | pgmtopbm
|
|
</PRE>
|
|
|
|
You want to enlarge when going to a bitmap because otherwise you lose
|
|
information; but enlarging by more than 3 does not look good.
|
|
<P>
|
|
|
|
FaceSaver is a registered trademark of Metron Computerware Ltd. of
|
|
Oakland, CA.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+pgmtofs">pgmtofs</A>(1), <A HREF="/cgi-bin/man/man2html?5+pgm">pgm</A>(5), <A HREF="/cgi-bin/man/man2html?1+pgmnorm">pgmnorm</A>(1), <A HREF="/cgi-bin/man/man2html?1+pnmenlarge">pnmenlarge</A>(1), <A HREF="/cgi-bin/man/man2html?1+pnmscale">pnmscale</A>(1), <A HREF="/cgi-bin/man/man2html?1+pgmtopbm">pgmtopbm</A>(1)
|
|
<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:12 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|