pngquant, 2.12.0 (January 2018), by Kornel Lesinski, Greg Roelofs. Color profiles are supported via Little CMS. Using libpng 1.6.35. usage: pngquant [options] [ncolors] -- pngfile [pngfile ...] pngquant [options] [ncolors] - >stdout except that it adds an annoying "-fs8" to the end of the filename.<*** To prevent pngquant from doing that, add an -ext .png to the command. EXAMPLE: Batch convert an entire folder from 200 ppi to 72 ppi and compress: pngquant -f --ext .png *.png You can also use the command line version of pngquant in scripts, using the redirection operators. If you pass the special output path "-" and a single input file, that file will be processed and the quantized image will go to stdout. The default behavior if the output file exists is to skip the conversion; use --force to overwrite.