This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 24, 2007 11:54:14 AM(UTC)
Groups: Registered
Posts: 1
here is the method that I have the error in
RasterImage image = codecs.Load(@"C:\Backup\LG0.tif");
Please help.
Thanks.
#2
Posted
:
Wednesday, January 24, 2007 12:13:35 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Invalid File Format means that the file is either invalid or that LEADTOOLS cannot find the necessary filter/codec dll to load the file. If you are using 14.5, make sure you are setting the RasterCodecs.CodecsPath property to where your codecs dlls are located. If you are using 15, make sure you call RasterCodecs.Startup and that you have included as references the necessary dlls for your file format. If you don't want them added as references, you need to simply copy them to the same directory as your exe.
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.