native_exif
native_exif copied to clipboard
A simple EXIF metadata reader/writer for Flutter.
Hello, I was wondering if it would be possible to write exif data directly to an in-memory buffer, instead of having to write the file (even temporarily) to storage. Something...
Hi, I am currently using the native_exif package in my Flutter project to extract metadata from images. While it works perfectly for photos taken directly from the phone’s camera or...
```dart final originalExif = await Exif.fromPath(widget.file.path); dynamic originMetaDataAttributes = await originalExif.getAttributes(); originMetaDataAttributes['PixelXDimension'] = controller.croppedImage?.width; originMetaDataAttributes['PixelYDimension'] = controller.croppedImage?.height; final tempPath = '${directory.path}/${DateTime.now().millisecondsSinceEpoch.toString()}_edited.${widget.extension}'; await File(tempPath).writeAsBytes(imageBytes); final exif = await Exif.fromPath(tempPath); await exif.writeAttributes(originMetaDataAttributes);...
**Description**: I am currently encountering an issue where attempting to overwrite the EXIF `DateTime` metadata of a photo on iOS does not work. The photo still displays its original `DateTime`...