From 1017cbebe5d5edd859e0fddad0a8600f509f4821 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 25 Dec 2006 03:06:05 +0000 Subject: Place user guide into Subversion repository git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@181 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pnmquant.html | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 pnmquant.html (limited to 'pnmquant.html') diff --git a/pnmquant.html b/pnmquant.html new file mode 100644 index 00000000..cf97e37a --- /dev/null +++ b/pnmquant.html @@ -0,0 +1,76 @@ + +Pnmquant User Manual + +

pnmquant

+Updated: 22 October 2003 +
+Table Of Contents + +  +

NAME

+pnmquant - 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

+ +

This program is part of Netpbm. + +

pnmquant reads a PNM image as input. It chooses ncolors +colors to best represent the image, maps the existing colors +to the new ones, and writes a PNM image as output. + +

This program is simply a combination of pnmcolormap and +pnmremap, where the colors of the input are remapped using a +color map which is generated from the colors in that same input. The +options have the same meaning as in those programs. See their +documentation to understand pnmquant. + +

It is much faster to call pnmcolormap and pnmremap +directly than to run pnmquant. You save the overhead of the +Perl interpreter and creating two extra processes. pnmquant is +just a convenience. + +

pnmquant did not exist before Netpbm 9.21 (January 2001). +Before that, ppmquant did the same thing, but only on PPM +images. ppmquant continues to exist, but is only a front end +(for name compatibility) to pnmquant. + +  +

SEE ALSO

+ +pnmcolormap, +pnmremap, +ppmquantall, +pamdepth, +ppmdither, +ppmquant, +pnm + +
+  +

Table Of Contents

+ + + -- cgit 1.4.1