Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Image Load problem
Started by Shankar at 05-05-2008 8:37. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  05-05-2008, 8:37
Shankar is not online. Last active: 7/17/2008 1:02:55 PM Shankar

Not Ranked
Joined on 05-05-2008
Posts 6
Image Load problem

Attachment: BarcodeReading2005.zip
Reply Quote
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 is not online. Last active: 7/16/2008 2:06:19 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,020
Re: Image Load problem
Reply Quote
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 is not online. Last active: 7/17/2008 1:02:55 PM Shankar

Not Ranked
Joined on 05-05-2008
Posts 6
Re: Image Load problem
Reply Quote
Thanks Qasem. My problem got rectified. I have added a reference to LeadTools.Codecs.Tif.dll
   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » Barcode » Re: Image Load problem

Powered by Community Server, by Telligent Systems