Share

Exif reader class/dll for VB 6

Tracker: Bugs

5 Overflow error reading certain images - ID: 635412
Last Update: Comment added ( enet )

When reading images from Kodak DC240 camera or
Sony DC-TRV20 video camera an overflow error occurs.

Example file attached.

Nick Miles
nick@databasedevelopments.com


Nobody/Anonymous ( nobody ) - 2002-11-08 09:57

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2005-04-12 00:44
Sender: enet

Logged In: YES
user_id=1257453

Yes, it also solved my overflow error

Use:

ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256! *
256! * 256! + _

instead

ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256& *
256& * 256& + _

But for me, the line nuber was 472.


Date: 2003-07-07 21:35
Sender: nobody

Logged In: NO

The problem:

The problem is in line 478:
In some images, type "Long" (&) is not big enough.
I changed it to "Single" (!). Now it seems to work.

Old version:
ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256& *
256& * 256& + _

New version:
ExifTemp(Offset_to_TIFF + .Offset_To_Value + 3) * 256! *
256! * 256! + _


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.