Published April 12, 2025 | Version 11.2.1
Software Open

python-pillow/Pillow: 11.2.1

Description

https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html

Deprecations

  • Moved get_child_images() to ImageFile #8689 [@radarhere]

Documentation

  • Add 11.2.1 release notes #8885 [@radarhere]
  • Added avif to config settings #8875 [@radarhere]
  • Added release notes for #8330 #8853 [@radarhere]
  • Added release notes for #8781 and #8837 #8843 [@radarhere]
  • Added media_white_point to ImageCms documentation #8829 [@radarhere]
  • Removed FIXME #8825 [@radarhere]
  • Updated comment #8822 [@radarhere]
  • Added release notes for #8807 #8824 [@radarhere]
  • DXT3 images are read in RGBA mode #8817 [@radarhere]
  • JPEG comments are from the COM marker #8788 [@radarhere]
  • Update Sphinx to 8.2 to remove nitpick ignore #8763 [@radarhere]
  • Updated AffineTransform docstring to mention it uses the inverse matrix #8735 [@radarhere]
  • Added MozJPEG documentation #8699 [@radarhere]
  • Added Sphinx configuration key #8691 [@radarhere]
  • Updated macOS tested Pillow versions #8654 [@radarhere]

Dependencies

  • Updated xz to 5.8.1 #8868 [@radarhere]
  • Updated harfbuzz to 11.0.1 #8870 [@radarhere]
  • Update scientific-python/upload-nightly-action action to v0.6.2 #8865 [@renovate[bot]]
  • Updated xz to 5.8.0 in macOS and Linux wheels, but not on manylinux2014 #8836 [@radarhere]
  • Update dependency cibuildwheel to v2.23.2 #8832 [@renovate[bot]]
  • Updated harfbuzz to 11.0.0 #8830 [@radarhere]
  • Update dependency cibuildwheel to v2.23.1 #8818 [@renovate[bot]]
  • Updated Ghostscript to 10.5.0 #8814 [@radarhere]
  • Updated libtiff to 4.7.0 #8812 [@radarhere]
  • [pre-commit.ci] pre-commit autoupdate #8795 [@pre-commit-ci[bot]]
  • Updated harfbuzz to 10.4.0 #8770 [@radarhere]
  • Update dependency mypy to v1.15.0 #8791 [@renovate[bot]]
  • Updated libpng to 1.6.47 #8764 [@radarhere]
  • Updated lcms2 to 2.17 #8742 [@radarhere]
  • Update dependency cibuildwheel to v2.23.0 #8785 [@renovate[bot]]
  • Updated zlib-ng to 2.2.4 #8745 [@radarhere]
  • Updated libimagequant to 4.3.4 on Windows #8744 [@radarhere]
  • [pre-commit.ci] pre-commit autoupdate #8729 [@pre-commit-ci[bot]]
  • Updated harfbuzz to 10.2.0 #8688 [@radarhere]
  • Updated xz to 5.6.4 #8711 [@radarhere]
  • Updated libpng to 1.6.46 #8712 [@radarhere]
  • Updated libimagequant to 4.3.4 #8710 [@radarhere]
  • Updated libpng to 1.6.45 #8670 [@radarhere]
  • Update cygwin/cygwin-install-action action to v5 #8675 [@renovate[bot]]
  • [pre-commit.ci] pre-commit autoupdate #8665 [@pre-commit-ci[bot]]
  • Updated freetype to 2.13.3 in macOS and Linux wheels #8653 [@radarhere]
  • Upgrade zlib-ng to 2.2.3 #8656 [@hugovk]

