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 · 2 comments
Open

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

asiteandroid opened this issue Nov 14, 2024 · 2 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
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Nov 22, 2024
@asiteandroid
Copy link
Author

Do you have any updates on this?

@github-actions github-actions bot removed the stale label Nov 27, 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