Annotated edit history of
ppmquantall(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ppmquantall |
|
|
2 |
!!!ppmquantall |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
BUGS |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__ppmquantall__ [[__-ext__ ''extension''] ''ncolors |
|
|
18 |
ppmfile'' ... |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Takes a bunch of portable pixmap as input. Chooses |
|
|
23 |
''ncolors'' colors to best represent all of the images, |
|
|
24 |
maps the existing colors to the new ones, and __overwrites |
|
|
25 |
the input files__ with the new quantized |
|
|
26 |
versions. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
If you don't want to overwrite your input files, use the |
|
|
30 |
__-ext__ option. The output files are then named the same |
|
|
31 |
as the input files, plus a period and the extension text you |
|
|
32 |
specify. |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
Verbose explanation: Let's say you've got a dozen pixmaps |
|
|
36 |
that you want to display on the screen all at the same time. |
|
|
37 |
Your screen can only display 256 different colors, but the |
|
|
38 |
pixmaps have a total of a thousand or so different colors. |
|
|
39 |
For a single pixmap you solve this problem with |
|
|
40 |
''ppmquant''; this script solves it for multiple pixmaps. |
|
|
41 |
All it does is concatenate them together into one big |
|
|
42 |
pixmap, run ''ppmquant'' on that, and then split it up |
|
|
43 |
into little pixmaps again. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
(Note that another way to solve this problem is to |
|
|
47 |
pre-select a set of colors and then use ''ppmquant'''s |
|
|
48 |
__-map__ option to separately quantize each pixmap to |
|
|
49 |
that set.) |
|
|
50 |
!!SEE ALSO |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
ppmquant(1), __ppm(5)__ |
|
|
54 |
!!BUGS |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
It's a csh script. Csh scripts are not portable to System V. |
|
|
58 |
Scripts in general are not portable to non-Unix |
|
|
59 |
environments. |
|
|
60 |
!!AUTHOR |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
Copyright (C) 1991 by Jef Poskanzer. |
|
|
64 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.