imagemin / imagemin-guetzli

imagemin plugin for guetzli https://github.com/google/guetzli
MIT License
81 stars 9 forks source link

Ignore png #9

Open huaigu opened 7 years ago

huaigu commented 7 years ago

I think it's better that we add an option to ignore png files because guetzli can not deal with transparency.

sindresorhus commented 6 years ago

because guetzli can not deal with transparency.

Can you link to a source for that?

ciampo commented 6 years ago

From https://github.com/google/guetzli

Please note that JPEG images do not support alpha channel (transparency). If the input is a PNG with an alpha channel, it will be overlaid on black background before encoding.