pypi pillow-heif 1.9.0
v1.9.0

one day ago

Added

  • Pillow plugin: Image.open() with a file path reads only the metadata of the file, the rest of it is read when the image is loaded. The whole file was read into memory when opening before. #493
  • PyPy 3.12 wheels added. #508

Changed

  • Minimum supported Pillow version raised to 13.0.0.
  • Dropped Python 3.10 support.
  • PyPy 3.11 wheels are built for PyPy 8.0, PyPy 7.3 installs build from the sdist. #498
  • Minimum required libheif version is 1.23.7. #515 #523
  • libheif was updated from the 1.23.6 to 1.23.7 version. #515
  • A file with a metadata item that cannot be read now opens, the item is skipped; memory errors of libheif, including exceeded memory limits, are raised as before. #515 #525
  • HEVC data with an invalid NAL unit size raises ValueError instead of EOFError. #515
  • Pillow plugin: a file opened by path must stay unchanged on disk until load(), when load() reads from it, it raises OSError if its size or modification time changed in between or it was removed after it was closed. #493
  • Pillow plugin: seek() after close() raises ValueError, as with Pillow's own plugins. #493

Fixed

  • Saving a YCbCr image emitted the Pillow DeprecationWarning for Image.getdata, deprecated since Pillow 12.1.0. #507
  • Images with a NAL unit larger than 16 MiB, such as big lossless images, could not be read. #515
  • Segmentation fault instead of MemoryError when memory ran out while the images of a file were created. #524
  • A preferred decoder ID longer than 63 bytes overflowed a buffer, opening a file raises ValueError now. #524
  • A file with an auxiliary image stayed in memory when the type of that image could not be read, e.g. out of memory. #524
  • When memory ran out, reading the color profile, the depth image metadata or the entity groups of a file and saving a file raised SystemError, KeyError or RuntimeError, sometimes later in unrelated code, instead of MemoryError. #524
  • Pillow plugin: tell() and seek() of an unpickled image raised AttributeError. #524

Don't miss a new pillow-heif release

NewReleases is sending notifications on new releases.