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 : Monday, May 5, 2008 3:37:29 AM(UTC)

Shankar  
Shankar

Groups: Registered
Posts: 6


I am getting "Invalid File Format" error when loading the image through Load method of RasterCodecs class. I have added references for both leadtools.dll and leadtools.codecs.dll. Can anybody tell me where i am going wrong.

Imports Leadtools
Imports Leadtools.Codecs

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
RasterCodecs.Startup()
RasterSupport.Unlock(RasterSupportType.Barcodes1D, "")
Dim codecs As RasterCodecs = New RasterCodecs()

Dim srcFileName As String = "d:\Program Files\LEAD Technologies\LEADTOOLS 15\Images\barcode1.tif"
Dim image As RasterImage = codecs.Load(srcFileName)
End Sub
End Class
File Attachment(s):
BarcodeReading2005.zip (958kb) downloaded 18 time(s).
 

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, May 5, 2008 3:51:49 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,034

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

For information on how to handle this, please visit the following forum post:

http://support.leadtools.com/SupportPortal/cs/forums/18764/ShowPost.aspx#18764
 
#3 Posted : Monday, May 5, 2008 4:04:55 AM(UTC)

Shankar  
Shankar

Groups: Registered
Posts: 6


Thanks Qasem. My problem got rectified. I have added a reference to LeadTools.Codecs.Tif.dll
 
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.145 seconds.