python-pillow/Pillow (Pillow)
### [`v10.0.0`](https://togithub.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1000-2023-07-01)
[Compare Source](https://togithub.com/python-pillow/Pillow/compare/9.5.0...10.0.0)
- Fixed deallocating mask images [#7246](https://togithub.com/python-pillow/Pillow/issues/7246)
\[radarhere]
- Added ImageFont.MAX_STRING_LENGTH [#7244](https://togithub.com/python-pillow/Pillow/issues/7244)
\[radarhere, hugovk]
- Fix Windows build with pyproject.toml [#7230](https://togithub.com/python-pillow/Pillow/issues/7230)
\[hugovk, nulano, radarhere]
- Do not close provided file handles with libtiff [#7199](https://togithub.com/python-pillow/Pillow/issues/7199)
\[radarhere]
- Convert to HSV if mode is HSV in getcolor() [#7226](https://togithub.com/python-pillow/Pillow/issues/7226)
\[radarhere]
- Added alpha_only argument to getbbox() [#7123](https://togithub.com/python-pillow/Pillow/issues/7123)
\[radarhere. hugovk]
- Prioritise speed in *repr_png* [#7242](https://togithub.com/python-pillow/Pillow/issues/7242)
\[radarhere]
- Do not use CFFI access by default on PyPy [#7236](https://togithub.com/python-pillow/Pillow/issues/7236)
\[radarhere]
- Limit size even if one dimension is zero in decompression bomb check [#7235](https://togithub.com/python-pillow/Pillow/issues/7235)
\[radarhere]
- Use --config-settings instead of deprecated --global-option [#7171](https://togithub.com/python-pillow/Pillow/issues/7171)
\[radarhere]
- Better C integer definitions [#6645](https://togithub.com/python-pillow/Pillow/issues/6645)
\[Yay295, hugovk]
- Fixed finding dependencies on Cygwin [#7175](https://togithub.com/python-pillow/Pillow/issues/7175)
\[radarhere]
- Changed grabclipboard() to use PNG instead of JPG compression on macOS [#7219](https://togithub.com/python-pillow/Pillow/issues/7219)
\[abey79, radarhere]
- Added in_place argument to ImageOps.exif_transpose() [#7092](https://togithub.com/python-pillow/Pillow/issues/7092)
\[radarhere]
- Fixed calling putpalette() on L and LA images before load() [#7187](https://togithub.com/python-pillow/Pillow/issues/7187)
\[radarhere]
- Fixed saving TIFF multiframe images with LONG8 tag types [#7078](https://togithub.com/python-pillow/Pillow/issues/7078)
\[radarhere]
- Fixed combining single duration across duplicate APNG frames [#7146](https://togithub.com/python-pillow/Pillow/issues/7146)
\[radarhere]
- Remove temporary file when error is raised [#7148](https://togithub.com/python-pillow/Pillow/issues/7148)
\[radarhere]
- Do not use temporary file when grabbing clipboard on Linux [#7200](https://togithub.com/python-pillow/Pillow/issues/7200)
\[radarhere]
- If the clipboard fails to open on Windows, wait and try again [#7141](https://togithub.com/python-pillow/Pillow/issues/7141)
\[radarhere]
- Fixed saving multiple 1 mode frames to GIF [#7181](https://togithub.com/python-pillow/Pillow/issues/7181)
\[radarhere]
- Replaced absolute PIL import with relative import [#7173](https://togithub.com/python-pillow/Pillow/issues/7173)
\[radarhere]
- Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 [#7192](https://togithub.com/python-pillow/Pillow/issues/7192)
\[radarhere]
- Improved wl-paste mimetype handling in ImageGrab [#7094](https://togithub.com/python-pillow/Pillow/issues/7094)
\[rrcgat, radarhere]
- Added *repr_jpeg*() for IPython display_jpeg [#7135](https://togithub.com/python-pillow/Pillow/issues/7135)
\[n3011, radarhere, nulano]
- Use "/sbin/ldconfig" if ldconfig is not found [#7068](https://togithub.com/python-pillow/Pillow/issues/7068)
\[radarhere]
- Prefer screenshots using XCB over gnome-screenshot [#7143](https://togithub.com/python-pillow/Pillow/issues/7143)
\[nulano, radarhere]
- Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions [#7151](https://togithub.com/python-pillow/Pillow/issues/7151)
\[radarhere]
- Support reading signed 8-bit TIFF images [#7111](https://togithub.com/python-pillow/Pillow/issues/7111)
\[radarhere]
- Added width argument to ImageDraw regular_polygon [#7132](https://togithub.com/python-pillow/Pillow/issues/7132)
\[radarhere]
- Support I mode for ImageFilter.BuiltinFilter [#7108](https://togithub.com/python-pillow/Pillow/issues/7108)
\[radarhere]
- Raise error from stderr of Linux ImageGrab.grabclipboard() command [#7112](https://togithub.com/python-pillow/Pillow/issues/7112)
\[radarhere]
- Added unpacker from I;16B to I;16 [#7125](https://togithub.com/python-pillow/Pillow/issues/7125)
\[radarhere]
- Support float font sizes [#7107](https://togithub.com/python-pillow/Pillow/issues/7107)
\[radarhere]
- Use later value for duplicate xref entries in PdfParser [#7102](https://togithub.com/python-pillow/Pillow/issues/7102)
\[radarhere]
- Load before getting size in **getstate** [#7105](https://togithub.com/python-pillow/Pillow/issues/7105)
\[bigcat88, radarhere]
- Fixed type handling for include and lib directories [#7069](https://togithub.com/python-pillow/Pillow/issues/7069)
\[adisbladis, radarhere]
- Remove deprecations for Pillow 10.0.0 [#7059](https://togithub.com/python-pillow/Pillow/issues/7059), [#7080](https://togithub.com/python-pillow/Pillow/issues/7080)
\[hugovk, radarhere]
- Drop support for soon-EOL Python 3.7 [#7058](https://togithub.com/python-pillow/Pillow/issues/7058)
\[hugovk, radarhere]
### [`v9.5.0`](https://togithub.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#950-2023-04-01)
[Compare Source](https://togithub.com/python-pillow/Pillow/compare/9.4.0...9.5.0)
- Added ImageSourceData to TAGS_V2 [#7053](https://togithub.com/python-pillow/Pillow/issues/7053)
\[radarhere]
- Clear PPM half token after use [#7052](https://togithub.com/python-pillow/Pillow/issues/7052)
\[radarhere]
- Removed absolute path to ldconfig [#7044](https://togithub.com/python-pillow/Pillow/issues/7044)
\[radarhere]
- Support custom comments and PLT markers when saving JPEG2000 images [#6903](https://togithub.com/python-pillow/Pillow/issues/6903)
\[joshware, radarhere, hugovk]
- Load before getting size in **array_interface** [#7034](https://togithub.com/python-pillow/Pillow/issues/7034)
\[radarhere]
- Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 [#7010](https://togithub.com/python-pillow/Pillow/issues/7010)
\[radarhere]
- Consider transparency when applying APNG blend mask [#7018](https://togithub.com/python-pillow/Pillow/issues/7018)
\[radarhere]
- Round duration when saving animated WebP images [#6996](https://togithub.com/python-pillow/Pillow/issues/6996)
\[radarhere]
- Added reading of JPEG2000 comments [#6909](https://togithub.com/python-pillow/Pillow/issues/6909)
\[radarhere]
- Decrement reference count [#7003](https://togithub.com/python-pillow/Pillow/issues/7003)
\[radarhere, nulano]
- Allow libtiff_support_custom_tags to be missing [#7020](https://togithub.com/python-pillow/Pillow/issues/7020)
\[radarhere]
- Improved I;16N support [#6834](https://togithub.com/python-pillow/Pillow/issues/6834)
\[radarhere]
- Added QOI reading [#6852](https://togithub.com/python-pillow/Pillow/issues/6852)
\[radarhere, hugovk]
- Added saving RGBA images as PDFs [#6925](https://togithub.com/python-pillow/Pillow/issues/6925)
\[radarhere]
- Do not raise an error if os.environ does not contain PATH [#6935](https://togithub.com/python-pillow/Pillow/issues/6935)
\[radarhere, hugovk]
- Close OleFileIO instance when closing or exiting FPX or MIC [#7005](https://togithub.com/python-pillow/Pillow/issues/7005)
\[radarhere]
- Added **int** to IFDRational for Python >= 3.11 [#6998](https://togithub.com/python-pillow/Pillow/issues/6998)
\[radarhere]
- Added memoryview support to Dib.frombytes() [#6988](https://togithub.com/python-pillow/Pillow/issues/6988)
\[radarhere, nulano]
- Close file pointer copy in the libtiff encoder if still open [#6986](https://togithub.com/python-pillow/Pillow/issues/6986)
\[fcarron, radarhere]
- Raise an error if ImageDraw co-ordinates are incorrectly ordered [#6978](https://togithub.com/python-pillow/Pillow/issues/6978)
\[radarhere]
- Added "corners" argument to ImageDraw rounded_rectangle() [#6954](https://togithub.com/python-pillow/Pillow/issues/6954)
\[radarhere]
- Added memoryview support to frombytes() [#6974](https://togithub.com/python-pillow/Pillow/issues/6974)
\[radarhere]
- Allow comments in FITS images [#6973](https://togithub.com/python-pillow/Pillow/issues/6973)
\[radarhere]
- Support saving PDF with different X and Y resolutions [#6961](https://togithub.com/python-pillow/Pillow/issues/6961)
\[jvanderneutstulen, radarhere, hugovk]
- Fixed writing int as UNDEFINED tag [#6950](https://togithub.com/python-pillow/Pillow/issues/6950)
\[radarhere]
- Raise an error if EXIF data is too long when saving JPEG [#6939](https://togithub.com/python-pillow/Pillow/issues/6939)
\[radarhere]
- Handle more than one directory returned by pkg-config [#6896](https://togithub.com/python-pillow/Pillow/issues/6896)
\[sebastic, radarhere]
- Do not retry past formats when loading all formats for the first time [#6902](https://togithub.com/python-pillow/Pillow/issues/6902)
\[radarhere]
- Do not retry specified formats if they failed when opening [#6893](https://togithub.com/python-pillow/Pillow/issues/6893)
\[radarhere]
- Do not unintentionally load TIFF format at first [#6892](https://togithub.com/python-pillow/Pillow/issues/6892)
\[radarhere]
- Stop reading when EPS line becomes too long [#6897](https://togithub.com/python-pillow/Pillow/issues/6897)
\[radarhere]
- Allow writing IFDRational to BYTE tag [#6890](https://togithub.com/python-pillow/Pillow/issues/6890)
\[radarhere]
- Raise ValueError for BoxBlur filter with negative radius [#6874](https://togithub.com/python-pillow/Pillow/issues/6874)
\[hugovk, radarhere]
- Support arbitrary number of loaded modules on Windows [#6761](https://togithub.com/python-pillow/Pillow/issues/6761)
\[javidcf, radarhere, nulano]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[x] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^9.4.0
->^10.0.0
Release Notes
python-pillow/Pillow (Pillow)
### [`v10.0.0`](https://togithub.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1000-2023-07-01) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/9.5.0...10.0.0) - Fixed deallocating mask images [#7246](https://togithub.com/python-pillow/Pillow/issues/7246) \[radarhere] - Added ImageFont.MAX_STRING_LENGTH [#7244](https://togithub.com/python-pillow/Pillow/issues/7244) \[radarhere, hugovk] - Fix Windows build with pyproject.toml [#7230](https://togithub.com/python-pillow/Pillow/issues/7230) \[hugovk, nulano, radarhere] - Do not close provided file handles with libtiff [#7199](https://togithub.com/python-pillow/Pillow/issues/7199) \[radarhere] - Convert to HSV if mode is HSV in getcolor() [#7226](https://togithub.com/python-pillow/Pillow/issues/7226) \[radarhere] - Added alpha_only argument to getbbox() [#7123](https://togithub.com/python-pillow/Pillow/issues/7123) \[radarhere. hugovk] - Prioritise speed in *repr_png* [#7242](https://togithub.com/python-pillow/Pillow/issues/7242) \[radarhere] - Do not use CFFI access by default on PyPy [#7236](https://togithub.com/python-pillow/Pillow/issues/7236) \[radarhere] - Limit size even if one dimension is zero in decompression bomb check [#7235](https://togithub.com/python-pillow/Pillow/issues/7235) \[radarhere] - Use --config-settings instead of deprecated --global-option [#7171](https://togithub.com/python-pillow/Pillow/issues/7171) \[radarhere] - Better C integer definitions [#6645](https://togithub.com/python-pillow/Pillow/issues/6645) \[Yay295, hugovk] - Fixed finding dependencies on Cygwin [#7175](https://togithub.com/python-pillow/Pillow/issues/7175) \[radarhere] - Changed grabclipboard() to use PNG instead of JPG compression on macOS [#7219](https://togithub.com/python-pillow/Pillow/issues/7219) \[abey79, radarhere] - Added in_place argument to ImageOps.exif_transpose() [#7092](https://togithub.com/python-pillow/Pillow/issues/7092) \[radarhere] - Fixed calling putpalette() on L and LA images before load() [#7187](https://togithub.com/python-pillow/Pillow/issues/7187) \[radarhere] - Fixed saving TIFF multiframe images with LONG8 tag types [#7078](https://togithub.com/python-pillow/Pillow/issues/7078) \[radarhere] - Fixed combining single duration across duplicate APNG frames [#7146](https://togithub.com/python-pillow/Pillow/issues/7146) \[radarhere] - Remove temporary file when error is raised [#7148](https://togithub.com/python-pillow/Pillow/issues/7148) \[radarhere] - Do not use temporary file when grabbing clipboard on Linux [#7200](https://togithub.com/python-pillow/Pillow/issues/7200) \[radarhere] - If the clipboard fails to open on Windows, wait and try again [#7141](https://togithub.com/python-pillow/Pillow/issues/7141) \[radarhere] - Fixed saving multiple 1 mode frames to GIF [#7181](https://togithub.com/python-pillow/Pillow/issues/7181) \[radarhere] - Replaced absolute PIL import with relative import [#7173](https://togithub.com/python-pillow/Pillow/issues/7173) \[radarhere] - Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 [#7192](https://togithub.com/python-pillow/Pillow/issues/7192) \[radarhere] - Improved wl-paste mimetype handling in ImageGrab [#7094](https://togithub.com/python-pillow/Pillow/issues/7094) \[rrcgat, radarhere] - Added *repr_jpeg*() for IPython display_jpeg [#7135](https://togithub.com/python-pillow/Pillow/issues/7135) \[n3011, radarhere, nulano] - Use "/sbin/ldconfig" if ldconfig is not found [#7068](https://togithub.com/python-pillow/Pillow/issues/7068) \[radarhere] - Prefer screenshots using XCB over gnome-screenshot [#7143](https://togithub.com/python-pillow/Pillow/issues/7143) \[nulano, radarhere] - Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions [#7151](https://togithub.com/python-pillow/Pillow/issues/7151) \[radarhere] - Support reading signed 8-bit TIFF images [#7111](https://togithub.com/python-pillow/Pillow/issues/7111) \[radarhere] - Added width argument to ImageDraw regular_polygon [#7132](https://togithub.com/python-pillow/Pillow/issues/7132) \[radarhere] - Support I mode for ImageFilter.BuiltinFilter [#7108](https://togithub.com/python-pillow/Pillow/issues/7108) \[radarhere] - Raise error from stderr of Linux ImageGrab.grabclipboard() command [#7112](https://togithub.com/python-pillow/Pillow/issues/7112) \[radarhere] - Added unpacker from I;16B to I;16 [#7125](https://togithub.com/python-pillow/Pillow/issues/7125) \[radarhere] - Support float font sizes [#7107](https://togithub.com/python-pillow/Pillow/issues/7107) \[radarhere] - Use later value for duplicate xref entries in PdfParser [#7102](https://togithub.com/python-pillow/Pillow/issues/7102) \[radarhere] - Load before getting size in **getstate** [#7105](https://togithub.com/python-pillow/Pillow/issues/7105) \[bigcat88, radarhere] - Fixed type handling for include and lib directories [#7069](https://togithub.com/python-pillow/Pillow/issues/7069) \[adisbladis, radarhere] - Remove deprecations for Pillow 10.0.0 [#7059](https://togithub.com/python-pillow/Pillow/issues/7059), [#7080](https://togithub.com/python-pillow/Pillow/issues/7080) \[hugovk, radarhere] - Drop support for soon-EOL Python 3.7 [#7058](https://togithub.com/python-pillow/Pillow/issues/7058) \[hugovk, radarhere] ### [`v9.5.0`](https://togithub.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#950-2023-04-01) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/9.4.0...9.5.0) - Added ImageSourceData to TAGS_V2 [#7053](https://togithub.com/python-pillow/Pillow/issues/7053) \[radarhere] - Clear PPM half token after use [#7052](https://togithub.com/python-pillow/Pillow/issues/7052) \[radarhere] - Removed absolute path to ldconfig [#7044](https://togithub.com/python-pillow/Pillow/issues/7044) \[radarhere] - Support custom comments and PLT markers when saving JPEG2000 images [#6903](https://togithub.com/python-pillow/Pillow/issues/6903) \[joshware, radarhere, hugovk] - Load before getting size in **array_interface** [#7034](https://togithub.com/python-pillow/Pillow/issues/7034) \[radarhere] - Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 [#7010](https://togithub.com/python-pillow/Pillow/issues/7010) \[radarhere] - Consider transparency when applying APNG blend mask [#7018](https://togithub.com/python-pillow/Pillow/issues/7018) \[radarhere] - Round duration when saving animated WebP images [#6996](https://togithub.com/python-pillow/Pillow/issues/6996) \[radarhere] - Added reading of JPEG2000 comments [#6909](https://togithub.com/python-pillow/Pillow/issues/6909) \[radarhere] - Decrement reference count [#7003](https://togithub.com/python-pillow/Pillow/issues/7003) \[radarhere, nulano] - Allow libtiff_support_custom_tags to be missing [#7020](https://togithub.com/python-pillow/Pillow/issues/7020) \[radarhere] - Improved I;16N support [#6834](https://togithub.com/python-pillow/Pillow/issues/6834) \[radarhere] - Added QOI reading [#6852](https://togithub.com/python-pillow/Pillow/issues/6852) \[radarhere, hugovk] - Added saving RGBA images as PDFs [#6925](https://togithub.com/python-pillow/Pillow/issues/6925) \[radarhere] - Do not raise an error if os.environ does not contain PATH [#6935](https://togithub.com/python-pillow/Pillow/issues/6935) \[radarhere, hugovk] - Close OleFileIO instance when closing or exiting FPX or MIC [#7005](https://togithub.com/python-pillow/Pillow/issues/7005) \[radarhere] - Added **int** to IFDRational for Python >= 3.11 [#6998](https://togithub.com/python-pillow/Pillow/issues/6998) \[radarhere] - Added memoryview support to Dib.frombytes() [#6988](https://togithub.com/python-pillow/Pillow/issues/6988) \[radarhere, nulano] - Close file pointer copy in the libtiff encoder if still open [#6986](https://togithub.com/python-pillow/Pillow/issues/6986) \[fcarron, radarhere] - Raise an error if ImageDraw co-ordinates are incorrectly ordered [#6978](https://togithub.com/python-pillow/Pillow/issues/6978) \[radarhere] - Added "corners" argument to ImageDraw rounded_rectangle() [#6954](https://togithub.com/python-pillow/Pillow/issues/6954) \[radarhere] - Added memoryview support to frombytes() [#6974](https://togithub.com/python-pillow/Pillow/issues/6974) \[radarhere] - Allow comments in FITS images [#6973](https://togithub.com/python-pillow/Pillow/issues/6973) \[radarhere] - Support saving PDF with different X and Y resolutions [#6961](https://togithub.com/python-pillow/Pillow/issues/6961) \[jvanderneutstulen, radarhere, hugovk] - Fixed writing int as UNDEFINED tag [#6950](https://togithub.com/python-pillow/Pillow/issues/6950) \[radarhere] - Raise an error if EXIF data is too long when saving JPEG [#6939](https://togithub.com/python-pillow/Pillow/issues/6939) \[radarhere] - Handle more than one directory returned by pkg-config [#6896](https://togithub.com/python-pillow/Pillow/issues/6896) \[sebastic, radarhere] - Do not retry past formats when loading all formats for the first time [#6902](https://togithub.com/python-pillow/Pillow/issues/6902) \[radarhere] - Do not retry specified formats if they failed when opening [#6893](https://togithub.com/python-pillow/Pillow/issues/6893) \[radarhere] - Do not unintentionally load TIFF format at first [#6892](https://togithub.com/python-pillow/Pillow/issues/6892) \[radarhere] - Stop reading when EPS line becomes too long [#6897](https://togithub.com/python-pillow/Pillow/issues/6897) \[radarhere] - Allow writing IFDRational to BYTE tag [#6890](https://togithub.com/python-pillow/Pillow/issues/6890) \[radarhere] - Raise ValueError for BoxBlur filter with negative radius [#6874](https://togithub.com/python-pillow/Pillow/issues/6874) \[hugovk, radarhere] - Support arbitrary number of loaded modules on Windows [#6761](https://togithub.com/python-pillow/Pillow/issues/6761) \[javidcf, radarhere, nulano]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.