Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ppmquantall(1)
Edit
PageHistory
Diff
Info
LikePages
ppmquantall !!!ppmquantall NAME SYNOPSIS DESCRIPTION SEE ALSO BUGS AUTHOR ---- !!NAME ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap !!SYNOPSIS __ppmquantall__ [[__-ext__ ''extension''] ''ncolors ppmfile'' ... !!DESCRIPTION Takes a bunch of portable pixmap as input. Chooses ''ncolors'' colors to best represent all of the images, maps the existing colors to the new ones, and __overwrites the input files__ with the new quantized versions. If you don't want to overwrite your input files, use the __-ext__ option. The output files are then named the same as the input files, plus a period and the extension text you specify. 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 ''ppmquant''; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run ''ppmquant'' on that, and then split it up into little pixmaps again. (Note that another way to solve this problem is to pre-select a set of colors and then use ''ppmquant'''s __-map__ option to separately quantize each pixmap to that set.) !!SEE ALSO ppmquant(1), __ppm(5)__ !!BUGS It's a csh script. Csh scripts are not portable to System V. Scripts in general are not portable to non-Unix environments. !!AUTHOR Copyright (C) 1991 by Jef Poskanzer. ----
4 pages link to
ppmquantall(1)
:
pbmfilters(1)
ppmquant(1)
Man1p
ppm(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.