Page 1 of 1

Editing JPEG metadata

Posted: Fri Mar 03, 2017 2:19 pm
by thatkeith
I want to edit metadata in a JPEG image – but I want to do it, ultimately, in a mobile environment. So my current use of exiftool is out, sadly. I have tried the 'livecodeExif' stack on Github (https://github.com/angerangel/livecodeExif) and that's pretty good... it doesn't show me all tags but I can work on that. The big stumbling block is not being able to WRITE tags back into the file.

I can easily read the innards of a JPEG using binfile and find the relevant exif/xmp data.I can write that back out as a JPEG (binfile again), but it only creates a working image file if I don't alter the number of chars in the file. Which is of course a tad limiting. :D

Any suggestions for me to explore re writing metadata into image files, pure LiveCode methods that could work in a mobile environment?

k