summaryrefslogtreecommitdiff
path: root/graphics/zxing-cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-24zxing-cpp: Update to 1.4.0ryoon3-133/+15
* Install BitArray.h manually to fix misc/libreoffice build. Changelog: Note: this is an intermediary release on the way to 2.0. This code is (supposed to be) API compatible (via the ReadBarcode.h interface) with v1.3.0 but contains quite a few additional deprecations. It still has SO number 1, which is as wrong as it was for release v1.3.0 and it is not ABI compatible with 1.3 either. 2.0 will be basically 1.4 but with all deprecated API removed and the final fix for #333. Main changes * Reader support for Micro QRCode by @corbers * prepared switch from std::wstring based utf16 to std::string based utf8 results, use new ZX_USE_UTF8 macro to transition to the upcoming 2.0 API * much improved 'binary' data support via new Result::bytes() API, see #334 for a detailed background discussion. * new Result::contentType() API returning information about the type of content (like text vs. binary, etc.) * better standards conformance with respect to ECI handling, see Results::bytesECI() * support for proper ECI handling across structured append symbols (see MergeStructuredAppendResults()) * new Result::error() API with improved error handling, see also DecodeHints::returnErrors() * removed all internal header files from the installed set, so only the ReadBarcode.h based APIs are supported from here on out * removed all sample images from the 'source' distribution zip/tar balls (much reduced size) * python read_barcode returns None if no symbol was found (might break existing code if not checked for None before) Minor changes * lots of little bug fixes * smaller per process runtime memory (thanks to @vkrause) * clang-13 and gcc-13 compilation fixes * ported Qt example code to Qt6 * experimental multi-symbol detection support for DataMatrix when compiled with c++-20 * fix error in multi-symbol detection of linear codes (sometimes reported 1 symbol as 2) * new -bytes and -errors options in ZXingReader * support tryRotate for PDF417 symbols
2022-07-25*: remove pkg-config from tools where no buildlink3.mk file is includedwiz1-2/+1
Bulk build on NetBSD of these packages had the same result as before (build succeeds, no PLIST change).
2022-07-15zxing-cpp: revert update to 1.4wiz3-10/+134
libreoffice is not ready for it yet.
2022-07-14zxing-cpp: update to 1.4.0.wiz3-134/+10
Note: this is an intermediary release on the way to 2.0. This code is (supposed to be) API compatible (via the ReadBarcode.h interface) with v1.3.0 but contains quite a few additional deprecations. It still has SO number 1, which is as wrong as it was for release v1.3.0 and it is not ABI compatible with 1.3 either. 2.0 will be basically 1.4 but with all deprecated API removed and the final fix for #333. Main changes Reader support for Micro QRCode by @corbers prepared switch from std::wstring based utf16 to std::string based utf8 results, use new ZX_USE_UTF8 macro to transition to the upcoming 2.0 API much improved 'binary' data support via new Result::bytes() API, see #334 for a detailed background discussion. new Result::contentType() API returning information about the type of content (like text vs. binary, etc.) better standards conformance with respect to ECI handling, see Results::bytesECI() support for proper ECI handling across structured append symbols (see MergeStructuredAppendResults()) new Result::error() API with improved error handling, see also DecodeHints::returnErrors() removed all internal header files from the installed set, so only the ReadBarcode.h based APIs are supported from here on out removed all sample images from the 'source' distribution zip/tar balls (much reduced size) Minor changes lots of little bug fixes smaller per process runtime memory (thanks to @vkrause) clang-13 and gcc-13 compilation fixes ported Qt example code to Qt6 experimental multi-symbol detection support for DataMatrix when compiled with c++-20 python read_barcode returns None if no symbol was found fix error in multi-symbol detection of linear codes (sometimes reported 1 symbol as 2) new -bytes and -errors options in ZXingReader support tryRotate for PDF417 symbols
2022-05-10zxing-cpp: update to 1.3.0.wiz3-13/+9
The major new features: Multi-barcode reading with the new std::vector<Result> ReadBardcodes(...) function. Does not work for Aztec, DataMatrix and Maxicode, yet. Multi-resolution scanning that can automatically downscale the input to substantially increase the detection rate on high resolution scans, see DecodeHints::tryDownscale, currently only enabled in the ReadBardcodes function New Result::symbologyIdentifier property (thanks to @gitlost) Updated and improved android wrapper (thanks to @markusfisch) Worth mentioning: Most deprecated APIs from last release were removed (will likely break your build if you still have deprecation warnings with 1.2.0) New Result::lineCount and DecodeHints::minLineCount properties to improve reliability of 1D code reading New Result::isMirrored property (works for QRCode, PDF417, DataMatrix) Improved FNC1 handling and deprecation of DecodeHints::assumeGS1 Lots of small fixes all over the place Drop in-tree copy of stb image library New OpenCV example code QRCode reading improvements Python 3.10 support
2022-02-06zxing-cpp: Fix build without the internet accessryoon1-1/+3
* Blackbox tests target pulls fmtlib via git command. Disable it. Reported by wiz@. Thank you.
2022-02-05graphics/zxing-cpp: import zxing-cpp-1.2.0ryoon5-0/+207
ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in C++. It was originally ported from the Java ZXing Library but has been developed further and now includes many improvements in terms of quality and performance. It can both read and write barcodes in a number of formats.