This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, February 13, 2007 7:49:26 PM(UTC)
Groups: Registered
Posts: 27
Hi,
Recently my orgn buy this raster imaging tools. Now im working on this product. I have a problem to open an image. I tried with the following statement but im getting an exception.
RasterCodecs.Startup();
RasterCodecs codecs = new RasterCodecs();
string filename = "filepath";
RasterImage image = codecs.Load(filename,0, 0, -1, -1);
rasterimageviewer imageviewer;
imageviewer.image = image;
Just this is a sample app to know the functionality of diff classes.
Any help will be greatly appreciated
#2
Posted
:
Wednesday, February 14, 2007 11:04:35 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
Do you mean that you are not able to load the image?
What is the exact error message or exception that you get?
However, the problem might be related to a missing filter DLLs in your project. The filter assemblies are responsible on loading and saving the different file formats. You need to explicitly reference the DLL for the format that you want to support.
For example, to support TIFF file format in your application, you need to reference the Leadtools.Codecs.Tif.dll and Leadtools.Codecs.Fax.dll in your application.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Thursday, February 15, 2007 8:57:50 PM(UTC)
Groups: Registered
Posts: 27
Hi,
Ya
now im able to solve my prob by referencing the codecs.tif.dll.
Thank u for ur reply.
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.