PDA

View Full Version : Reading Exif using VB


Jonesgj
27th March 2009, 06:56 PM
Has anyone written anything in Visual Basic (VBA or .net) to extract Exif data from jpg images ?

Regards

Graydon

Dick Bowman
28th March 2009, 07:46 AM
I wrote something about three years back (in APL, not VB), but it's gone into my "dormant" list because I didn't find a lot of use for it. And I don't really feel like reviving it at the moment.

Wasn't too hard once I figured out how to navigate round the obtuse file structure.

The references I used were

http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
http://www.exif.org/Exif2-1.PDF

I haven't checked to see whether these are still valid links.

There's also a program called "EXIF Image Viewer" - which seems to do the job (unless, like me, you just felt that you'd like to dig around and write a bit of code).

Jonesgj
28th March 2009, 07:52 AM
Thanks Dick, I'll check these out.

I don't really need to do anything 'in anger' it was just I was teaching my son a little HTML and Javascript, and we got onto how you can author things in VBA.

I was going to put together a little VB application, using excel to scan the content of a chosen driectory and add it to a spreadsheet. Allow you then to modify the content of that sheet (may be rename the photo) and then export the details to a html page with all the selected photos embedded.

Can do it without the Exif though.

Regards

Graydon