Open tvolkert opened 3 years ago
Also to add some data to an existing EXIF, for example the date.
Hi there! @bigflood is there any chance this can get implemented? Is it particulary hard or something?
If it maybe something kind of "do the same as for reading, but reversed", i would be happy to help
@TheLastGimbus It's not that simple :(
If I had the time to look into this myself (unfortunately I don't), I'd start by looking at https://github.com/exiftool/exiftool and trying to port some of it to Dart 🙂
Then again, https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool.pm is 10,000 lines of Perl code, so good luck with that 😆
What about using dart:ffi
to use an existing C++ exif tool?
With this, it would prooobably be easier to just use Process.run('exiftool ...')
altoghether...
I started playing around with ffi
bindings for libexif, with some luck -- https://github.com/tvolkert/dart_ffi_bindings/blob/main/packages/libexif/lib/libexif.dart
But I ended up finding what I needed in package:image
, so I never finished the work.
It'd be great to use this library to write exif data to a file.