03-08-2009 09:40 AM
Does anyone know how (or have a VI) that can extract metadata from jpeg images? Specifically I am looking for "date picture taken" but it would be nice to have other tags as well.
Thanks,
Jeremy
Solved! Go to Solution.
03-09-2009 02:39 AM
Hi, Jeremy,
You can't get this info in Vision "directly".
Otherwise there are two possible ways:
1. Use third-party utility or library, for example ExifTool by Phil Harvey. Call it with your image, parse the output, and you will get info.
2. Read Exif specification, and parse your jpeg file yourself. More work, but you will stay independend from third-party code.
Andrey.
03-09-2009 09:08 PM
Hi Andrey,
so I guess there is no built-in solution within labview. I just did a search for the EXIF IFD attribute in the files I am interested in but they did not show up. I am thinking it may be stored somewhere else. The Windows file system can see and display this info (see jpg attached). I need to rename my files according to the date/time stamp and I don't want to do it one by one.
If you or anyone else can help with a VI that would be enormously helpful.
Thanks again,
Jeremy
03-10-2009 08:47 AM
If you are willing to settle for the last modification date, you can get it using standard File IO. Under Advanced File Functions, there is a vi called File/Directory Info. This gives you the last modification date.
If you have a Canon camera, there is a utility that comes with it that is very useful for renaming files by the date the picture was taken. I suspect there are similar utilities for other cameras. You also might be able to find a generic utility for free or very cheap. If you don't have to do it in LabVIEW, there are several other options.
Bruce
03-14-2009 05:37 AM
Hi
There are activex exif in the net. I plan to test this one: exif activex.
It looks interestig to extract info from pictures.
Cheers
ALipio
03-14-2009 09:11 AM
Thanks, I am pretty sure this will work!
Jeremy
03-16-2009 01:31 PM
Hi
there is another choice (freeware and source code available): jhead in this kink
It is an exe and runs fine.
Cheers
Alipio
12-10-2016 12:32 PM
yes contact me
02-20-2017 06:27 PM
How can I contact you privately?