Skip to content
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

Resolves #44 (Pillow 9.3.0 WEBP EXIF changes) #46

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Resolves #44 (Pillow 9.3.0 WEBP EXIF changes) #46

merged 1 commit into from
Oct 31, 2022

Conversation

bigcat88
Copy link
Owner

Fixes #44

Changes proposed in this pull request:

  • set_orientation helper function do not skip first 6 bytes of EXIF data if it does not start with b'Exif'
  • private retrieve_exif do not check EXIF data to start with b'Exif', allows to store anything in EXIF field.

@bigcat88 bigcat88 changed the title Resolves #44 Resolves #44 (Pillow 9.3.0 WEBP EXIF changes) Oct 31, 2022
@codecov
Copy link

codecov bot commented Oct 31, 2022

Codecov Report

Merging #46 (516bccc) into master (f9a8dd0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #46   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines         1222      1224    +2     
=========================================
+ Hits          1222      1224    +2     
Impacted Files Coverage Δ
pillow_heif/misc.py 100.00% <100.00%> (ø)
pillow_heif/private.py 100.00% <100.00%> (ø)

@bigcat88 bigcat88 merged commit 7144557 into master Oct 31, 2022
@bigcat88 bigcat88 deleted the EXIF-44 branch October 31, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pillow 9.3.0 webp EXIF changes leads to crash
1 participant