|
-
Feb 6th, 2010, 08:30 PM
#16
Re: reading barcode from scanned images
coolcurrent4u,
I could have made a sample for you if you would have given me what I asked you: A sample scanned picture !
The picture that I have in my post in the other thread is too "perfect" because it was generated by the computer, I need a picture that is actually scanned by you, that is imperfect.
Second, the approach to read the BMP directly is not good. Instead load the picture into a picturebox, and THEN read the image into a byte array. This way you are not limited to only BMP, you can also read jpg, and other formats that VB6 supports. But the byte array will always be in BMP byte array regardless of the input format.
You can use the code here to get the byte array of the picture:
http://www.vbforums.com/showpost.php...5&postcount=14
Copy that code into a module
Last edited by CVMichael; Feb 6th, 2010 at 08:36 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|