Image Load problem
Started by Shankar at 05-05-2008 8:37. Topic has 2 replies.
|
|
05-05-2008, 8:37
|
Shankar
Joined on 05-05-2008
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
|
|
|
|
|
Report
|
|
|
|
05-05-2008, 8:51
|
Qasem Lubani

Joined on 08-13-2006
Posts 1,147
|
|
|
For information on how to handle this, please visit the following forum post:
http://support.leadtools.com/SupportPortal/cs/forums/18764/ShowPost.aspx#18764
Qasem Al-Lubani LEAD Technical Support www.leadtools.com
|
|
|
|
|
Report
|
|
|
|
05-05-2008, 9:04
|
Shankar
Joined on 05-05-2008
Posts 6
|
|
|
Thanks Qasem. My problem got rectified. I have added a reference to LeadTools.Codecs.Tif.dll
|
|
|
|
|
Report
|
|
|
|
|
LEAD Support Fo... » LEAD/Axtel Barc... » Barcode » Image Load problem
|
|
Copyright LEAD Technologies, Inc. 2008
