-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
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
Fail for WebP with EXIF at the end of the image file #131
Comments
Actually, _find_webp_exif points correctly to the "EXIT" FourCC and Size: 0x47e060. |
fix for my use-case is following. Need regression test as I do not have the history. Maybe the original code was good for a different EXIF version.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current _find_webp_exif expects "EXIF" to be located in a hard coded position at the beginning of the file (right after VP8X).
However, WebP metadata can be located at the end of the file.
The attached file, metadata_android.webp, the EXIF is located at offset 0x00148540
metadata_android.webp
Logs:
Beginning of the file:
Tail:
The text was updated successfully, but these errors were encountered: