diff options
Diffstat (limited to 'ppmdither.html')
-rw-r--r-- | ppmdither.html | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/ppmdither.html b/ppmdither.html new file mode 100644 index 00000000..fd3eaaa4 --- /dev/null +++ b/ppmdither.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmdither User Manual</TITLE></HEAD> +<BODY> +<H1>ppmdither</H1> +Updated: 14 July 1991 +<BR> +<A HREF="#index">Table Of Contents</A> + +<H2>NAME</H2> + +ppmdither - ordered dither for color images + +<H2 id="synopsis">SYNOPSIS</H2> + +<B>ppmdither</B> + +[<B>-dim</B> <I>power</I>] + +[<B>-red</B> <I>shades</I>] + +[<B>-green</B> <I>shades</I>] + +[<B>-blue</B> <I>shades</I>] + +[<I>ppmfile</I>] + +<H2 id="description">DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<p><b>ppmdither</b> reads a PPM image as input, and applies dithering +to it to reduce the number of colors used down to the specified number +of shades for each primary. The default number of shades is red=5, +green=9, blue=5, for a total of 225 colors. To convert the image to a +binary rgb format suitable for color printers, use -red 2 -green 2 +-blue 2. + +<p>You can do another kind of dither -- Floyd-Steinberg -- with +<b>pnmquant</b> or <b>pnmremap</b>. + +<H2 id="options">OPTIONS</H2> + +<DL COMPACT> +<DT><B>-dim</B> <I>power</I> + +<DD> The size of the dithering matrix. The dithering matrix is a +square whose dimension is a power of 2. <I>power</I> is that power of +2. The default is 4, for a 16 by 16 matrix. + +<DT><B>-red</B> <I>shades</I> + +<DD> +The number of red shades to be used, including black; minimum of 2. + +<DT><B>-green</B> <I>shades</I> + +<DD> +The number of green shades to be used, including black; minimum of 2. + +<DT><B>-blue</B> <I>shades</I> + +<DD> +The number of blue shades to be used, including black; minimum of 2. + +</DL> +<H2 id="seealso">SEE ALSO</H2> + +<A HREF="pamdepth.html">pamdepth</A>, +<A HREF="pnmquant.html">pnmquant</A>, +<A href="pnmremap.html">pnmremap</A>, +<A HREF="ppm.html">ppm</A> + +<H2 id="author">AUTHOR</H2> + +Copyright (C) 1991 by Christos Zoulas. + +<HR> +<A NAME="index"> </A> +<H2>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> |