diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-12-25 03:06:05 +0000 |
commit | 1017cbebe5d5edd859e0fddad0a8600f509f4821 (patch) | |
tree | 78bdf336648566f7a7d55f42837357dea3dd674c /ppmdither.html | |
parent | 16f2ac126651015a376eba864a3a35f738b0b25a (diff) | |
download | netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.gz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.tar.xz netpbm-mirror-1017cbebe5d5edd859e0fddad0a8600f509f4821.zip |
Place user guide into Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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> |