Skip to content

Releases: bigcat88/pillow_heif

v0.2.5

30 May 12:30
7aabeb2
Compare
Choose a tag to compare

Added

  • (HeifImagePlugin) - support for PIL.ImageFile.LOAD_TRUNCATED_IMAGES flag.
  • (Windows, encoder) - encoding of 10 and 12 bit images. #24

Changed

  • (Windows) - replaced vcpkg build by MSYS2(MinGW) build, report of any possible bugs you see.

v0.2.1

23 Jan 18:46
5ce3038
Compare
Choose a tag to compare

Added

  • (Windows) Build script by default assumes that libheif installed in C:\vcpkg\installed\x64-windows, if VCPKG_PREFIX environment is missing.
  • (Heif) reader_add_thumbnail and reader_remove_image examples.
  • (Heif) to_pillow method and adjusted examples to use it.

Changed

  • (Heif) Removed HeifSaveMask, get_img_thumb_mask_for_save that was previously introduced, instead added __delitem__ to HeifFile.
  • All thumbnails encoding features reworked, to simplify api. See add_thumbnails methods in HeifFile and HeifImage classes.

Fixed

  • (HeifImagePlugin) Fixed palette images with bytes transparency conversion. #21 (@Jarikf)
  • (Heif) Raises ValueError when trying to save empty(no images) file.
  • (HeifImagePlugin) Skips images with sizes = 0 during save, if there is no images, raise ValueError.
  • (HeifImagePlugin) Memory optimizations, when there is only one image in file.
  • Added licenses for libraries in binary wheels.
  • (Windows) Fix docs for building and developing.
  • (Heif) add_from_pillow method, now adds thumbnails from Pillow if it is HeifImageFile(ImageFile.ImageFile) class.

v0.1.7

23 Jan 18:45
f1e683c
Compare
Choose a tag to compare

Added

  • Added manylinux2014_i686 wheels.
  • Integration of PEP 517 in progress, added new instructions for building from source.

Changed

  • Making code cleaner, renamed cffi module from pillow_heif.libheif to _pillow_heif_cffi.
  • libaom bumped from 3.2.0 to 3.3.0

Fixed

  • Fixed AttributeError when calling Image.verify. Thanks @zijian-hu for reporting.

v0.1.4

23 Jan 18:44
b6ff992
Compare
Choose a tag to compare

First normal working release.

Added

  • Python 3.10 wheels.
  • Added libaom library to linux build.
  • More tests.

Changed

  • Code refactoring, readme update.

Fixed

  • Bug with header check when used as plugin for Pillow with as_opener function. Thanks for this to @DimonLavron