EXIFDateTaken crach

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

sct|nsky
Posts: 16
Joined: Sun Mar 21, 2010 1:20 pm

EXIFDateTaken crach

Post by sct|nsky »

Code: Select all

Dim datePicture As Date
Dim ctrl As GflAx.GflAx

Set ctrl = New GflAx.GflAx
ctrl.LoadBitmap file
datePicture = ctrl.EXIFDateTaken
Im using this code in vb6 to get the date the picture was taken. It works must of the times but some
pictures crash the program at the "datePicture = ctrl.EXIFDateTaken" line.

Here is a picture that crash the program http://spearstats.com/diverse/11-16-2010_034.JPG
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXIFDateTaken crach

Post by xnview »

Could you try to use last version of GFLAx
Pierre.
sct|nsky
Posts: 16
Joined: Sun Mar 21, 2010 1:20 pm

Re: EXIFDateTaken crach

Post by sct|nsky »

it also crash :(
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXIFDateTaken crach

Post by xnview »

sct|nsky wrote:it also crash :(
ok, i understand the problem. Send me your email by PM
Pierre.
WatcherFF
Posts: 5
Joined: Wed May 06, 2009 6:38 pm

Re: EXIFDateTaken crach

Post by WatcherFF »

xnview wrote:
sct|nsky wrote:it also crash :(
ok, i understand the problem. Send me your email by PM
Could you send the the last version too? I'm using GFLAx from here
http://newsgroup.xnview.com/viewtopic.php?f=4&t=19952.

But EXIFDateTaken() provides now some data even when picture doesn't have the EXIF Date Take information. Earlier the function provided null, so I was able to sort out the pictures with and without the EXIF Date Taken data.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXIFDateTaken crach

Post by xnview »

WatcherFF wrote:
xnview wrote:
sct|nsky wrote:it also crash :(
ok, i understand the problem. Send me your email by PM
Could you send the the last version too? I'm using GFLAx from here
http://newsgroup.xnview.com/viewtopic.php?f=4&t=19952.

But EXIFDateTaken() provides now some data even when picture doesn't have the EXIF Date Take information. Earlier the function provided null, so I was able to sort out the pictures with and without the EXIF Date Taken data.
send me your email by PM
Pierre.
sct|nsky
Posts: 16
Joined: Sun Mar 21, 2010 1:20 pm

Re: EXIFDateTaken crach

Post by sct|nsky »

Could you please send it to me again sctnsky at hotmail dot com