Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, August 16, 2010 10:00:41 AM(UTC)

Kiima  
Kiima

Groups: Registered
Posts: 25


Hi,
 I'm having a hard time opening the attached PNG file in my VB6 project using the COM Interop dlls. I get the error "Stamp is present by data is corrupted." I've searched the help, but haven't found anything useful. What does this mean? How can I fix it?

For i = 1 To codecInfo.TotalPages
            Dim riConvertedImage As New RasterImage
            Set riConvertedImage = codecs.Load_10(mstrPathAndFileName, 0, CodecsLoadByteOrder_BgrOrGray, i, i)
            origDPI = riConvertedImage.XResolution

             etc.....
Next

Thanks,
-Kiima

LeadTools 16.5
VB6 (COM Interop) WinForms
File Attachment(s):
TR02-GrpHIJK-005349.zip (1kb) downloaded 26 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, August 16, 2010 10:02:45 AM(UTC)

Kiima  
Kiima

Groups: Registered
Posts: 25


I should probably mention that I can open the file using the VB.NET demo.
 
#3 Posted : Tuesday, August 17, 2010 12:01:34 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Kiima,
I tried to load your PNG file in a small VB6 project that uses LEADTOOLS v16.5 COM interop and it did not generate the error message you are getting. In my code I only loaded your PNG file and saved it to JPEG format and it worked.
If the problem is in your own code, please isolate it in a very small working project (NOT your full application) and send me this project in a ZIP or RAR file so I can check it for you.

I'm using LEADTOOLS v16.5 latest patches released on July 23rd. If you are using older DLLs, please send an email to support@leadtools.com and mention this forum post in the email.
 
#4 Posted : Friday, August 20, 2010 9:30:00 AM(UTC)

Kiima  
Kiima

Groups: Registered
Posts: 25


Once I updated the .dlls for that project, everything worked great. Thanks!
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.069 seconds.