Linux Commands Examples

A great documentation place for Linux commands

ppmdither

ordered dither for color images


see also : pnmdepth - ppmquant

Synopsis

ppmdither [-dim power] [-red shades] [-green shades] [-blue shades] [ppmfile]


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!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

Reads a portable pixmap as input, and applies dithering to it to reduce the number of colors used down to the specified number of shades for each primary. The default number of shades is red=5, green=9, blue=5, for a total of 225 colors. To convert the image to a binary rgb format suitable for color printers, use -red 2 -green 2 -blue 2.

options

-dim power

The size of the dithering matrix. The dithering matrix is a square whose dimension is a power of 2. power is that power of 2. The default is 4, for a 16 by 16 matrix.

-red shades

The number of red shades to be used, including black; minimum of 2.

-green shades

The number of green shades to be used, including black; minimum of 2.

-blue shades

The number of blue shades to be used, including black; minimum of 2.


see also

pnmdepth , ppmquant , ppm


author

Copyright (C) 1991 by Christos Zoulas.

How can this site be more helpful to YOU ?


give  feedback