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

NAME

6       ppmquantall  -  run  Pnmquant  on a bunch of files all at once, so they
7       share a common colormap
8
9

SYNOPSIS

11       ppmquantall
12
13       [-ext extension] ncolors ppmfile...
14
15

DESCRIPTION

17       This program is part of Netpbm(1).
18
19       ppmquantall takes a bunch of PPM images as input, chooses ncolors  col‐
20       ors  to  best  represent all of the images, maps the existing colors to
21       the new ones, and overwrites the input files  with  the  new  quantized
22       versions.
23
24       If  you  don't want to overwrite your input files, use the -ext option.
25       The output files are then named the same as the  input  files,  plus  a
26       period and the extension text you specify.
27
28       Verbose explanation: Let's say you've got a dozen PPMs that you want to
29       display on the screen all at the same time.  Your screen can only  dis‐
30       play  256  different colors, but the PPMs have a total of a thousand or
31       so different colors.  For a single PPM  you  solve  this  problem  with
32       pnmquant; ppmquantall solves it for multiple PPMs.  All it does is con‐
33       catenate them together into one big PPM, run pnmquant on that, and then
34       split it up into little PPMs again.
35
36       (Note  that another way to solve this problem is to pre-select a set of
37       colors and then use pnmremap to separately quantize each  PPM  to  that
38       set.)
39
40

SEE ALSO

42       pnmquant(1), pnmremap(1), pnmcolormap(1), ppm(1)
43
44

AUTHOR

46       Copyright (C) 1991 by Jef Poskanzer.
47
48
49
50netpbm documentation             27 July 1990       Ppmquantall User Manual(0)
Impressum