ppmdither Command Examples

Reduce the number of colors in an image by applying dithering. More information: https://netpbm.sourceforge.net/doc/ppmdither.html.

ppmdither {{path/to/image.ppm}} > {{path/to/file.ppm}}

ppmdither {{[-r|-red]}} {{2}} {{[-g|-green]}} {{3}} {{[-b|-blue]}} {{2}} {{path/to/image.ppm}} > {{path/to/file.ppm}}

ppmdither {{[-d|-dim]}} {{2}} {{path/to/image.ppm}} > {{path/to/file.ppm}}