If you have read the article How to Benchmark Barcode SDK Performance – ZXing vs ZBar, you may have noticed that ZBar relies on ImageMagick. ImageMagick is an open source software suite that capable of reading a variety of images. If you just want to write a barcode testing program, Windows Binary Release of ImageMagick is enough. However, if you consider distributing your applications, the Windows binary distribution is not suitable. Why? I’ll show you in the following content.
I saw many posts arguing the performance winner between open-source barcode SDKs – ZXing and ZBar. As an engineer, who is developing commercial barcode reader software for Dynamsoft, I am curious about which open source project is better, ZXing or ZBar? Considering ZXing is implemented in Java, whereas ZBar is implemented in C/C++. To fairly compare their performance, I decided to use JNI to wrap ZBar C/C++ source code and benchmark them in a Java program.