Changelog
There's an automated conversion from PNG to JPEG if the source image has no transparency. In order to enable this feature, there's a new flag called AUTO_PNG_TO_JPG
that must be set to True
in your thumbor.conf file.
WARNING
Enabling this behavior may lead to degradation of the image, or increase in final size. Usually images with texts, or dark images may experience this behavior. You should evaluate that this is a good choice for your own use case. At globo.com, we deal mostly with photos and this category of images renders itself very well to this type of conversion.
Features
- Enabling auto PNG to JPEG conversion (@caeugusmao) (@rfloriano)
Tks @heynemann and @kkopachev for conversations and suggestions!