From 1017cbebe5d5edd859e0fddad0a8600f509f4821 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 25 Dec 2006 03:06:05 +0000 Subject: Place user guide into Subversion repository git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- ppmdither.html | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 ppmdither.html (limited to 'ppmdither.html') diff --git a/ppmdither.html b/ppmdither.html new file mode 100644 index 00000000..fd3eaaa4 --- /dev/null +++ b/ppmdither.html @@ -0,0 +1,88 @@ + +Ppmdither User Manual + +

ppmdither

+Updated: 14 July 1991 +
+Table Of Contents + +

NAME

+ +ppmdither - ordered dither for color images + +

SYNOPSIS

+ +ppmdither + +[-dim power] + +[-red shades] + +[-green shades] + +[-blue shades] + +[ppmfile] + +

DESCRIPTION

+ +

This program is part of Netpbm. + +

ppmdither 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. + +

You can do another kind of dither -- Floyd-Steinberg -- with +pnmquant or pnmremap. + +

OPTIONS

+ +
+
-dim power + +
The size of the dithering matrix. The dithering matrix is a +square whose dimension is a power of 2. power is that power of +2. The default is 4, for a 16 by 16 matrix. + +
-red shades + +
+The number of red shades to be used, including black; minimum of 2. + +
-green shades + +
+The number of green shades to be used, including black; minimum of 2. + +
-blue shades + +
+The number of blue shades to be used, including black; minimum of 2. + +
+

SEE ALSO

+ +pamdepth, +pnmquant, +pnmremap, +ppm + +

AUTHOR

+ +Copyright (C) 1991 by Christos Zoulas. + +
+  +

Table Of Contents

+ + + -- cgit 1.4.1