home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
netpbm_docs.lzh
/
NETPBM
/
DOCS
/
ppmquantall.1
< prev
next >
Wrap
Text File
|
1996-11-18
|
2KB
|
49 lines
.TH ppmquantall 1 "27 July 1990"
.IX ppmquantall
.SH NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
.SH SYNOPSIS
.B ppmquantall
.I ncolors ppmfile
.RI ...
.SH DESCRIPTION
Takes a bunch of portable pixmap as input.
Chooses
.I ncolors
colors to best represent all of the images, maps the
existing colors to the new ones, and
.B overwrites the input files
with the new quantized versions.
.IX "colormap reduction"
.PP
Verbose explanation: Let's say you've got a dozen pixmaps that you want
to display on the screen all at the same time. Your screen can only
display 256 different colors, but the pixmaps have a total of a thousand
or so different colors. For a single pixmap you solve this problem with
.IR ppmquant ;
.IX ppmquant
this script solves it for multiple pixmaps. All it does is
concatenate them together into one big pixmap, run
.I ppmquant
on that, and then split it up into little pixmaps again.
.PP
(Note that another way to solve this problem is to pre-select a set of
colors and then use
.IR ppmquant 's
.B -map
option to separately quantize each pixmap to that set.)
.SH "SEE ALSO"
ppmquant(1), ppm(5)
.SH BUGS
It's a csh script.
Csh scripts are not portable to System V.
Scripts in general are not portable to non-Unix environments.
.SH AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
.\" Permission to use, copy, modify, and distribute this software and its
.\" documentation for any purpose and without fee is hereby granted, provided
.\" that the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation. This software is provided "as is" without express or
.\" implied warranty.