Testing

  • Fixed unclosed file warning #8847 [@radarhere]
  • Assert image type #8619 [@radarhere]
  • Parametrize tests #8838 [@radarhere]
  • Change back to actions/setup-python #8833 [@radarhere]
  • Simplified test code #8823 [@radarhere]
  • Improved FliImagePlugin test coverage #8806 [@radarhere]
  • Install libtiff-dev on Ubuntu GitHub Actions #8816 [@radarhere]
  • Test using _seek to skip frames #8804 [@radarhere]
  • Improved PcxImagePlugin test coverage #8797 [@radarhere]
  • Use match argument #8801 [@radarhere]
  • Improved BdfFontFile test coverage #8783 [@radarhere]
  • Revert "Do not install libimagequant" #8778 [@radarhere]
  • Improved FtexImagePlugin test coverage #8766 [@radarhere]
  • Improved FontFile test coverage #8771 [@radarhere]
  • Improved MpoImagePlugin test coverage #8765 [@radarhere]
  • Improved SunImagePlugin coverage #8762 [@radarhere]
  • Improve TarIO test coverage #8759 [@radarhere]
  • Improve type checking in tests #8618 [@radarhere]
  • Add PyPy3.11 to CI #8758 [@hugovk]
  • Don't call make clean or pip in tox #8754 [@hugovk]
  • Don't shadow builtin open #8756 [@radarhere]
  • Removed unused test code #8752 [@radarhere]
  • Use monkeypatch #8747 [@radarhere]
  • Do not install libimagequant on MinGW #8724 [@radarhere]
  • Use getpixel() instead of load() #8727 [@radarhere]
  • Revert "Ignore brew dependencies for libraqm on macOS 13" #8725 [@radarhere]
  • Fixed exceptions when closing AppendingTiffWriter #8723 [@radarhere]
  • Fixed unclosed file warnings #8705 [@radarhere]
  • Use monkeypatch #8707 [@radarhere]
  • Use Ubuntu 22.04 for 24.04 ppc64le and s390x #8713 [@radarhere]
  • Updated Ubuntu arm to 24.04 with arm64 runner #8700 [@radarhere]
  • Test oldest Python on 32-bit Windows 2019 and remove AppVeyor #8525 [@hugovk]
  • Corrected argument types #8681 [@radarhere]
  • Test Python 3.14 pre-release #8690 [@radarhere]
  • Skip test_embeddable if compiler cannot be initialized #8686 [@radarhere]
  • Improved test coverage #8679 [@radarhere]
  • Removed xfail for test_embeddable on Python 3.13 #8683 [@radarhere]
  • Use python-numpy and python-olefile instead of virtual python3 packages #8682 [@hugovk]
  • Use python-pip instead of python3-pip in MinGW #8678 [@radarhere]
  • Use ImageFile._Tile #8666 [@radarhere]
  • Improved SPIDER test coverage #8668 [@radarhere]
  • Removed unused image open #8649 [@radarhere]
  • PngImageFile text is a property #8648 [@radarhere]
  • Trigger wheel builds from changes in pyproject.toml #8674 [@radarhere]

Type hints

  • Added fromarrow type hints #8867 [@radarhere]
  • Assert image type #8619 [@radarhere]
  • Check that _fp type is not DeferredError before use #8640 [@radarhere]
  • Corrected type check #8760 [@radarhere]
  • Improve type checking in tests #8618 [@radarhere]
  • Corrected argument types #8681 [@radarhere]
  • Use ImageFile._Tile #8666 [@radarhere]
  • Added return types #8639 [@radarhere]
  • Add overloads for exif_transpose #8657 [@cdce8p]

