5.1.0

New File Format

BLP File Format

Pillow now supports reading the BLP “Blizzard Mipmap” file format usedfor tiles in Blizzard’s engine.

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 extrachannels if the content is tagged as UNSPECIFIED. Pillow still doesnot store more than 4 8-bit channels of image data.

Append to PDF Files

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

Other Changes

WebP memory leak

A memory leak when opening WebP files has been fixed.