| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Pnmtorast User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>pnmtorast</h1> |
| 5 |
Updated: 12 January 1991 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
|
| 9 |
<h2>NAME</h2> |
| 10 |
pnmtorast - convert a PPM into a Sun rasterfile |
| 11 |
|
| 12 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 13 |
|
| 14 |
<b>pnmtorast</b> |
| 15 |
[<b>-standard</b>|<b>-rle</b>] |
| 16 |
[<i>pnmfile</i>] |
| 17 |
|
| 18 |
<h2 id="description">DESCRIPTION</h2> |
| 19 |
|
| 20 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 21 |
|
| 22 |
<p><b>pnmtorast</b>reads a PPM image as input and produces a Sun |
| 23 |
rasterfile as output. |
| 24 |
|
| 25 |
<p>Color values in Sun rasterfiles are eight bits wide, so |
| 26 |
<b>pnmtorast</b> will automatically scale colors to have a maxval of |
| 27 |
255. An extra <b>pamdepth</b> step is not necessary. |
| 28 |
|
| 29 |
<h2 id="options">OPTIONS</h2> |
| 30 |
|
| 31 |
<p>In addition to the options common to all programs based on libnetpbm |
| 32 |
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> |
| 33 |
Common Options</a>), <b>pnmtorast</b> recognizes the following |
| 34 |
command line options: |
| 35 |
|
| 36 |
<p>All options can be abbreviated to their shortest unique prefix. |
| 37 |
|
| 38 |
<dl compact> |
| 39 |
<dt><b>-standard</b> |
| 40 |
|
| 41 |
<dd> |
| 42 |
<p>Forces the result to be in RT_STANDARD form. |
| 43 |
|
| 44 |
<dt><b>-rle</b> |
| 45 |
|
| 46 |
<dd> |
| 47 |
<p>Forces the result to be in RT_BYTE_ENCODED, which is smaller but, |
| 48 |
well, less standard. <p>The default is <b>-rle</b>. |
| 49 |
|
| 50 |
</dl> |
| 51 |
|
| 52 |
<h2 id="seealso">SEE ALSO</h2> |
| 53 |
|
| 54 |
<p><a href="rasttopnm.html">rasttopnm</a>, |
| 55 |
<a href="pnm.html">pnm</a> |
| 56 |
|
| 57 |
<h2 id="author">AUTHOR</h2> |
| 58 |
|
| 59 |
Copyright (C) 1989, 1991 by Jef Poskanzer. |
| 60 |
|
| 61 |
<hr> |
| 62 |
<h2 id="index">Table Of Contents</h2> |
| 63 |
<ul> |
| 64 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 65 |
<li><a href="#description">DESCRIPTION</a> |
| 66 |
<li><a href="#options">OPTIONS</a> |
| 67 |
<li><a href="#seealso">SEE ALSO</a> |
| 68 |
<li><a href="#author">AUTHOR</a> |
| 69 |
</ul> |
| 70 |
</body> |
| 71 |
</html> |