How to read multiple barcodes from image using C#?
How to scan, read, decode Unicode text from barcode images for ASP.NET Core web app and Windows application?
Using Free C# Souce Code to read, decode multiple barcodes from image for ASP.NET Web Application & IIS Projects
This page will show you how to scan and read multiple barcodes from a single image file or image stream object using C# code.
Scan, read multiple barcodes from an image file using C#?
One of the most common feature is to scan and find all barcodes with target barcode format from an image file using C#.
string[] datas = BarcodeScanner.Scan("qrcode-barcode.png", BarcodeType.QRCode);
BarcodeDetail[] datasInDetail = BarcodeScanner.ScanInDetails("qrcode-barcode.png", BarcodeType.QRCode);
How to read barcodes with multiple formats from a single image using C#?
Sometimes one image may contain multiple barcodes with different barcode foramts. You can also quickly scan and read all barcodes with specified formats using C# barcode reader library.
- The C# code below will scan the barcode image and find out all barcodes with barcode type QRCode and barcode type Code128
BarcodeDetail[] datas = BarcodeScanner.ScanInDetails("multiple-barcodes.png",
new List<BarcodeType> { BarcodeType.QRCode, BarcodeType.Code128 });
How to read barcodes with all supported types from an image using C#?
You can also use one method to read all barcodes with library supported barcode types from a image in C# code. However it will reduce the reading speed,
and may cause the error with wrong recognized barcode data.
- Use property BarcodeType.All to scan and decode all supported barcode formats from an image
BarcodeDetail[] datasInDetail = BarcodeScanner.ScanInDetails("multiple-barcodes.png", BarcodeType.All);