v3.3.0
exif
Decode Exif metadata from digital image files. Supported formats: TIFF, JPEG, HEIC, PNG, WebP
130Likes 119K30-day downloads140Pub points
AndroidiOSmacOSWindowsLinux
Dart package to decode Exif data from tiff, jpeg and heic files
^2.0.0^1.15.0^3.0.0^4.3.0^7.0.0^3.1.2^2.1.4>=1.0.0 <2.0.0^6.0.0^2.0.1^1.8.0^2.1.0^1.16.8English project snapshot. Visit GitHub for the latest content.
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.
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}");
}
}