This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, November 10, 2005 10:18:56 AM(UTC)
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.
#2
Posted
:
Thursday, November 10, 2005 12:41:37 PM(UTC)
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.
#3
Posted
:
Saturday, November 12, 2005 9:44:21 PM(UTC)
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)
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)
Groups: Registered
Posts: 4
Thanks. I'm able to make it working.
#6
Posted
:
Wednesday, April 5, 2006 12:53:36 AM(UTC)
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)
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.
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.