LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone used LabVIEW to read Exif information from an image file?

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. 

DillonL.
0 Kudos
Message 11 of 14
(1,360 Views)

@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.....

 

 

Message 12 of 14
(1,354 Views)

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!

0 Kudos
Message 13 of 14
(1,279 Views)

I also noticed that "DateTimeOriginal" is the best choice. In some cases, "Date Taken" is the last date that the picture was edited.

0 Kudos
Message 14 of 14
(1,272 Views)