flutter_exif_plugin

Last updated:

0 purchases

flutter_exif_plugin Image
flutter_exif_plugin Images
Add to Cart

Description:

flutter exif plugin

Flutter Exif #
A flutter plugin for reading and writing Exif tags in various file formats.
Note: Only android is currently supported
copied to clipboard
Getting started #
Edit image from bytes #
final Uint8List imageData = image.toBytes();
final exif = ExifFlutter.fromBytes(imageData);
await exif.setAttribute(UserComment, "my comment");
await exif.rotate(20);
// apply attributes
await exif.saveAttributes();
// get modified image
final modifiedImage = await exif.imageData;
copied to clipboard
Edit image from path #
note: To use the path based constructor you will have to apply the following permissions to your manifest file.

WRITE_EXTERNAL_STORAGE
READ_EXTERNAL_STORAGE

final pathToImage = "/path/to/image";
final exif = ExifFlutter.fromPath(pathToImage);
exif.setAttribute(UserComment, "my comment");
exif.rotate(20);
// apply attributes
exif.saveAttributes()
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.