This is attempt to support HEIF format, ubiquitous on Apple devices, using Pillow-Heif
See below why using libheif directly might be better option.
Licensing
This PR uses pi-heif - the light version of Pillow-Heif which only links against LGPL-licensed libheif, evading harsher GPL restrictions of the full version (see LICENSES_bundled.txt)
libheif is built and packaged for the wide range of platforms and leaves only small amount of platforms to follow LGPL-restrictive path.
However, Pillow-Heif, including pi-heif variant, provides wheels only for:
macOS (Intel and Apple Silicon)
Windows 64 bit
muslinux and manylinux x86_64 and aarch64
which is more narrow platform support than one of libheif.
Therefore, direct usage of libheif is advised, however it's out of scope of this PR.
If the author chooses to merge this PR, I suggest creating LICENSES_bundled.txt following Pillow-Heif approach which seems pretty neat.
HEIF Support
This is attempt to support HEIF format, ubiquitous on Apple devices, using Pillow-Heif
See below why using libheif directly might be better option.
Licensing
This PR uses pi-heif - the light version of Pillow-Heif which only links against LGPL-licensed libheif, evading harsher GPL restrictions of the full version (see LICENSES_bundled.txt)
libheif is built and packaged for the wide range of platforms and leaves only small amount of platforms to follow LGPL-restrictive path.
However, Pillow-Heif, including pi-heif variant, provides wheels only for:
which is more narrow platform support than one of libheif.
Therefore, direct usage of libheif is advised, however it's out of scope of this PR.
If the author chooses to merge this PR, I suggest creating
LICENSES_bundled.txt
following Pillow-Heif approach which seems pretty neat.This PR fixes #207