logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Quantize PNM Colors - Generate PNM Color Palettes | Online Free DevTools by Hexmos

Quantize images with Pnmquant. Generate PNM color palettes and reduce the number of colors in PNM images. Free online tool, no registration required.

pnmquant

Quantize the colors in a PNM image into a smaller set. This command is a combination of pnmcolormap and pnmremap and accepts the union of their options, except -mapfile. See also: pnmquantall. More information: https://netpbm.sourceforge.net/doc/pnmquant.html.

  • Generate an image using only n_colors or less colors as close as possible to the input image:

pnmquant {{n_colors}} {{path/to/input.pnm}} > {{path/to/output.pnm}}

See Also