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 : Sunday, July 20, 2008 9:50:53 AM(UTC)
mosquitooth

Groups: Registered
Posts: 5


Hi,

I just started using LEADTools and wrote the following piece of code:

RasterCodecs.Startup()
Dim _codecs As RasterCodecs = New RasterCodecs()

Dim _image As RasterImage

_image = _codecs.Load("C:\Sample.jpg")
MedicalViewer1.Cells.Add(New MedicalViewerCell(_image, True, 1, 1))

RasterCodecs.Shutdown()

Unfortunately, this code fails with "Invalid File Format". Any ideas ?

Best wishes,

Peter
 

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 : Monday, July 21, 2008 2:55:39 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,034

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

Did you include all the codec DLLs in your project? There is one or more DLLs for each file format to enable you to load images in LEADTOOLS such as Leadtools.Codecs.Tif.dll  and Leadtools.Codecs.Fax.dll to view TIFF files and leadtools.codecs.cmp to load JPEG images.
 
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.142 seconds.