-oout.png, --outputout.png
Writes converted file to the given path. When this option is used only single input file is
allowed.
--extnew.png
File extension (suffix) to use for output files instead of the default ‘-fs8.png’ or ‘-or8.png’.
-f, --force
Overwrite existing output files. “--ext.png--force” can be used to convert files in place
(which is unsafe).
--nofs, --ordered
Disable Floyd-Steinberg dithering.
--floyd [=N]
Set dithering level using fractional number between 0 (none) and 1 (full, the default).
-sN, --speedN1 (brute-force) to 11 (fastest). The default is 3. Speed 10 has 5% lower quality, but is about
8 times faster than the default. Speed 11 disables dithering and lowers compression level.
-Qmin-max, --qualitymin-maxmin and max are numbers in range 0 (worst) to 100 (perfect), similar to JPEG. pngquant will use
the least amount of colors required to meet or exceed the max quality. If conversion results in
quality below the min quality the image won't be saved (or if outputting to stdin, 24-bit
original will be output) and pngquant will exit with status code 99.
--skip-if-larger
If conversion results in a file larger than the original, the image won't be saved and pngquant
will exit with status code 98. Additionally, file size gain must be greater than the amount of
quality lost. If quality drops by 50%, it will expect 50% file size reduction to consider it
worthwhile.
--posterizebits
Truncate number of least significant bits of color (per channel). Use this when image will be
output on low-depth displays (e.g. 16-bit RGB). pngquant will make almost-opaque pixels fully
opaque and will reduce amount of semi-transparent colors. When this option is enabled the
default filename suffix is ‘-ie-fs8.png’ / ‘-ie-or8.png’.
--strip Remove optional chunks (metadata) from PNG files.
--transbug
Workaround for readers that expect fully transparent color to be the last entry in the palette.
-v, --verbose
Enable verbose messages showing progress and information about input/output. Opposite is
--quiet. Errors are output to stderr regardless of this option.
-V, --version
Display version on stdout and exit.
-h, --help
Display help and exit.