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:
- pngquant - fastest of the lot. Also has a node interface
- optipng - Changes PNG compression algo
- 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.
ToDo
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.
Researching PNG Resizing