image_metadata 1.0.1

Dart native js
Flutter Android iOS web

Reads image metadata (Exif), including width, height and orientation.

image_metadata #

Reads image metadata (Exif), including width, height and orientation.

Usage #

A simple usage example:

import 'package:image_metadata/image_metadata.dart';

main() {

  var imageBase64 = '...' ;
  var imageData = ImageData.fromBase64(ImageType.JPEG, imageBase64) ;

  var metadataReader = ImageMetadataReader(imageData) ;
  
  var imageMetadata = metadataReader.read() ;

  var w = imageMetadata.getImageWidth() ;
  var h = imageMetadata.getImageHeight() ;
  var orientation = imageMetadata.getImageOrientation() ;

}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Author #

Graciliano M. Passos: gmpassos@GitHub.

License #

Dart free & open-source license.

2
likes
80
pub points
43%
popularity

Reads image metadata (Exif), including width, height and orientation.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

gracilianomp@gmail.com

License

BSD (LICENSE)

Dependencies

exif

More

Packages that depend on image_metadata