Features
- New
background_color
filter (thanks @hermanmaritz – #875) - Enable
xheaders
for Tornado, allowing discovery of the true client IP at the Thumbor level when behind a proxy (thanks @gi11es – #847) - Allow specifying
validate_cert
to Tornado via the newHTTP_LOADER_VALIDATE_CERTS
config variable (default isNone
) (thanks @kkopachev – #751) - Allow specifying PNG compression level by means of the
PNG_COMPRESSION_LEVEL
config variable (default is6
) (thanks @dkhabarov – #825)
Fixes / Improvements
- Fix reorientation when no Exif information is available (thanks @seffenberg-naspers – #849)
- Fix a quality loss issue by removing the
draft
option so PNGs get colorspace converted before resizing operations (thanks @okor – #858) - Convert 1bit PNGs before resizing (thanks @kevin1024 – #859)
- Make
Transformer.smart_detect()
a coroutine and fix issues with S3 storage (thanks @mpilar and @decebal – #859, #721 and #722) - Improve SVG detection and conversion
- Improve the
distributed_collage
filter - Fix unhandled
'NoneType' object has no attribute 'mode'
detector exceptions (thanks @mvdklip – #841) - Return
400 - Bad Request
on watermark errors (thanks @noamsml and @nerdrew – #854) - Convert indexed color images back to their original mode after resizing (thanks @okor – #873)
- Do not hang request on
Engine.read()
exceptions (thanks @savar – #871) - Do not hang request on
Storage.get()
exceptions