1
2PNGNQ(1)                         User Manuals                         PNGNQ(1)
3
4
5

NAME

7       pngnq - quantize png images
8

SYNOPSIS

10       pngnq  [-vfhV][-s  sample_factor  ][-e  extension  ][-d dir ][-n colors
11       inputfiles
12

DESCRIPTION

14       pngnq Quantizes a 32-bit RGBA PNG image to an 8 bit  RGBA  palette  PNG
15       using  the  neuquant  algorithm. The output file name is the input file
16       name extended with "-nq8.png" or a specified extension.
17
18

OPTIONS

20       -v     Verbose mode. Prints status messages.
21
22       -f     Force ovewriting of files.
23
24       -s sample factor
25              Sample factor. The neuquant algorithm samples pixels stepping by
26              this  value.   The default value of 3 gives good results. Higher
27              values sample less of the image pixels and thus are  faster  but
28              less accurate. A factor of 1 samples every image pixel.
29
30       -n colors
31              Specifies  the  number of colors to quantize to. Defaults to 256
32              which is the maximum.  The minimum here is 2.
33
34       -e extension
35              Specifies the new filename extension.  Defaults  to  "-nq8.png".
36              Pngnq  drops  .png  from  the original filenames. If you set the
37              argument of the -e option to .png and choose the -f  option  the
38              input file will be overwritten.
39
40       -d dir Tells  pngnq  to  put output files in a directory other than the
41              one the input files are in.
42
43       input files
44              The png files to be processed. Defaults to standard input if not
45              specified.   If  standard input is being processed the output is
46              sent to standard output.
47
48       -h     Print program help.
49
50       -V     Print version number and library versions.
51
52

BUGS

54       None known at this time.
55
56

AUTHOR

58       Stuart Coyle <stuart@cybertherial.com>
59

SEE ALSO

61       png(5)
62
63
64
65Linux                            NOVEMBER 2007                        PNGNQ(1)
Impressum