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 : Wednesday, December 27, 2006 6:07:41 AM(UTC)
Anathema

Groups: Registered
Posts: 11


Hi,
I use Leadtools 15 with C#, when I try to load an image the program return an exception with Invalid File Format message, where is the problem?

code:
    RasterCodecs.Startup();
    RasterCodecs rasterCodec = new RasterCodecs();
    rasterCodec.ThrowExceptionsOnInvalidImages = true;
    RasterImage image = rasterCodec.Load(@"C:\sample.bmp");
    RasterCodecs.Shutdown();

Thanks,
Davide
 

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 : Thursday, December 28, 2006 4:16:10 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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




Hello Davide,


Please try to add the "Leadtools.Codecs.Bmp.dll" DLL to your application, does it fix your problem?
 
#3 Posted : Thursday, December 28, 2006 5:30:30 AM(UTC)
Anathema

Groups: Registered
Posts: 11


Yes it does, now all run correctly.

Thanks,
Davide
 
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.041 seconds.