Reading and decoding PDF-417 barcodes stored in an image or PDF file from within a .NET application

StackOverflow https://stackoverflow.com/questions/604233

  •  03-07-2019
  •  | 
  •  

Question

I am looking for a .NET library that is able to decode data from a PDF-417 barcode that is embedded either in an image file or PDF. At this point, I have only been able to find a Java version and a C version.

Ideally, this library would be both open-source and free of charge, but I doubt such a decoder exists.

I am open to trying out demos of existing products that you may have had experience with - which leads me to the question - have you had any experience reading PDF-417 barcodes embedded in images or PDFs using .NET, and which of the available products would you recommend to do so?

Was it helpful?

Solution

We use components (not free) from IDAutomation for PDF417. They are very good. We use them for encoding, as opposed to reading and decoding.

Haven't used this component of theirs, but have a look it is C#, and you can obtain the source code, but again, not free.

http://www.idautomation.com/barcode-recognition/

OTHER TIPS

The ClearImage Barcode Recognition SDK for .NET is probably the easiest way to decode PDF 417 and many other barcodes. I use it in many projects... although it is not free

         var bitmap = WpfImageHelper.ConvertToBitmap(_BarcodeCam.BitmapSource);

        _ImageEditor.Bitmap = bitmap;
        _ImageEditor.AutoDeskew();
        _ImageEditor.AdvancedBinarize();

        var reader = new BarcodeReader();
        reader.Horizontal = true;
        reader.Vertical = true;
        reader.Pdf417 = true;

        //_ImageEditor.Bitmap.Save("c:\\barcodeimage.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);

        var barcodes = reader.Read(_ImageEditor.Bitmap);

        if (barcodes.Count() > 0)

try this

http://platform.twit88.com/projects/mt-barcode

This is a zxing c# port

Aspose has a PDF417 encoder/decoder for both .NET and Java, but it is not open source: http://www.aspose.com/categories/.net-components/aspose.barcode-for-.net/default.aspx

Morovia provides a free pdf417 decoder.

I've just successfully integrated the ZXing .Net port from java. It's not as powerful as other paid SDK's - for instance it couldn't detect barcodes in a rotated image. However, it's free and might work for you if you're on a budget. Generally you'll find the paid SDKs cost $400 and up. It has over a million downloads on Nuget, if that means anything.

https://github.com/micjahn/ZXing.Net

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top