Link to home
Start Free TrialLog in
Avatar of rawill5053
rawill5053

asked on

How to determine a digital picture's "picture taken" date from within VB6

I have noticed that Windows XP shows the date a picture was taken on some digital images. This applies to pictures taken with a Sony Mavica camera that have not been manipulated in any way. How can I access the ability to determine a "picture taken" date from within VB6?

Thanks.
Avatar of cool12399
cool12399

Mmm... that type of information is not generally available in most pictures.
Sounds like the sony cam is storing that information in the comments section of
the image... so for those types of pictures taken from those cameras, you would
simply look in the comments section of the image and extract it...
These are EXIF header properties.  Short of decoding the JPG header yourself, I don't know how you can get these from VB6 alone.  You need to use either GDI+ or .Net which you can't do from VB, get a third party control, or write a bit of code in C++.

However, decoding the JPG header shouldn't be too hard.  Try starting here http://www.media.mit.edu/pia/Research/deepview/exif.html

ASKER CERTIFIED SOLUTION
Avatar of JohnBPrice
JohnBPrice

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split points between Cool12399 and JohnBPrice

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Cool12399
EE Cleanup Volunteer