We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When opening a photo shot by an iOS 18 device, will get an error: 'Invalid input: Unspecified: Metadata not correctly assigned to image'.
from PIL import Image from pillow_heif import register_heif_opener register_heif_opener() Image.open("path_to_img").show()
IMG_6849_1.zip
Open image successfully
PIL.UnidentifiedImageError: cannot identify image file 'path_to_img'
3.12.0 | packaged by Anaconda, Inc. | (main, Oct 2 2023, 17:20:38) [MSC v.1916 64 bit (AMD64)] Windows-11-10.0.22631-SP0 0.16.0 {'libheif': '1.17.6', 'HEIF': 'x265 HEVC encoder (3.4+31-6722fce1f)', 'AVIF': 'AOMedia Project AV1 Encoder v3.8.2', 'encoders': {'x265': 'x265 HEVC encoder (3.4+31-6722fce1f)', 'aom': 'AOMedia Project AV1 Encoder v3.8.2', 'mask': 'mask'}, 'decoders': {'libde265': 'libde265 HEVC decoder, version 1.0.15', 'aom': 'AOMedia Project AV1 Decoder v3.8.2'}}
The text was updated successfully, but these errors were encountered:
Thank you for reporting this, can not promise fix to arrive soon, as it will require new version of libheif to be published.
libheif
Reference: strukturag/libheif#1190
Sorry, something went wrong.
1.18.1
Is it possible to create a new release with this fix ASAP? This update in libheif is necessary for users with iOS18, and it is a breaking change.
Release is planned for tomorrow or a day after.
pillow_heif
0.18.0
No branches or pull requests
Describe the bug
When opening a photo shot by an iOS 18 device, will get an error: 'Invalid input: Unspecified: Metadata not correctly assigned to image'.
Steps/Code to Reproduce
IMG_6849_1.zip
Expected Results
Open image successfully
Actual Results
PIL.UnidentifiedImageError: cannot identify image file 'path_to_img'
Versions
The text was updated successfully, but these errors were encountered: