Jump to content

DateTime of image ?


Tukata
 Share

Recommended Posts

Hi

I want to get Date & Time of an image. I tried this code but got nothing.

Please help.

_AddPair($aTag, 0x9003, "DateTimeOriginal")
$FileDate = _ImageGetParam($aInfo, "DateTimeOriginal")
MsgBox (0, "All Picture Info", $FileDate)

Thank you

tukata

Link to comment
Share on other sites

Hi

I want to get Date & Time of an image. I tried this code but got nothing.

Please help.

_AddPair($aTag, 0x9003, "DateTimeOriginal")
$FileDate = _ImageGetParam($aInfo, "DateTimeOriginal")
MsgBox (0, "All Picture Info", $FileDate)

Thank you

tukata

Either look at _Date_Time_GetFileTime in help file: or

this link and use 3,4,5 instead of 26,27,28.

Link to comment
Share on other sites

Hi

I want to get Date & Time of an image. I tried this code but got nothing.

Please help.

_AddPair($aTag, 0x9003, "DateTimeOriginal")
$FileDate = _ImageGetParam($aInfo, "DateTimeOriginal")
MsgBox (0, "All Picture Info", $FileDate)

Thank you

tukata

Looks like you try to use mine UDF. I checked, it had a problem in latest Autoit version due deprecated struct type was removed.

Updated UDF

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...