You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that if I have a .heic image (from an iPhone XR) and rotate it on the Photos app from Windows 10, I get an assertion error calling exifread.process_file()
The assertion which fails is this one on line 284 of heic.py:
assertexif_tiff_header_offset>=6
Additional information
Windows 10 build 19041
HEVC Video Extensions from MS Store
HEIF Image Extensions from MS Store
WSL2 running Ubuntu 20.04 LTS
Python version 3.8.5
exif-py version 2.3.2
Steps to reproduce
Download a HEIC image file from an iPhone (not tested with other sources)
Open the image with exif-py, notice it woks file, all tags are readable
Double-click the image file to open on the default Photos app (requires HEIF Image Extensions, from MS Store)
4.. Rotate the image and close to save
Attempt to open the rotated image with exif-py, notice assertion error
Sample file(s)
If it helps I can attach a sample file to this issue; I avoided it because we're taking about a largish 2-3MB binary file. Let me know if you want it attached to help troubleshoot.
The text was updated successfully, but these errors were encountered:
I've noticed that if I have a .heic image (from an iPhone XR) and rotate it on the Photos app from Windows 10, I get an assertion error calling
exifread.process_file()
The assertion which fails is this one on line 284 of
heic.py
:Additional information
Steps to reproduce
4.. Rotate the image and close to save
Sample file(s)
If it helps I can attach a sample file to this issue; I avoided it because we're taking about a largish 2-3MB binary file. Let me know if you want it attached to help troubleshoot.
The text was updated successfully, but these errors were encountered: