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



Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, September 13, 2009 5:51:00 AM(UTC)


Groups: Registered
Posts: 1

I get error when loading images. My code is below.<br>Development environments is;<br>
Visual Studio 2008<br>
Windows Vista Ultimate<br>
Leadtools Imaging SDK 16 (16.081224.095818)<br><br>

CSharp Code:<br>
RasterCodecs class Leadtools.Codecs.RasterCodecs codecs = new Leadtools.Codecs.RasterCodecs();<br>
Leadtools.RasterImage image=null;<br>
image = codecs.Load("g:\\temp1\\akcakale-108.jpg");<br>
catch (Exception ex)<br>

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, September 14, 2009 1:31:19 AM(UTC)

Adnan Ismail  

Groups: Guests
Posts: 3,022

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

'Invalid file format' error messages are normally generated due to a missing DLL file which is required to load specific image format. For example, if you want to load Jpeg image file, you need to add reference to the LEADTOOLS.Codecs.Cmp.dll file. For Bmp images the LEADTOOLS.Codecs.Bmp.dll DLL needs to be referenced in the application.

For a listing of the exact DLLs needed when deploying your application, refer to "Files To Be Included With Your Application" topic in our help file.
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.042 seconds.