brendan-duncan / image

Dart Image Library for opening, manipulating, and saving various different image file formats.
MIT License
1.17k stars 265 forks source link

Spinning off image metadata extraction into a separate library? #560

Open lukehutch opened 1 year ago

lukehutch commented 1 year ago

image has good support for reading image metadata. There isn't another library out there that really does this -- https://pub.dev/packages/exif only works for JPEG images, for example.

Maybe because of tree shaking, this is a moot point, but I would love to see the metadata parsing parts of image spun off into a separate library.

I am using Flutter for all my image processing, because image processing is accelerated on Flutter, but I do need to read image metadata, and other than width and height, Flutter doesn't give me that information.

lukehutch commented 1 year ago

To be more specific, I need to be able to decode the metadata of an image, from a Uint8List, without decompressing the image itself.

brendan-duncan commented 1 year ago

Sorry for the delay. I don't know about making a new library, I can barely keep up with the libraries I already have. But I can look into getting a metadata only decode method.