> Tech FAQ
> Recognizing all barcode in a picture in C# .NET project
Hi, I'm Aaron. I'm looking for a solution to scan one time and recognize all barcodes in an image. Before download you barcode reader library, can you tell me is it available by using your library? If true, can you give me some demo code in C#, such as scanning all PDF417?
I'm glad to tell you that pqScan .NET Barcode Scanner is able to scan multiple barcodes from a picture in once. There are two scenarios in the return barcode results.
First is that there are two or more different type of barcodes in the image, such as one Code 128, one QR Code, and one Data Matrix. While you scanning this barcode picture, you can get all the three barcode results. Second is that there are multiple barcodes with equal barcode symbol in one image, our .net barcode reader control can also decode all this barcode type out to you.
Before you using our barcode reader toolkit, make sure your projects is running in the .net framework 2.0 or highter. The C# example code is only one line, it's really simple and easy to use.
static void Main(string args)
//load barcode picture to memory
Bitmap bmp = Bitmap.FromFile("barcode-image.png");
//scan all PDF 417 barcde in this image.
BarcodeResult results = BarCodeScanner.Scan(bmp, BarCodeType.PDF417);
foreach (BarcodeResult result in results)
//show each PDF 417 message
Console.WriteLine("PDF-417 Barcode data : ");
Hope the C# code can be helpful.
---- pqScan Support Team
Can I Read Barcode in PDF document using C#?
Need help for reading barcode with unconventional position?
How to read barcode from Microsoft Office?
Can I read barcode image from report in C# .NET?
Can I read color barcode image in C# .NET?
Is it available for reading all of the barcode in a picture by one time?
How to scan barcode from webcam or other device?
Can I use your barcode reading SDK in Mono?
I can't scan barcode from my images with different DPI.
How to scan barcode in asp.net web application?
How to scan barcode in WPF project using C# language?
Can I run your .net barcode reader library in Windows7 or Windows8?
How to scan rotated barcode in .net project?
SUPPORT SYSTEM: MICROSOFT WINDOWS XP, WINDOWS VISTA, WINDOWS 7, WINDOWS 8, WINDOWS SERVER. SUPPORT PLATFORM: .NET FRAMEWORK, VISUAL BASIC, VISUAL C#, ASP.NET, JAVA, JDK, SWING, APPLET, JSP, SERVLET, J2SE, J2EE. SUPPORT BARCODE TYPE: QR CODE, DATA MATRIX, PDF417, AZTEC CODE, CODE 128, CODE 39, CODE 93, CODABAR, EAN 13, EAN 8, UPCA, UPCE, ITF14. SUPPORT IMAGE FORMAT: JPEG, JPG, PNG, GIF, TIFF, TIF, BITMAP, BMP. SUPPORT VIEWER: MOZILLA FIREFOX, INTERNET EXPLORER, GOOGLE CHROME, OPERA, SAFARI, ADOBE and ACROBAT PDF.
Copyright © pqScan 2010-2017. All Rights Reserved.