Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmtorast User Manual</TITLE></HEAD>
<BODY>
<H1>pnmtorast</H1>
Updated: 12 January 1991
<BR>
<A HREF="#index">Table Of Contents</A>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pnmtorast - convert a PPM into a Sun rasterfile

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>pnmtorast</B>
[<B>-standard</B>|<B>-rle</B>]
[<I>pnmfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pnmtorast</b>reads a PPM image as input and produces a Sun
rasterfile as output.

<P>Color values in Sun rasterfiles are eight bits wide, so
<B>pnmtorast</B> will automatically scale colors to have a maxval of
255.  An extra <B>pamdepth</B> step is not necessary.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<P>The <B>-standard</B> option forces the result to be in RT_STANDARD
form; the <B>-rle</B> option, RT_BYTE_ENCODED, which is smaller but,
well, less standard.  The default is <B>-rle</B>.

<P>All options can be abbreviated to their shortest unique prefix.

<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<p><A HREF="rasttopnm.html">rasttopnm</A>,
<A HREF="pnm.html">pnm</A>
<A NAME="lbAG">&nbsp;</A>

<H2>AUTHOR</H2>

Copyright (C) 1989, 1991 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>