pillow v9.2.0 Release Notes

Release Date: 2022-07-01 // 7 months ago
    • ๐ŸŽ Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

    • ๐Ÿ—„ Deprecate ImageFont.getsize and related functions #6381 [nulano, radarhere]

    • ๐Ÿ”– Fixed null check for fribidi_version_info in FriBiDi shim #6376 [nulano]

    • โž• Added GIF decompression bomb check #6402 [radarhere]

    • ๐Ÿ– Handle PCF fonts files with less than 256 characters #6386 [dawidcrivelli, radarhere]

    • ๐Ÿ‘Œ Improved GIF optimize condition #6378 [raygard, radarhere]

    • Reverted to array_interface with the release of NumPy 1.23 #6394 [radarhere]

    • Pad PCX palette to 768 bytes when saving #6391 [radarhere]

    • ๐Ÿ›  Fixed bug with rounding pixels to palette colors #6377 [btrekkie, radarhere]

    • ๐Ÿง Use gnome-screenshot on Linux if available #6361 [radarhere, nulano]

    • ๐Ÿ›  Fixed loading L mode BMP RLE8 images #6384 [radarhere]

    • ๐Ÿ›  Fixed incorrect operator in ImageCms error #6370 [LostBenjamin, hugovk, radarhere]

    • Limit FPX tile size to avoid extending outside image #6368 [radarhere]

    • โž• Added support for decoding plain PPM formats #5242 [Piolie, radarhere]

    • โž• Added apply_transparency() #6352 [radarhere]

    • ๐Ÿ›  Fixed behaviour change from endian fix #6197 [radarhere]

    • ๐Ÿ‘ Allow remapping P images with RGBA palettes #6350 [radarhere]

    • ๐Ÿ›  Fixed drawing translucent 1px high polygons #6278 [radarhere]

    • Pad COLORMAP to 768 items when saving TIFF #6232 [radarhere]

    • ๐Ÿ›  Fix P -> PA conversion #6337 [RedShy, radarhere]

    • ๐Ÿ“œ Once exif data is parsed, do not reload unless it changes #6335 [radarhere]

    • Only try to connect discontiguous corners at the end of edges #6303 [radarhere]

    • ๐Ÿ‘Œ Improve transparency handling when saving GIF images #6176 [radarhere]

    • โšก๏ธ Do not update GIF frame position until local image is found #6219 [radarhere]

    • Netscape GIF extension belongs after the global color table #6211 [radarhere]

    • Only write GIF comments at the beginning of the file #6300 [raygard, radarhere]

    • Separate multiple GIF comment blocks with newlines #6294 [raygard, radarhere]

    • Always use GIF89a for comments #6292 [raygard, radarhere]

    • Ignore compression value from BMP info dictionary when saving as TIFF #6231 [radarhere]

    • If font is file-like object, do not re-read from object to get variant #6234 [radarhere]

    • Raise ValueError when trying to access internal fp after close #6213 [radarhere]

    • ๐Ÿ‘Œ Support more affine expression forms in im.point() #6254 [benrg, radarhere]

    • Populate Python palette in fromarray() #6283 [radarhere]

    • Raise ValueError if PNG chunks are truncated #6253 [radarhere]

    • 0๏ธโƒฃ Use durations from each frame by default when saving GIFs #6265 [radarhere]

    • Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL when opening TIFFs #6270 [radarhere]

    • Search pkgconf system libs/cflags #6138 [jameshilliard, radarhere]

    • Raise ValueError for invalid PPM maxval #6242 [radarhere]

    • Corrected screencapture argument in ImageGrab.grab() #6244 [axt-one]

    • ๐Ÿ—„ Deprecate support for Qt 5 (PyQt5 and PySide2) #6237 [hugovk, radarhere]

    • ๐Ÿ Increase wait time of temporary file deletion on Windows #6224 [AlexTedeschi]

    • ๐Ÿ—„ Deprecate FreeTypeFont.getmask2 fill parameter #6220 [nulano, radarhere, hugovk]

    • Round lut values where necessary #6188 [radarhere]

    • Load before getting size in resize() #6190 [radarhere]

    • Load image before performing size calculations in thumbnail() #6186 [radarhere]

    • ๐Ÿ—„ Deprecated PhotoImage.paste() box parameter #6178 [radarhere]