Image attributes (EXIF DATA)
Posted: 21 Jun 2015 06:27
I had made a request a while back for a function to extract image metadata (EXIF) so I could rename my jpg files inside my phone and upload them to a ftp server. Since the function has not yet been implemented I used a complicated workaround.
First I created a standalone application in tasker (with app factory) that reads the metadata from the jpg (accessing a native java function) and stores the exif info in the clipboard which is then read by automagic and the processing continues from there. The standalone app receives the file name also through the clipboard.
now my question - is it possible to make the process more reliable and use something like intents to pass data around ? I'm now using a 2 seconds delay to make sure that the clipboard gets read\written correctly.
Of course if automagic implements native java functions from android would be great and I could forget about tasker altogether.
Thanks
First I created a standalone application in tasker (with app factory) that reads the metadata from the jpg (accessing a native java function) and stores the exif info in the clipboard which is then read by automagic and the processing continues from there. The standalone app receives the file name also through the clipboard.
now my question - is it possible to make the process more reliable and use something like intents to pass data around ? I'm now using a 2 seconds delay to make sure that the clipboard gets read\written correctly.
Of course if automagic implements native java functions from android would be great and I could forget about tasker altogether.
Thanks