imagemin / imagemin-pngquant

Imagemin plugin for `pngquant`
MIT License
316 stars 81 forks source link

Support size as target parallel to quality #61

Open mkg20001 opened 5 years ago

mkg20001 commented 5 years ago

It would be cool if instead of specifying a target quality, one could instead also specify a target size

This would possibly involve running multiple iterations of pngquant with different parameters automatically to get a result that does not exceed the target size.