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

NAME

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

SYNOPSIS

11       pnmquantall
12
13       [-ext extension] ncolors netpbm_file...
14
15       Note that the usual syntax rules for Netpbm  programs  don't  apply  to
16       this program.  For example, you can't abbreviate -ext and you can't put
17       it anywhere on the line you want.
18
19
20

DESCRIPTION

22       This program is part of Netpbm(1).
23
24       pnmquantall takes a bunch of Netpbm image files as input, chooses ncol‐
25       ors  colors to best represent all of the images, maps the existing col‐
26       ors to the new ones, and overwrites the input files with the new  quan‐
27       tized versions.
28
29       If  you  don't want to overwrite your input files, use the -ext option.
30       The output files are then named the same as the  input  files,  plus  a
31       period and the extension text you specify.
32
33       The purpose is this: Let's say you've got a dozen PPMs that you want to
34       display on the screen all at the same time.  Your screen can only  dis‐
35       play  256  different colors, but the PPMs have a total of a thousand or
36       so different colors.  For a single image you solve  this  problem  with
37       pnmquant; pnmquantall solves it for multiple images.
38
39       Note  that  another  approach to this problem is to pre-select a set of
40       colors and then use pnmremap to separately quantize each  PPM  to  that
41       set.)
42
43       This is a rather simple program that runs pnmcolormap and pnmremap.  If
44       you are considering using it in a program of  any  sophistication,  you
45       should probably just run those programs directly.  Even if you are typ‐
46       ing it, you may want to do the steps  manually  because  it  gives  you
47       access to the various options of pnmcolormap and pnmremap for doing the
48       quantization differently.
49
50
51

OPTIONS

53       pnmquantall recognizes the following command line option:
54
55
56
57       -ext extension
58              Specify an extension for the output files.  By default the input
59              files are overwritten.
60
61
62       pnmquantall does not recognize the options common to all programs based
63       on libnetpbm (See
64        Common Options ⟨index.html#commonoptions⟩ .)   However,  the  -version
65       option works.
66
67

SEE ALSO

69       pnmquant(1), pnmremap(1), pnmcolormap(1), pnm(1)
70

DOCUMENT SOURCE

72       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
73       source.  The master documentation is at
74
75              http://netpbm.sourceforge.net/doc/pnmquantall.html
76
77netpbm documentation             05 March 2012      Pnmquantall User Manual(0)
Impressum