Linux Commands Examples

A great documentation place for Linux commands


8 plane quantization


ppmqvga [ options ] [ input file ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



ppmqvga -d my_image.ppm | ppmtogif >my_image.gif

tgatoppm zombie.tga | ppmqvga | ppmtotif > zombie.tif


ppmqvga quantizes PPM files to 8 planes, with optional Floyd-Steinberg dithering. Input is a PPM file from the file named, or standard input of no file is provided.

dither. Apply Floyd-Steinberg dithering to the data

-q quiet. Produces no progress reporting, and no terminal output unless and error occurs.

-v verbose. Produces additional output describing the number of colors found, and some information on the resulting mapping. May be repeated to generate loads of internal table output, but generally only useful once.


Copyright 1991,1992 by Bill Davidsen, all rights reserved. The program and documentation may be freely distributed by anyone in source or binary format. Please clearly note any changes.


Error messages if problems, various levels of optional progress reporting.


none known.

see also



Original by Lyle Rains (lrains[:at:]netcom[:dot:]com) as ppmq256 and ppmq256fs combined, documented, and enhanced by Bill Davidsen (davidsen[:at:][:dot:]com)

How can this site be more helpful to YOU ?

give  feedback