Other changes

  • Do not include libavif in wheels #8876 [@radarhere]
  • Remove GPL v2 from FreeType license #8884 [@radarhere]
  • [pre-commit.ci] pre-commit autoupdate #8873 [@pre-commit-ci[bot]]
  • Replace deprecated classifier with licence expression (PEP 639) #8850 [@hugovk]
  • Fixed conversion of AVIF image rotation property to EXIF orientation #8866 [@fdintino]
  • Removed condition that is always true #8862 [@radarhere]
  • Use multibuild build_github #8861 [@radarhere]
  • Include filename in ImageFile state #8859 [@radarhere]
  • Add KDE Wayland support for ImageGrab #8842 [@AdianKozlica]
  • Only change readonly if saved filename matches opened filename #8852 [@radarhere]
  • Allow HWND to be passed to ImageGrab.grab() on Windows #8516 [@radarhere]
  • Allow cmake<4 when building libavif and libtiff #8851 [@radarhere]
  • Image -> Arrow support #8330 [@wiredfool]
  • Add AVIF plugin (decoder + encoder using libavif) #5201 [@fdintino]
  • Updated xz to 5.8.0 on manylinux2014 by removing po4a dependency #8848 [@radarhere]
  • Revert to zlib on macOS < 10.15 #8772 [@radarhere]
  • Close TarIO file handle on error #8846 [@radarhere]
  • Do not import TYPE_CHECKING #8844 [@radarhere]
  • Enable memory mapping on PyPy #8840 [@radarhere]
  • Corrected Palm P mode save #8685 [@radarhere]
  • Improved connecting discontiguous corners #8659 [@radarhere]
  • Only read until the offset of the next tile #8609 [@radarhere]
  • Added USE_RAW_ALPHA for BMP images #8602 [@radarhere]
  • Fixed orientation when opening YCbCr TIFF images #8556 [@radarhere]
  • Allow loading of EMF images at a given DPI #8536 [@radarhere]
  • Skip failing records when rendering WMF images #8506 [@radarhere]
  • If append_images is populated, default save_all to True #8781 [@radarhere]
  • Added GimpPaletteFile frombytes() to allow for unlimited parsing #8826 [@radarhere]
  • Do not load image during save if file extension is unknown #8835 [@radarhere]
  • Do not convert BC1 LUT to UINT32 #8837 [@radarhere]
  • Start from zero index when reading GimpPaletteFile #8805 [@radarhere]
  • Support saving DDS images with pixel formats #8807 [@radarhere]
  • If every TIFF tile covers the image, only use the last offset #8820 [@radarhere]
  • Use docker/setup-qemu-action #8819 [@radarhere]
  • Replace deprecated Renovate schedule with cron syntax #8810 [@hugovk]
  • Allow coords to be sequence of lists #8800 [@radarhere]
  • Use ABCMeta in classes with abstractmethod #8803 [@radarhere]
  • Support reading grayscale JPEG2000 images with 4 channels #8786 [@radarhere]
  • Allow encoderconfig and encoderinfo to be set for appended TIFF images #8780 [@radarhere]
  • Call startswith/endswith once with a tuple, and range without start=0 #8799 [@hugovk]
  • Corrected exif_transpose error when XMP is tuple #8792 [@radarhere]
  • Fixed loading GD images #8793 [@radarhere]
  • Image.core.outline will no longer raise an AttributeError #8794 [@radarhere]
  • Removed ImageTk._show #8782 [@radarhere]
  • _seek_check already raises an EOFError #8773 [@radarhere]
  • Only set mode when necessary in FtexImagePlugin #8767 [@radarhere]
  • Build PyPy3.11 wheel for macOS 10.15 x86_64 #8789 [@hugovk]
  • Replace slice and comparison with startswith/endswith #8761 [@hugovk]
  • Use member names to initialize PyTypeObjects #8741 [@radarhere]
  • Pass CFLAGS to build_simple directly #8738 [@radarhere]
  • Only crop GIF frames when saving with disposal method 2 if transparency is present #8748 [@radarhere]
  • Update pythoncapi_compat.h to fix building with PyPy3.11 #8757 [@mgorny]
  • Rewrite the install_name of the ZLIB-NG library on macOS #8673 [@freakboy3742]
  • Remove debug Image._wedge #8755 [@hugovk]
  • Remove unused bdf_slant and bdf_spacing variables #8753 [@hugovk]
  • Use boolean format argument for irreversible #8739 [@radarhere]
  • Simplify Python code by receiving tuple from C #8740 [@radarhere]
  • Use member names to initialize modules #8734 [@radarhere]
  • Simplify Python code by passing tuples to C #8733 [@radarhere]
  • Removed redundant argument parsing #8732 [@radarhere]
  • Added "justify" align for multiline text #8721 [@radarhere]
  • Seek relative to current position #8709 [@radarhere]
  • Only use outside border of stroke in text() #8701 [@radarhere]
  • Support saving PNG cICP chunk #8704 [@radarhere]
  • Use Py_RETURN_NONE macro when possible #8717 [@radarhere]
  • Added ImageFile close() #8702 [@radarhere]
  • Use arm64 Linux runners for wheels #8698 [@radarhere]
  • Test Windows amd64 wheels with NumPy #8696 [@radarhere]
  • Added logging to TiffImagePlugin fixIFD() #8568 [@radarhere]
  • Removed miniconda CPPFLAGS #8695 [@radarhere]
  • Improved comment #8694 [@radarhere]
  • Only F mode starts with F #8684 [@radarhere]
  • Allow saving multiple frames as BigTIFF #8663 [@radarhere]
  • Simplified converting to char * #8662 [@radarhere]
  • Use namedtuple _replace #8652 [@radarhere]
  • Updated TIFF decode error message string #8660 [@HarmvandenBrand]
  • Added compile-time mozjpeg feature flag #8645 [@radarhere]
  • Improved Docker coverage reporting #8664 [@radarhere]
  • Removed giflib as webp dependency #8661 [@radarhere]
  • Corrected installing ImageMagick on cifuzz #8658 [@radarhere]

Files

python-pillow/Pillow-11.2.1.zip

Files (47.9 MB)

Name Size Download all
md5:048a362e059ad55b9fc768bf653fe507
47.9 MB Preview Download

Additional details

Related works