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

fix: use new image metadata as destination when copying exif data #248

Merged
merged 1 commit into from
Nov 17, 2023
Merged

fix: use new image metadata as destination when copying exif data #248

merged 1 commit into from
Nov 17, 2023

Conversation

murat-mehmet
Copy link
Contributor

Summary

Currently on iOS exif metadata is copied from the new file to the old file, this causes new orientation value to be ignored. The orientation from the old file causes image to be displayed incorrectly.

Solution is to actually copy from source to the new metadata and use the new one.

Changelog

fixed copy exif on iOS

Test Plan

Test compression of an image with rotated orientation.

Copy link
Owner

@numandev1 numandev1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@numandev1 numandev1 merged commit 958586f into numandev1:main Nov 17, 2023
2 of 3 checks passed
@numandev1
Copy link
Owner

@murat-mehmet can you checkout this use case in android?

@numandev1
Copy link
Owner

@murat-mehmet released in 1.8.22

@murat-mehmet
Copy link
Contributor Author

@murat-mehmet can you checkout this use case in android?

android works well in this case 👍

@murat-mehmet murat-mehmet deleted the patch-1 branch November 18, 2023 00:05
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.

2 participants