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 : Thursday, November 10, 2005 10:18:56 AM(UTC)

jtan  
jtan

Groups: Registered
Posts: 4


Hi...

I'm a beginner on Leadtools. I am trying and would like to know how to load image to the RasterImageViewer class.

Thanks.
 

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, November 10, 2005 12:41:37 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Hello,
A simple example is:
rasterImageViewer1.Image = codecs.Load("ImageFileName")


Both the RasterImageViewer and the Codecs classes have plenty of code
samples in the help files. You can also open the demo projects shipped with the toolkit, compile them and trace into them.

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Saturday, November 12, 2005 9:44:21 PM(UTC)

jtan  
jtan

Groups: Registered
Posts: 4


Thank you very much Mr. Admin. That would be a very good start for me. :)
 
#4 Posted : Saturday, November 12, 2005 9:54:40 PM(UTC)

jtan  
jtan

Groups: Registered
Posts: 4


I am using VS.net 2005 express and the compilation doesn't seem to go successful.
 
#5 Posted : Saturday, November 12, 2005 11:57:06 PM(UTC)

jtan  
jtan

Groups: Registered
Posts: 4


Thanks. I'm able to make it working.
 
#6 Posted : Wednesday, April 5, 2006 12:53:36 AM(UTC)
kalyanchakri

Groups: Registered
Posts: 13


Hi ,

using RasterImageViewer1.Image = _codecs.Load(_fileName);

throwing exception " Invalid file format " for any type of image  ( i need to work on tiff file ) , please can you help me in this regards

 

 

thanks

kalyan

 
#7 Posted : Sunday, April 9, 2006 5:43:38 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Kalyan,
The most probable causes of this problem are:


1. You did not deploy the needed LEADTOOLS codec DLL files, such as
Leadtools.Codecs.Tif.dll and Leadtools.Codecs.Fax.dll. For a list of
needed files, see the help topic "Files To Be Included With Your Application"

2. You deployed the needed files, but did not specify their location in the _codecs.CodecsPath property.


Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.076 seconds.