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

NAME

6       ppmquant  - quantize the colors in a PPM image down to a specified num‐
7       ber
8
9

SYNOPSIS

11       ppmquant   [-floyd|-fs]   ncolors   [ppmfile]   ppmquant   [-floyd|-fs]
12       [-nofloyd|-nofs] -mapfile mapfile [ppmfile]
13
14

DESCRIPTION

16       This program is part of Netpbm(1).
17
18       ppmquant  is obsolete.  All it does now is invoke pnmquant or pnmremap.
19       You should use one of those programs in any new program, or if you  are
20       modifying an old program, and your program does not have to work with a
21       version of Netpbm before 9.21 (January 2001).  ppmquant exists only for
22       name compatibility.
23
24       pnmquant  is  fully backward compatible with ppmquant without the -map‐
25       file option; pnmremap is fully backward compatible with  ppmquant  with
26       the -mapfile option.
27
28       All  options  can  be abbreviated to their shortest unique prefix.  You
29       may use two hyphens instead of one to designate an option.  You may use
30       either  white  space  or  equals  signs  between an option name and its
31       value.
32
33       Except  with  differences  suggested  by  the  syntax  synopsis  above,
34       ppmquant's function is the same as pnmquant and pnmremap.
35
36       Before Netpbm 10.19 (November 2003), ppmquant was a completely separate
37       program from pnmquant, and was a bona fide PPM program.  That means  if
38       you  gave  it a PGM or PBM image as input, it would process it as if it
39       were PPM and generate a PPM output.  Now, since it is really a PNM pro‐
40       gram, it processes PBM and PGM inputs as what they are and produces the
41       same kind of output.
42
43       Note: The reason ppmquant was changed in Netpbm 10.19 is that for  some
44       time  before that, ppmquant had a serious bug that would have been dif‐
45       ficult to fix -- it chose the wrong color set.   Maintaining  two  ver‐
46       sions of the same code did not make sense.
47
48

SEE ALSO

50       pnmquant(1), pnmremap(1), pnmcolormap(1), pamseq(1), ppm(1)
51
52

AUTHOR

54       Copyright (C) 1989, 1991 by Jef Poskanzer.
55
56
57
58netpbm documentation            22 October 2003        Ppmquant User Manual(0)
Impressum