pillow v8.3.0 Release Notes

Release Date: 2021-07-01 // 5 months ago
    • ๐Ÿ–จ Use snprintf instead of sprintf. CVE-2021-34552 #5567 [radarhere]

    • Limit TIFF strip size when saving with LibTIFF #5514 [kmilos]

    • ๐Ÿ‘ Allow ICNS save on all operating systems #4526 [baletu, radarhere, newpanjing, hugovk]

    • De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables #4989 [gofr, radarhere]

    • Replaced xml.etree.ElementTree #5565 [radarhere]

    • ๐Ÿšš Moved CVE image to pillow-depends #5561 [radarhere]

    • โž• Added tag data for IFD groups #5554 [radarhere]

    • ๐Ÿ‘Œ Improved ImagePalette #5552 [radarhere]

    • โž• Add DDS saving #5402 [radarhere]

    • ๐Ÿ‘Œ Improved getxmp() #5455 [radarhere]

    • Convert to float for comparison with float in IFDRational eq #5412 [radarhere]

    • ๐Ÿ‘ Allow getexif() to access TIFF tag_v2 data #5416 [radarhere]

    • Read FITS image mode and size #5405 [radarhere]

    • ๐Ÿ”€ Merge parallel horizontal edges in ImagingDrawPolygon #5347 [radarhere, hrdrq]

    • ๐Ÿ‘‰ Use transparency behind first GIF frame and when disposing to background #5557 [radarhere, zewt]

    • Avoid unstable nature of qsort in Quant.c #5367 [radarhere]

    • Copy palette to new images in ImageOps expand #5551 [radarhere]

    • Ensure palette string matches RGB mode #5549 [radarhere]

    • Do not modify EXIF of original image instance in exif_transpose() #5547 [radarhere]

    • ๐Ÿ›  Fixed default numresolution for small JPEG2000 images #5540 [radarhere]

    • โž• Added DDS BC5 reading #5501 [radarhere]

    • Raise an error if ImageDraw.textbbox is used without a TrueType font #5510 [radarhere]

    • โž• Added ICO saving in BMP format #5513 [radarhere]

    • ๐Ÿ‘€ Ensure PNG seeks to end of previous chunk at start of load_end #5493 [radarhere]

    • ๐Ÿ‘€ Do not allow TIFF to seek to a past frame #5473 [radarhere]

    • Avoid race condition when displaying images with eog #5507 [mconst]

    • โž• Added specific error messages when ink has incorrect number of bands #5504 [radarhere]

    • ๐Ÿ‘ Allow converting an image to a numpy array to raise errors #5379 [radarhere]

    • โœ‚ Removed DPI rounding from BMP, JPEG, PNG and WMF loading #5476, #5470 [radarhere]

    • โœ‚ Remove spikes when drawing thin pieslices #5460 [xtsm]

    • โšก๏ธ Updated default value for SAMPLESPERPIXEL TIFF tag #5452 [radarhere]

    • โœ‚ Removed TIFF DPI rounding #5446 [radarhere, hugovk]

    • Include code in WebP error #5471 [radarhere]

    • Do not alter pixels outside mask when drawing text on an image with transparency #5434 [radarhere]

    • ๐Ÿ‘€ Reset handle when seeking backwards in TIFF #5443 [radarhere]

    • Replace sys.stdout with sys.stdout.buffer when saving #5437 [radarhere]

    • ๐Ÿ›  Fixed UNDEFINED TIFF tag of length 0 being changed in roundtrip #5426 [radarhere]

    • ๐Ÿ›  Fixed bug when checking FreeType2 version if it is not installed #5445 [radarhere]

    • Do not round dimensions when saving PDF #5459 [radarhere]

    • โž• Added ImageOps contain() #5417 [radarhere, hugovk]

    • ๐Ÿ”„ Changed WebP default "method" value to 4 #5450 [radarhere]

    • Switched to saving 1-bit PDFs with DCTDecode #5430 [radarhere]

    • ๐Ÿ‘‰ Use bpp from ICO header #5429 [radarhere]

    • Corrected JPEG APP14 transform value #5408 [radarhere]

    • ๐Ÿ”„ Changed TIFF tag 33723 length to 1 #5425 [radarhere]

    • ๐Ÿ”„ Changed ImageMorph incorrect mode errors to ValueError #5414 [radarhere]

    • โž• Add EXIF tags specified in EXIF 2.32 #5419 [gladiusglad]

    • Treat previous contents of first GIF frame as transparent #5391 [radarhere]

    • โช For special image modes, revert default resize resampling to NEAREST #5411 [radarhere]

    • ๐Ÿ‘ JPEG2000: Support decoding subsampled RGB and YCbCr images #4996 [nulano, radarhere]

    • Stop decoding BC1 punchthrough alpha in BC2&3 #4144 [jansol]

    • ๐Ÿ‘‰ Use zero if GIF background color index is missing #5390 [radarhere]

    • ๐Ÿ›  Fixed ensuring that GIF previous frame was loaded #5386 [radarhere]

    • ๐Ÿ›  Valgrind fixes #5397 [wiredfool]

    • Round down the radius in rounded_rectangle #5382 [radarhere]

    • ๐Ÿ›  Fixed reading uncompressed RGB data from DDS #5383 [radarhere]