> Tech FAQ
> Scan colored barcode image in C# .NET project
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?
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);
Hope the C# code can be helpful.
---- pqScan Support Team