VOOZH about

URL: https://manpages.org/pnmquant

⇱ man pnmquant (1): quantize the colors in a Netpbm image to a smaller set


pnmquant(1) quantize the colors in a Netpbm image to a smaller set

SYNOPSIS

pnmquant [-center|-meancolor|-meanpixel] [-floyd|-fs] [-nofloyd|-nofs] [-spreadbrightness|-spreadluminosity] ncolors [pnmfile]

All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or equals signs between an option name and its value.

DESCRIPTION

Reads a PNM image as input. Chooses ncolors colors to best represent the image, maps the existing colors to the new ones, and writes a PNM image as output.

AUTHOR

Written by Bryan Henderson