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

EXIF Data Loss When Picking Image from Gallery (Android) #1629

Open
asiteandroid opened this issue Nov 14, 2024 · 0 comments
Open

EXIF Data Loss When Picking Image from Gallery (Android) #1629

asiteandroid opened this issue Nov 14, 2024 · 0 comments
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@asiteandroid
Copy link

asiteandroid commented Nov 14, 2024

Description:

When selecting an image from the gallery using the file_picker package version 8.1.4 on Android, the EXIF metadata (e.g., orientation, timestamp, location data) is lost in the returned image file. This issue appears to occur only on Android devices.

Platform Android

Steps to Reproduce:

Pick an image from the gallery on an Android device.
Check the EXIF data of the selected image before and after picking it.
The EXIF metadata (such as orientation, timestamp, and location) is lost after selection.

Code:

FilePickerResult? result = await FilePicker.platform.pickFiles(type: FileType.image, allowMultiple: true, compressionQuality: 0)

Expected Behavior: The EXIF data should remain intact after selecting the image from the gallery.

Actual Behavior: EXIF data is lost or stripped from the image

Ref Link: https://developer.android.com/training/data-storage/shared/media#location-info-photos

@asiteandroid asiteandroid added the new issue An issue that hasn't yet been seen from the maintainer label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

No branches or pull requests

1 participant