blob: cdb7e67476a27a3d7b67ea0a5c37c075f66d2d6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Ppmquantall User Manual</TITLE></HEAD>
<BODY>
<H1>ppmquantall</H1>
Updated: 27 July 1990
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
ppmquantall - run Pnmquant on a bunch of files all at once, so they
share a common colormap
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>ppmquantall</B>
[<B>-ext</B> <I>extension</I>] <I>ncolors</i> <i>ppmfile</I>...
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><b>ppmquantall</b> takes a bunch of PPM images as input, chooses
<I>ncolors</I> colors to best represent all of the images, maps the
existing colors to the new ones, and <strong>overwrites the input
files</strong> with the new quantized versions.
<P>If you don't want to overwrite your input files, use the
<B>-ext</B> option. The output files are then named the same as the
input files, plus a period and the extension text you specify.
<P>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 <b>pnmquant</b>; <b>ppmquantall</b> solves it for
multiple PPMs. All it does is concatenate them together into one big
PPM, run <b>pnmquant</b> on that, and then split it up into little
PPMs again.
<P>(Note that another way to solve this problem is to pre-select a set
of colors and then use <b>pnmremap</b> to separately quantize each PPM
to that set.)
<A NAME="lbAE"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="pnmquant.html">pnmquant</A></B>,
<B><A HREF="pnmremap.html">pnmremap</A></B>,
<B><A HREF="pnmcolormap.html">pnmcolormap</A></B>,
<B><A HREF="ppm.html">ppm</A></B>
<A NAME="lbAG"> </A>
<H2>AUTHOR</H2>
Copyright (C) 1991 by Jef Poskanzer.
<HR>
<A NAME="index"> </A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">SEE ALSO</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>
|