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

outdated

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 {

  final fileBytes = File(path).readAsBytesSync();
  final data = await readExifFromBytes(fileBytes);

  if (data.isEmpty) {
    print("No EXIF information found");
    return;
  }

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

  for (final entry in data.entries) {
    print("${entry.key}: ${entry.value}");
  }
  
}
110
likes
0
pub points
97%
popularity

Publisher

unverified uploader

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

Homepage

License

unknown (LICENSE)

Dependencies

args, collection, convert, json_annotation, sprintf

More

Packages that depend on exif