Pillow-heif

Latest version: v0.16.0

Safety actively analyzes 634391 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.9.1

Changed

- info["nclx_profile"] changed the type from bytes(format of which was not described) to dict.
- Drop support for Python 3.6, PyPy 3.7. Added PyPy 3.9 wheels.
- `convert_to` method: `RGBa` to `RGB` mode support was removed(last Pillow supports it). 67

Fixed

- Small memory leak when opening image with `nclx` color profile. 64

0.9.0

Changed

- Minimum supported version of `libheif` to build from source is `1.13.0`
- Minimum required `Pillow` version increased from `6.2.0` to `8.3.0`, `getxmp` is used from Pillow now. 55
- `options()` was reworked. Added new `DECODE_THREADS` option. 57

Fixed

- Added ability to `save` method to accept `exif` as `PIL.Image.Exif` class. 51
- Linux, Windows: fixed disabled multithreading for image decode. Added tests for this. Thanks to jtressle 53
- Linux: building from source has been reworked to no longer require `autoconf`, `automake` and `pkg-config`.

0.8.0

Added

- Armv7: wheels for Alpine 3.14+ with `musllinux_1_2_armv7l` tag.

Changed

- `libheif` updated to `1.14.0` version
- Ability to pass `enc_params` for save as `List[Tuple[str, str]]` was removed, now it accepts only `Dict`.
- Deprecated `options().ctx_in_memory` was removed(default behaviour does not change).
- Deprecated `options().strict` was removed(default behaviour does not change).
- Deprecated `check`, `open`, `read`, `check_heif` functions was removed.
- `scale` method marked as deprecated. Will be removed in `0.9.0` version.

Fixed

- Values in `enc_params` for `save` can now be of type `int` or `float` and will be automatically converted to `str`.
- Armv7: wheels supports Debian 10(was only Debian 11+\Ubuntu 20.04+ previously) with `manylinux_2_28_armv7l` tag.
- Armv7: wheels sizes decreased significantly(almost in `3x`).

0.7.2

Fixed

- (HeifImagePlugin) register proper `mimetype` for `HEIF` format. 47
- (HeifImagePlugin) decode image even when `EXIF` data is corrupted. 48
- (HeifImagePlugin) correct processing of `EXIF` that do not start with `b'EXIF'` (Pillow `9.3.0`). 46

0.7.1

Added

- Support for images with a `premultiplied alpha` channel (Pillow does not fully support these).
- (Heif) `premultiplied_alpha` read-write property.
- (Heif) `to_pillow` method to `HeifFile` class.
- (Heif) `RGBA;16` -> `RGBA` conversion.
- (Heif) `RGBa` -> `RGB` conversion.

Changed

- `libaom` updated from `3.4.0` to `3.5.0` version. [changelog](https://aomedia.googlesource.com/aom/+/refs/tags/v3.5.0)
- `libde265` updated from `1.0.8` to `1.0.9`.
- (Heif) The `get_file_mimetype` function has been reworked and is now written in python.
- (Heif) The `is_supported` function has been reworked and is now written in python.
- `options().strict` option marked as deprecated and will be removed in `0.8.0`.
- (Heif) `check_heif`function marked as deprecated.

Fixed

- (Heif) `convert_to` should do nothing if the target `mode` is already the current image mode.
- (AvifImagePlugin) do not register or accept `.avifs` files, libheif does not support them.
- Images in `CMYK` mode will be converted for `RGBA` mode during saving instead of throwing `KeyError` exception.

0.7.0

This release is fully compatible with previous versions.

Changed

- `libheif` updated to version `1.13.0`
- License for project itself changed to `Apache 2.0`

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.