|
Packit |
78deda |
|
|
Packit |
78deda |
<HTML><HEAD><TITLE>Ppmquant User Manual</TITLE></HEAD>
|
|
Packit |
78deda |
<BODY>
|
|
Packit |
78deda |
ppmquant
|
|
Packit |
78deda |
Updated: 22 October 2003
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Table Of Contents
|
|
Packit |
78deda |
|
|
Packit |
78deda |
NAME
|
|
Packit |
78deda |
ppmquant - quantize the colors in a PPM image down to a specified number
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SYNOPSIS
|
|
Packit |
78deda |
|
|
Packit |
78deda |
ppmquant
|
|
Packit |
78deda |
[-floyd|-fs]
|
|
Packit |
78deda |
ncolors
|
|
Packit |
78deda |
[ppmfile]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
ppmquant
|
|
Packit |
78deda |
[-floyd|-fs]
|
|
Packit |
78deda |
[-nofloyd|-nofs]
|
|
Packit |
78deda |
-mapfile
|
|
Packit |
78deda |
mapfile
|
|
Packit |
78deda |
[ppmfile]
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
All options can be abbreviated to their shortest unique prefix. You
|
|
Packit |
78deda |
may use two hyphens instead of one to designate an option. You may
|
|
Packit |
78deda |
use either white space or equals signs between an option name and its
|
|
Packit |
78deda |
value.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
DESCRIPTION
|
|
Packit |
78deda |
|
|
Packit |
78deda |
This program is part of Netpbm.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
ppmquant is obsolete. All it does now is invoke
|
|
Packit |
78deda |
pnmquant or pnmremap. You should use one of those
|
|
Packit |
78deda |
programs in any new program, or if you are modifying an old program,
|
|
Packit |
78deda |
and your program does not have to work with a version of Netpbm before
|
|
Packit |
78deda |
9.21 (January 2001). ppmquant exists only for name
|
|
Packit |
78deda |
compatibility.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
pnmquant is fully backward compatible with ppmquant
|
|
Packit |
78deda |
without the -mapfile option; pnmremap is fully
|
|
Packit |
78deda |
backward compatible with ppmquant with the
|
|
Packit |
78deda |
-mapfile option.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Except with differences suggested by the syntax synopsis above,
|
|
Packit |
78deda |
ppmquant's function is the same as pnmquant and
|
|
Packit |
78deda |
pnmremap.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Before Netpbm 10.19 (November 2003), ppmquant was a completely
|
|
Packit |
78deda |
separate program from pnmquant, and was a bona fide PPM program.
|
|
Packit |
78deda |
That means if you gave it a PGM or PBM image as input, it would process it
|
|
Packit |
78deda |
as if it were PPM and generate a PPM output. Now, since it is really a
|
|
Packit |
78deda |
PNM program, it processes PBM and PGM inputs as what they are and produces
|
|
Packit |
78deda |
the same kind of output.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Note: The reason ppmquant was changed in Netpbm 10.19 is
|
|
Packit |
78deda |
that for some time before that, ppmquant had a serious bug that
|
|
Packit |
78deda |
would have been difficult to fix -- it chose the wrong color set.
|
|
Packit |
78deda |
Maintaining two versions of the same code did not make sense.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SEE ALSO
|
|
Packit |
78deda |
pnmquant,
|
|
Packit |
78deda |
pnmremap,
|
|
Packit |
78deda |
pnmcolormap,
|
|
Packit |
78deda |
pamseq,
|
|
Packit |
78deda |
ppm
|
|
Packit |
78deda |
|
|
Packit |
78deda |
AUTHOR
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Copyright (C) 1989, 1991 by Jef Poskanzer.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
|
|
Packit |
78deda |
Table Of Contents
|
|
Packit |
78deda |
|
|
Packit |
78deda |
SYNOPSIS
|
|
Packit |
78deda |
DESCRIPTION
|
|
Packit |
78deda |
SEE ALSO
|
|
Packit |
78deda |
AUTHOR
|
|
Packit |
78deda |
|
|
Packit |
78deda |
</BODY>
|
|
Packit |
78deda |
</HTML>
|