Can I read color barcode image in C# .NET?

back to home  >  Tech FAQ  >  Scan colored barcode image in C# .NET project

Question:

Hi,I'm working in a small IT company, I was asked to decode some colored barcode in images. I searched online for some time, but those barcode reader toolkits can't scan the colored barcode images from me. So I'm wondering if your .net barcode reader control can do this?

---- Jeremy

Answer:

Hi, Jeremy.

Yes, you can use pqScan .NET Barcode Scanner to recognize your colored barcodes in your C# project.

According to the barcode reading standard, decoding barcode is required the bar and space of the barcode with obvious color aberration, so the black and white is the best choice. Sometimes, there may some other colored barcode you want to decode, the bigger the color difference between the bar and space, the more percentages our .net barcode reader can read it out. If the bar color and the space color is similar, maybe our barcode reader software can't decode anything.

Please note, the colorful barcode image is not supported. What is colorful barcode? It means each bar of this barcode has a unique color.

It's the same to the usual situation, pqScan .net barcode reader SDK can read colored 2D barcodes as QR Code, Aztec Code, PDF417 and Data Matrix. And the supported Colored 1D barcodes contain UPC/EAN, Code 128, Code 39, Code 93, ITF 14 and Codabar.

In the end, we post a C# example, if you need, you can have a try.

Bitmapimage = Bitmap.FromFile("colored-image.jpg");

BarcodeResult[] results = BarCodeScanner.Scan(image);

Console.Write(results[0].Data.ToString());

Hope the C# code can be helpful.

---- pqScan Support Team

Online Demo Download Trial 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?