exif 2.2.0 copy "exif: ^2.2.0" to clipboard
exif: ^2.2.0 copied to clipboard

Decode Exif metadata from digital image files. Supported formats: tiff, jpeg, HEIC

exif #

Pub Package Dart CI

Dart module to decode Exif data from tiff, jpeg and heic files.

Dart port of ianaré sévi's EXIF library: https://github.com/ianare/exif-py.

Usage #

  • Simple example:
printExifOf(String path) async {

  Map<String, IfdTag> data = readExifFromBytes(await new File(path).readAsBytes());

  if (data == null || data.isEmpty) {
    printFunc("No EXIF information found\n");
    return;
  }

  if (data.containsKey('JPEGThumbnail')) {
    printFunc('File has JPEG thumbnail');
    data.remove('JPEGThumbnail');
  }
  if (data.containsKey('TIFFThumbnail')) {
    printFunc('File has TIFF thumbnail');
    data.remove('TIFFThumbnail');
  }

  for (String key in data.keys) {
    printFunc("$key (${data[key].tagType}): ${data[key]}");
  }
  
}
111
likes
120
pub points
97%
popularity

Publisher

unverified uploader

Decode Exif metadata from digital image files. Supported formats: tiff, jpeg, HEIC

Repository

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, collection, convert, sprintf

More

Packages that depend on exif