Description
Using image_picker plugin, when I am selecting an image from Google Photo, the exif metadata is incomplete
final pickedFile = await picker.getImage(source: widget.imageSource); var r = await readExifFromFile(File(pickedFile.path)); debugPrint(r.toString());
Prints something like
{Image Software: Google, Image ExifOffset: 46, EXIF ExifVersion: 0220, EXIF UserComment:, EXIF ColorSpace: sRGB, Interoperability InteroperabilityIndex: R98, Interoperability InteroperabilityVersion: [48, 49, 48, 48], EXIF InteroperabilityOffset: 356}
GPS information, as well as the date, for example, are missing from the exif metadata.
The image has exif data as I see it in the Google Photo application
~/source λ flutter doctor ✘ 130
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[!] Android Studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.