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       -dim power
46               The  size  of  the dithering matrix.  The dithering matrix is a
47              square whose dimension is a power of 2.  power is that power  of
48              2.  The default is 4, for a 16 by 16 matrix.
49
50
51       -red=n The number of red shades to be used, including black; minimum of
52              2.
53
54              Default is 5.
55
56
57       -green n
58              The number of green shades to be used, including black;  minimum
59              of 2.
60
61              Default is 9.
62
63
64       -blue n
65              The  number  of blue shades to be used, including black; minimum
66              of 2.
67
68              Default is 5.
69
70
71

SEE ALSO

73       pamditherbw(1), pamdepth(1), pnmquant(1), pnmremap(1), ppm(1)
74
75

AUTHOR

77       Copyright (C) 1991 by Christos Zoulas.
78
79
80
81netpbm documentation           16 December 2009       Ppmdither User Manual(0)
Impressum