Skip to content

Releases: bigcat88/pillow_heif

v0.16.0

01 Apr 20:46
7150375
Compare
Choose a tag to compare

This release contains breaking change for monochrome images.

Added

  • Monochrome images without alpha channel, will be opened in L or I;16 mode instead of RGB. #215

Changed

  • convert_hdr_to_8bit value now ignores monochrome images. #215
  • subsampling parameter for encoding has higher priority than chroma. #213
  • Minimum required libehif version is 1.17.0. #214
  • Minimum supported Pillow version raised to 9.5.0. #216

v0.15.0

03 Feb 12:55
0ba3974
Compare
Choose a tag to compare

Added

  • libheif_info function: added encoders and decoders keys to the result, for future libheif plugins support. #189
  • options.PREFERRED_ENCODER - to use encoder different from the default one. #192
  • options.PREFERRED_DECODER - to use decoder different from the default one. #193

Changed

  • libde265 updated from 1.0.14 to 1.0.15. changelog
  • libheif updated from 1.17.5 to 1.17.6. changelog

v0.14.0

02 Dec 14:44
82ba2e9
Compare
Choose a tag to compare

Added

  • Synonym for chroma encoder parameter: subsampling(usage is the same as in Pillow JPEG). #161 #165
  • Passing image_orientation value to libheif, instead of manually rotating image according to EXIF before encoding. #168
  • Pillow plugin: support for images in YCbCr mode for saving without converting to RGB. #169
  • Pi-Heif: Python3.12 32-bit armv7 wheels. #160

Changed

  • Increased the minimum required libheif version to 1.14.1.
  • Linux: When building from source, libheif and other libraries are no longer try built automatically. #158
  • Libheif updated from 1.16.2 to 1.17.5 version. #166 #175
  • NCLX color profile - was reworked, updated docs, see PR for more info. #171
  • Minimum supported Pillow version raised to 9.2.0.
  • Pi-Heif: As last libheif version requires minimum cmake>=3.16.3 dropped Debian 10 armv7 wheels. #160
  • libde265 updated from 1.0.12 to 1.0.14. changelog

Fixed

  • Support of libheif 1.17.x. #156
  • Windows : Build from source with MinGW Python. #178

v0.13.1

15 Oct 18:24
b1e77b6
Compare
Choose a tag to compare

Added

  • Returned PyPy 3.8 wheels.

Changed

  • Linux: libaom updated to 3.6.1, musllinux builds switched to musllinux_1_2 tag.

Fixed

  • When building from source, the installer additionally searches for libheif using pkg-config. #128

v0.13.0

09 Aug 13:55
5d9aa43
Compare
Choose a tag to compare

Added

  • Python 3.12, PyPy 3.10 wheels.
  • Depth Image read support, they are available as a list in im.info["depth_images"] #116
  • options.SAVE_NCLX_PROFILE - default False to be full compatible with previous versions, but in next versions may be changed to True. #118 Thanks to @wiggin15
  • Support for Pillow 10.1.0

Changed

  • The license for the project itself has been changed to "BSD-3-Clause" since "Apache 2.0" is not compatible with the "x265" encoder. #111 Thanks to @mattip
  • Minimum required Pillow version increased from 8.4.0 to 9.1.1
  • Dropped Python 3.7 support, PyPy 3.8 wheels.
  • Dropped 32-bit wheels for Pillow-Heif. Pi-Heif still have 32-bit wheels.

v0.12.0

08 Jul 17:04
3798f0d
Compare
Choose a tag to compare

This release is fully compatible with previous versions.

Added

  • (Heif) restored lost ability after 0.9.x versions to open HDR images in 10/12 bit. #96

Changed

  • libde265(HEIF decoder) updated from 1.0.11 to 1.0.12 version. changelog
  • libheif updated to 1.16.2.

Fixed

  • Building from source when using apt-repository ppa:strukturag/libheif
  • (Heif) encode function with stride argument correctly saves image.
  • (Heif) HeifFile class created with from_bytes function with stride argument respect stride value during save.
  • (Heif) HeifFile class created with from_bytes function with stride argument can correctly translate to numpy array.

v0.11.1

10 May 17:03
2c96ef2
Compare
Choose a tag to compare

This release is fully compatible with 0.10.x versions.

Fixed

  • Revert EXIF changes from 0.11.0 - raw data again can begin with Exif\x00\x00. Thanks to @fabbaum #93
  • (Heif) deepcopy support for HeifFile class.

v0.11.0

30 Apr 12:34
52325ac
Compare
Choose a tag to compare

Changed

  • EXIF raw data in info["exif"] is now skipping first 6 bytes(Exif\x00\x00). Like in Pillow for WEBP.

Fixed

  • EXIF parsing(Xiaomi images and possible others). Thanks to @mxsleo #92
  • (Pillow) deepcopy support for HeifImageFile and AvifImageFile
  • (macOS, arm64) libde265(HEIF decoder) now has the same version as in other builds(1.0.8->1.0.11)
  • (macOS, arm64) libaom(AVIF) now has the same version as in other builds(3.4.0->3.6.0)

v0.10.1

03 Apr 11:19
589bd0f
Compare
Choose a tag to compare

Added

  • Windows PyPy wheels.
  • Faster image loading implementation with Pillow 9.5.0
  • options.ALLOW_INCORRECT_HEADERS option to allow loading files with invalid ispe header. Thanks to @Soooda #86

Changed

  • libheif updated from 1.14.2 to 1.15.2

v0.10.0

24 Feb 10:33
94a521e
Compare
Choose a tag to compare

Reworked version with native C extension.

Added

  • Restored ability to build from source with libheif==1.12.0
  • Ability to encode images in LA mode

Changed

  • libde265(HEIF decoder) updated from 1.0.9 to 1.0.11 version. changelog
  • (Heif) convert_to method was removed, bgr_mode opt. parameter added to open_heif
  • Many other changes mostly for standalone usage. topic

Changed

  • Fixed Access Violation(all version was affected) when image size after decoding differs. #79