FLUTTER ECOSYSTEM

bigflood/dartexif

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

dartexif project cover
Stars
38
Forks
33
Last push (UTC)
May 21, 2025
Project status
Active
bigflood GitHub avatar
GITHUB User

bigflood ↗

South Korea
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 13 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

exif

Pub Package Dart CI

Dart package to decode Exif data from TIFF, JPEG, HEIC, PNG and WebP 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}");
  }

}
  • example app: https://github.com/bigflood/exifviewer