02-04-2019 09:55 AM
Hi Sapiophile,
You might have better luck making a new forum post since this one has some age on it. That way more members can see it and you might get some helpful insight.
02-04-2019 12:34 PM
@Sapiophile wrote:
thanks, but my application is running on Mac, so dotNet is not an option.
I'm pretty sure one could solve it with labview native only, but my knowledge is just not enough for that. I'll just keep on trying 😉
if you want to do this manually in plain G LabView
- as Troy did here: extract time taken exif manually_82.vi 54 KB -
this looks promising:
https://en.wikipedia.org/wiki/Exif
--> Exif standard version 2.31
Table 7 Exif IFD Attribute Information (1)
looks like quite some work for you to do.....
06-10-2019 08:35 PM - edited 06-10-2019 08:36 PM
RE: Image file metadata dotNET_82.vi
I know this is old, but I just used this and had problems with trying to rename files. It turns out you need an invoke node from the "Bitmap" refnum to "Dispose" before you close the refnum. Otherwise, you can get errors on renaming (error 5: file refnum open). In other words, add an invoke "Dispose" just before the Close function.
This isn't the fastest VI for just getting the "Date Taken" or "DateTimeOriginal", but it works on files from different cameras. Note that some cameras use either of these fields, so if "Date Taken" is not available, then look at "DateTimeOriginal". They are both in the same format.
Thanks!
06-10-2019 08:49 PM
I also noticed that "DateTimeOriginal" is the best choice. In some cases, "Date Taken" is the last date that the picture was edited.