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 : Tuesday, February 13, 2007 7:49:26 PM(UTC)
alwayssmiling

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
 

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 : Wednesday, February 14, 2007 11:04:35 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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)
alwayssmiling

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.042 seconds.