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