blob: fd3eaaa46c30f9baadd3b9dccda219dcf199457a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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>
|