This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, August 12, 2010 9:10:05 AM(UTC)
Groups: Registered
Posts: 25
Hi,
I'm unable to open this gif file in LeadTools. I need to convert it to a 1-bit tif.
When I try to open it in the Main 32-bit Demo, I get the "invalid file format". Normally that error indicates that the app is missing a codec, but I didn't think that was an issue with the demos.
-Kiima
LeadTools 16.5
VB.NET WinForms
#2
Posted
:
Saturday, August 14, 2010 11:25:53 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Kiima,
You are getting the error message because the image is not GIF. If you check the image info using the demo, you will find it's "Unknown (RAW)".
If you know the image information such as the width, height, BPP and color order you will be able to load it using LEADTOOLS. Please check File => Open Raw menu in our .NET Main demo.
#3
Posted
:
Thursday, August 19, 2010 9:15:53 AM(UTC)
Groups: Registered
Posts: 25
Thanks, I will look at the Open RAW function.
But I'm still a bit confused, because the file opens normally in the VBMainDemo_x86 project. How can that be?
-Kiima
#4
Posted
:
Thursday, August 19, 2010 10:14:50 AM(UTC)
Groups: Registered
Posts: 25
Nevermind, I figured it out. This .gif file has an incorrect format as .txt. So to open it normally, I have to set the Load Text Files preference to true and then LeadTools will figure out the OriginalFormat as .gif and load accordingly.
Good to know. Tricky indeed.
-Kiima
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.