about summary refs log tree commit diff
path: root/rawtoppm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-24 02:17:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-24 02:17:11 +0000
commitd06e8ef37fbe6594a5cd73a1c897a816db99f35c (patch)
tree2eded7e8c8839c78a484aee3c874c6ef605a5de6 /rawtoppm.html
parentaed071d6acf292f6cd0dd2a00b1ab54101aa6009 (diff)
downloadnetpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.tar.gz
netpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.tar.xz
netpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.zip
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3864 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'rawtoppm.html')
-rw-r--r--rawtoppm.html107
1 files changed, 52 insertions, 55 deletions
diff --git a/rawtoppm.html b/rawtoppm.html
index 2f274bfa..2a90300b 100644
--- a/rawtoppm.html
+++ b/rawtoppm.html
@@ -1,35 +1,32 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<HTML><HEAD><TITLE>Rawtoppm User Manual</TITLE></HEAD>
-<BODY>
-<H1>rawtoppm</H1>
+<html><head><title>Rawtoppm User Manual</title></head>
+<body>
+<h1>rawtoppm</h1>
 Updated: 06 February 1991
-<BR>
-<A HREF="#index">Table Of Contents</A>
-<A NAME="lbAB">&nbsp;</A>
-<H2>NAME</H2>
+<br>
+<a href="#index">Table Of Contents</a>
+<h2>NAME</h2>
 
 rawtoppm - convert a stream of raw RGB bytes to a PPM image
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<h2 id="synopsis">SYNOPSIS</h2>
 
-<B>rawtoppm</B>
+<b>rawtoppm</b>
 
-[<B>-headerskip</B> <I>N</I>]
+[<b>-headerskip</b> <i>N</i>]
 
-[<B>-rowskip</B> <I>N</I>]
+[<b>-rowskip</b> <i>N</i>]
 
 [
-<B>-rgb</B>|<B>-rbg</B>|<B>-grb</B>
-|<B>-gbr</B>|<B>-brg</B>|<B>-bgr</B>
+<b>-rgb</b>|<b>-rbg</b>|<b>-grb</b>
+|<b>-gbr</b>|<b>-brg</b>|<b>-bgr</b>
 ]
 
-[<B>-interpixel</B>|<B>-interrow</B>] <I>width</i> <i>height</I>
+[<b>-interpixel</b>|<b>-interrow</b>] <i>width</i> <i>height</i>
 
-[<I>imagedata</I>]
+[<i>imagedata</i>]
 
-<A NAME="lbAD">&nbsp;</A>
-<H2>DESCRIPTION</H2>
+<h2 id="description">DESCRIPTION</h2>
 
 <p>This program is part of <a href="index.html">Netpbm</a>.
 
@@ -44,64 +41,64 @@ PPM 255.
 If they are actually bottom first, the resulting PPM is upside down, so
 run it through <b>pamflip -tb</b>.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>OPTIONS</H2>
+<h2 id="options">OPTIONS</h2>
 
-<DL COMPACT>
-<DT><B>-headerskip</B>
+<p>In addition to the options common to all programs based on libnetpbm
+(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
+Common Options</a>), <b>rawtoppm</b> recognizes the following
+command line options:
 
-<DD>Skip over this many bytes at the beginning of the input stream.
+<dl compact>
+<dt><b>-headerskip</b>
+
+<dd>Skip over this many bytes at the beginning of the input stream.
 Use this option when the input has some kind of header followed by
 a raster suitable for <b>rawtoppm</b>.
 
-<DT><B>-rowskip</B>
+<dt><b>-rowskip</b>
 
-<DD>Skip this many bytes at the end of each row of the raster.  (Some
+<dd>Skip this many bytes at the end of each row of the raster.  (Some
 input streams have padding at the end of rows).
 
-<DT><B>-rgb -rbg -grb -gbr -brg -bgr</B>
+<dt><b>-rgb -rbg -grb -gbr -brg -bgr</b>
 
-<DD>This option specifies the order of the color components for each
-pixel.  The default is <B>-rgb</B>.
+<dd>This option specifies the order of the color components for each
+pixel.  The default is <b>-rgb</b>.
 
-<DT><B>-interpixel -interrow</B>
+<dt><b>-interpixel -interrow</b>
 
-<DD>These options specify how the colors are interleaved.  The default
-is <B>-interpixel</B>, meaning interleaved by pixel.  A byte of red, a
+<dd>These options specify how the colors are interleaved.  The default
+is <b>-interpixel</b>, meaning interleaved by pixel.  A byte of red, a
 byte of green, and a byte of blue, or whatever color order you
-specified.  <B>-interrow</B> means interleaved by row - a row of red,
+specified.  <b>-interrow</b> means interleaved by row - a row of red,
 a row of green, a row of blue, assuming standard rgb color order.  An
-<B>-interplane</B> option - all the red pixels, then all the green,
+<b>-interplane</b> option - all the red pixels, then all the green,
 then all the blue - would be an obvious extension, but is not
 implemented.  You could get the same effect by splitting the file into
 three parts (perhaps using <b>dd</b>), turning each part into a PGM
 file with <b>rawtopgm</b>, and then combining them with <b>rgb3toppm</b>.
 
-</DL>
+</dl>
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<h2 id="seealso">SEE ALSO</h2>
 
-<A HREF="ppm.html">ppm</A>, 
-<A HREF="rawtopgm.html">rawtopgm</A>, 
-<A HREF="rgb3toppm.html">rgb3toppm</A>, 
-<A HREF="pamflip.html">pamflip</A>
+<a href="ppm.html">ppm</a>, 
+<a href="rawtopgm.html">rawtopgm</a>, 
+<a href="rgb3toppm.html">rgb3toppm</a>, 
+<a href="pamflip.html">pamflip</a>
 
-<A NAME="lbAG">&nbsp;</A>
-<H2>AUTHOR</H2>
+<h2 id="author">AUTHOR</h2>
 
 Copyright (C) 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>
+<hr>
+<h2 id="index">Table Of Contents</h2>
+<ul>
+<li><a href="#synopsis">SYNOPSIS</a>
+<li><a href="#description">DESCRIPTION</a>
+<li><a href="#options">OPTIONS</a>
+<li><a href="#seealso">SEE ALSO</a>
+<li><a href="#author">AUTHOR</a>
+</ul>
+</body>
+</html>