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 : Thursday, August 12, 2010 9:10:05 AM(UTC)

Kiima  
Kiima

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
File Attachment(s):
NP-105.zip (38kb) downloaded 25 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 : Saturday, August 14, 2010 11:25:53 PM(UTC)

Basel  
Guest

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)

Kiima  
Kiima

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)

Kiima  
Kiima

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.

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