native_exif 0.1.2
native_exif: ^0.1.2 copied to clipboard
A plugin to read and write exif data of images.
native_exif #
A simple EXIF metadata reader for flutter using native functions from iOS and Android. This plugin does only work on iOS and Android. Flutter Web or Windows is not yet supported.
Usage #
First create a EXIF reader instance by reading out an image path:
final exif = await Exif.fromPath(pickedFile!.path);
Now you can run either pre-defined functions or get all attributes:
final shootingDate = await exif.getOriginalDate();
final attributes = await exif.getAttributes();
Docs #
For code docs, you can use the automatically generated reference on pub.dev.
Example #
For a better usage example, see the example folder or use the example page on pub.dev.