Python Imaging Library (Fork)
https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html
functools.lru_cache
for hopper()
#7912 [@hugovk]WebPAnimDecoderGetNext
#7782 [@evanmiller]setup.py
#7760 [@hugovk]Image.py
#7924 [@hugovk]py.typed
and Typing :: Typed
to support type checking #7822 [@radarhere]io.BytesIO
in type hints #7750 [@hugovk][pre-commit.ci] pre-commit autoupdate and fix deprecations #7780 [@pre-commit-ci]
Install mypy from requirements file #7813 [@hugovk]
Pin codecov/codecov-action to v3.1.5 #7776 [@hugovk]
Update actions/cache action to v4 #7735 [@renovate]
Update dependency cibuildwheel to v2.16.4 #7758 [@renovate]
Update dependency cibuildwheel to v2.16.5 #7767 [@renovate]
Update dependency cibuildwheel to v2.17.0 #7869 [@renovate]
Update dependency mypy to v1.8.0 #7851 [@renovate]
Update dependency mypy to v1.9.0 #7866 [@renovate]
Update github-actions to v4 #7770 [@renovate]
Update release-drafter/release-drafter action to v6 #7774 [@renovate]
Updated Ghostscript to 10.3.0 #7887 [@radarhere]
Updated giflib on macOS to 5.2.2 #7815 [@radarhere]
Updated harfbuzz to 8.3.1 #7886 [@radarhere]
Updated harfbuzz to 8.4.0 #7917 [@radarhere]
Updated libimagequant to 4.3.0 #7749 [@radarhere]
Updated libjpeg-turbo to 3.0.2 #7752 [@radarhere]
Updated libpng to 1.6.43 #7768 [@radarhere]
Updated libxcb to 1.16.1 #7853 [@radarhere]
Updated openjpeg to 2.5.2 #7837 [@radarhere]
Updated xorgproto to 2024.1 #7907 [@radarhere]
Updated zlib to 1.3.1 #7746 [@radarhere]
Use setup_module() to open images so they aren't opened if skipped #7911 [@Yay295]
Skip AppVeyor builds for irrelevant files #7909 [@hugovk]
Revert "Pin Python 3.13 on Windows to a3" #7878 [@radarhere]
Restored testing of non-TrueType default font #7748 [@radarhere]
Parametrize test_seek_mode functions #7847 [@Yay295]
Do not use packaged MinGW pip #7844 [@radarhere]
Parametrize test_p_from_rgb_rgba() #7835 [@Yay295]
Require coverage.py 7.4.2+ for COVERAGE_CORE: sysmon
#7825 [@hugovk]
Set COVERAGE_CORE: sysmon
for faster tests on 3.12+ #7820 [@hugovk]
Build docs for Python changes #7819 [@nulano]
Install mypy from requirements file #7813 [@hugovk]
Pin Python 3.13 on Windows to a3 #7805 [@radarhere]
Removed platform argument from setup-cygwin action #7775 [@radarhere]
Pin to Python 3.9.16-1 #7762 [@radarhere]
Test on macOS M1 where available #7766 [@hugovk]
CI: Cache libimagequant on Linux builds #7741 [@hugovk]
Do not support using test-image-results to upload images after test failures #7739 [@radarhere]
Sort imports in Tests/
#7736 [@hugovk]
Skip non-wheel CI runs for tags: Windows #7692 [@hugovk]
https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html
keep_rgb
option when saving JPEG to prevent conversion of RGB colorspace #7553 [@bgilbert]ImageColor
using functools.lru_cache
#7657 [@hugovk]ImageMode.getmode
using functools.lru_cache
#7641 [@hugovk]isinstance
check #7623 [@hugovk]ImageFile.raise_oserror()
#7609 [@bgilbert]unistd.h
#7535 [@hugovk]streamtype=1
option for tables-only JPEG encoding #7491 [@bgilbert]setup.cfg
to pyproject.toml
#7484 [@hugovk]ImageColor
and ImageMode
optimisations, and type hints #7665 [@hugovk]streamtype
option #7601 [@bgilbert]pypi
Sphinx role #7505 [@hugovk]assert False
with pytest.fail()
#7546 [@hugovk]target-version
from requires-python
in pyproject.toml
#7530 [@hugovk]__future__
import from fuzz_font.py and fuzz_pillow.py #7649 [@radarhere]__future__
import to beginning of file #7637 [@radarhere]from __future__ import annotations
using Ruff/isort #7631 [@hugovk]https://pillow.readthedocs.io/en/stable/releasenotes/10.1.0.html
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html
https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html
grabclipboard()
to use PNG compression on macOS #7219 [@abey79]Image.open()
seeks to the start of file objects #7097 [@radarhere]https://pillow.readthedocs.io/en/stable/releasenotes/9.5.0.html
https://pillow.readthedocs.io/en/stable/releasenotes/9.4.0.html
https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html
https://pillow.readthedocs.io/en/stable/releasenotes/9.2.0.html
This release addresses several security problems.
CVE-2022-30595: When reading a TGA file with RLE packets that cross scan lines, Pillow reads the information past the end of the first line without deducting that from the length of the remaining file data. This vulnerability was introduced in Pillow 9.1.0, and can cause a heap buffer overflow.
Opening an image with a zero or negative height has been found to bypass a decompression bomb check. This will now raise a SyntaxError
instead, in turn raising a PIL.UnidentifiedImageError
.