This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, December 27, 2006 6:07:41 AM(UTC)
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
#2
Posted
:
Thursday, December 28, 2006 4:16:10 AM(UTC)
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)
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.