Project Description
The project provides a library which scans 1D/2D barcodes inside of images.
The following barcodes are supported: UPC-A, UPC-E, EAN-8, EAN-13
,Code 39, Code 93, Code 128, ITF, Codabar, RSS-14 (all variants), QR Code, Data Matrix, Aztec and PDF 417.
The generation of barcode images is supported too.
The project is a port of the java based barcode reader and generator library ZXing.
http://code.google.com/p/zxing/
It started as a fork of the longer existing port hosted in the ZXing repository. The original port is a little bit out-dated. I synced all changes since then with hand-ported code. All unit tests were added. Some speed improvements and easy-to-use wrapper classes are included too.
The library is available as
NuGet package too.
Why is the status "alpha"?
The scanning and generating features are almost stable. But the wrapper api around the zxing core isn't finished yet. There are some changes and extensions planned for the next future.
Usage examples
The source code repository includes small examples for Windows Forms, Silverlight and Windows Phone.
small example decoding a barcode inside a bitmap
// create a barcode reader instance
IBarcodeReader reader = new BarcodeReader();
// load a bitmap
var barcodeBitmap = (Bitmap)Bitmap.LoadFrom("C:\\sample-barcode-image.png");
// detect and decode the barcode inside the bitmap
var result = reader.Decode(barcodeBitmap);
// do something with the result
if (result != null)
{
txtDecoderType.Text = result.BarcodeFormat.ToString();
txtDecoderContent.Text = result.Text;
}
Help wanted
I'm looking for testers and developers especially for the windows phone platform. I'm not a windows phone developer and I don't have a windows phone development device. I can only work with the windows phone emulator which has some limitations like the missing support for webcams. It would be great to know if the library works with real devices.
All other help is welcome too!
Feedback
You use the library?
I would be happy if you give me a short note on the use of the library.
You found a bug?
Please create a new issue here or start a discussion about it if you are not sure.
You use the library and you are not happy with it?
Write me an email please or start a discussion about your problems with it. I will try to help you.
Support it
If you find the project useful and you wish to support the future development feel free to support it with a donation.

Beside a donation patches, bug reports, feedback and other useful help are always welcome!