exif_reader
4.2.0, released 3 months ago by mgenware.com
Decode EXIF metadata from various image formats in Dart, Web, and Flutter.
What it does
exif_reader parses EXIF data from TIFF, JPEG, HEIC, AVIF, PNG, WebP, JXL, ARW, RAW, DNG, CRW, CR3, NRW, NEF, RAF files. It returns an ExifData object containing tags and warnings.
AI-written summary of version 4.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read EXIF tags from image files in a Dart or Flutter app.
- You want a pure Dart solution that works on mobile, web, and desktop without native plugins.
- You need support for newer formats like JXL or CR3 via RandomAccessSource.
Skip it when
- You only need a subset of EXIF tags and prefer a lighter dependency footprint.
- You are building a library that must avoid external dependencies like random_access_source.
Strengths
- Pure Dart implementation with WebAssembly support for performance.
- Supports a wide range of image formats including newer ones (JXL, CR3).
- No native platform code required; works on all supported platforms.
Weaknesses
- Requires random_access_source for file access, adding an extra dependency.
- Some formats (CR3, JXL) still need dart:io when loaded from files, limiting full web support.
- No built‑in UI helpers; purely a data extraction library.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
Add exif_reader and random_access_source to pubspec. No special permissions needed.
final exif = await readExifFromBytes(bytes);
print(exif.tags);Alternatives
Packages that do the same job and could replace exif_reader.
- unorm_dart
Unicode normalization for Dart supporting NFC, NFD, NFKC, and NFKD forms.
87Compare - resource_portable
Read resource data and files in a portable way across VM, Web, and Flutter.
70Compare - dart_earcut
Performant ear-clipping polygon triangulation algorithm
51Compare - exif
Decode EXIF metadata from TIFF, JPEG, HEIC, PNG and WebP files in Dart.
50Compare
Works with
Packages commonly used together with exif_reader: ones it builds on, ones built on it, and its own family.