Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/ppmquantall.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Ppmquantall User Manual
.SH 1
ppmquantall
.LP
Updated: 27 July 1990
.br
Table Of Contents
.SH 2
NAME
.LP
ppmquantall - run ppmquant on a bunch of files all at once, so they
share a common colormap
.SH 2
SYNOPSIS
.LP
\fBppmquantall\fR
[\fB-ext\fR \fIextension\fR]
\fIncolors\fR
\fIppmfile\fR ...
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBppmquantall\fR takes a bunch of PPM images as input, chooses
\fIncolors\fR colors to best represent all of the images, maps the
existing colors to the new ones, and overwrites the input
files with the new quantized versions.
.LP
If you don't want to overwrite your input files, use the
\fB-ext\fR option.  The output files are then named the same as the
input files, plus a period and the extension text you specify.
.LP
Verbose explanation: Let's say you've got a dozen PPMs that you
want to display on the screen all at the same time.  Your screen can
only display 256 different colors, but the PPMs have a total of a
thousand or so different colors.  For a single PPM you solve this
problem with \fBpnmquant\fR; \fBppmquantall\fR solves it for
multiple PPMs.  All it does is concatenate them together into one big
PPM, run \fBpnmquant\fR on that, and then split it up into little
PPMs again.
.LP
(Note that another way to solve this problem is to pre-select a set
of colors and then use \fBpnmremap\fR to separately quantize each PPM
to that set.)
.SH 2
SEE ALSO
.LP
\fBpnmquant\fR,
\fBpnmremap\fR,
\fBpnmcolormap\fR,
\fBppm\fR
.SH 2
AUTHOR
.LP
Copyright (C) 1991 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.