cloudacy / native_exif

A simple EXIF metadata reader/writer for Flutter.
MIT License
16 stars 17 forks source link

Writing Exif Data to in-memory buffer #32

Open sbordeyne opened 5 months ago

sbordeyne commented 5 months ago

Hello,

I was wondering if it would be possible to write exif data directly to an in-memory buffer, instead of having to write the file (even temporarily) to storage. Something like

final exif = await Exif.fromBytes(imageBytes);
...
final newImage = await exif.getImageBytes();
await exif.close(); 

would be perfect.