-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[expo-camera] Save metadata #6428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👌 Just a little method renaming and confusion about kCGImagePropertyGPSDictionary
😉
4d07d49
to
850106f
Compare
|
||
import androidx.exifinterface.media.ExifInterface; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just move import androidx.exifinterface.media.ExifInterface;
below import android.*
section 🤔
850106f
to
1748832
Compare
# Why Resolves expo#6399. # How UIImage strips metadata (https://stackoverflow.com/a/25595495). So I've added it manually using `Image IO API`. Moreover, I've also deleted `updateImageSampleMetadata` function - it was unuse. Android bitmap also strips metadata. # TODO - [x] iOS - [x] Android # Test Plan - https://snack.expo.io/@lukaszkosmaty/github---camera---fix-metadata ✅(returns correct metadata) - NCL ✅
Why
Resolves #6399.
How
UIImage strips metadata (https://stackoverflow.com/a/25595495). So I've added it manually using
Image IO API
. Moreover, I've also deletedupdateImageSampleMetadata
function - it was unuse.Android bitmap also strips metadata.
TODO
Test Plan