Researching PNG Resizing

A lot has been written about resizing PNGs and the comparison of different tools that allow it.

The following are my top picks:

  1. pngquant - fastest of the lot. Also has a node interface
  2. optipng - Changes PNG compression algo
  3. pngnq - Reduces the colorspace used by the PNG image

If not using pngquant, the best result is by first using pngnq to reduce colorspace, and then using optipng to compress it further.


I want to integrate with the current PNG resizer into a on the fly url based resizer. We currently use image resizer which is internally based on sharp. The problem with sharp is that it doesn’t work well with PNGs quality reduction.

Found a very customizable resizer that can probably integrated with pngquant for on the fly PNG quality reduction.


Sahil Ahuja

Posted on


Updated on


Licensed under