Back to Pillow

5.1.0

docs/releasenotes/5.1.0.rst

12.2.0799 B
Original Source

5.1.0

API changes

Optional channels for TIFF files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Pillow can now open TIFF files with base modes of RGB, YCbCr, and CMYK with up to 6 8-bit channels, discarding any extra channels if the content is tagged as UNSPECIFIED. Pillow still does not store more than 4 8-bit channels of image data.

API additions

Append to PDF files ^^^^^^^^^^^^^^^^^^^

Images can now be appended to PDF files in place by passing in append=True when saving the image.

New BLP file format ^^^^^^^^^^^^^^^^^^^

Pillow now supports reading the BLP "Blizzard Mipmap" file format used for tiles in Blizzard's engine.

Other changes

WebP memory leak ^^^^^^^^^^^^^^^^

A memory leak when opening WebP files has been fixed.