This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, May 5, 2008 3:32:29 AM(UTC)
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
#2
Posted
:
Monday, May 5, 2008 3:46:49 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 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 3:59:55 AM(UTC)
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.