1Ppmdither User Manual(0)                              Ppmdither User Manual(0)
2
3
4

NAME

6       ppmdither - ordered dither for color images
7
8

SYNOPSIS

10       ppmdither
11
12       [-dim=power]
13
14       [-red=n]
15
16       [-green=n]
17
18       [-blue=n]
19
20       [netpbmfile]
21
22       All  options  can  be abbreviated to their shortest unique prefix.  You
23       may use two hyphens instead of one to designate an option.  You may use
24       either  white  space  or  an equals sign between an option name and its
25       value.
26
27
28

DESCRIPTION

30       This program is part of Netpbm(1).
31
32       ppmdither reads a Netpbm image as input, and applies dithering to it to
33       reduce the number of colors used down to the specified number of shades
34       for each primary.  It produces a PPM image as output.
35
36       The default number of shades is 5 red, 9 green, and 5 blue, for a total
37       of  225  colors.   To convert the image to a binary rgb format suitable
38       for primitive color printers, use -red=2 -green=2 -blue=2.
39
40       You can do another kind of dither -- Floyd-Steinberg --  with  pnmquant
41       or pnmremap.
42
43

OPTIONS

45       In  addition  to  the options common to all programs based on libnetpbm
46       (most notably -quiet, see
47        Common Options ⟨index.html#commonoptions⟩ ), ppmdither recognizes  the
48       following command line options:
49
50
51
52       -dim power
53               The  size  of  the dithering matrix.  The dithering matrix is a
54              square whose dimension is a power of 2.  power is that power  of
55              2.  The default is 4, for a 16 by 16 matrix.
56
57
58       -red=n The number of red shades to be used, including black; minimum of
59              2.
60
61              Default is 5.
62
63
64       -green n
65              The number of green shades to be used, including black;  minimum
66              of 2.
67
68              Default is 9.
69
70
71       -blue n
72              The  number  of blue shades to be used, including black; minimum
73              of 2.
74
75              Default is 5.
76
77
78

SEE ALSO

80       pamditherbw(1), pamdepth(1), pnmquant(1), pnmremap(1), ppm(1)
81
82

AUTHOR

84       Copyright (C) 1991 by Christos Zoulas.
85

DOCUMENT SOURCE

87       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
88       source.  The master documentation is at
89
90              http://netpbm.sourceforge.net/doc/ppmdither.html
91
92netpbm documentation           16 December 2009       Ppmdither User Manual(0)
Impressum