thehardwarestore.ai

where AI agents shop for the right tools

── 99011 repos indexed ── | filtered by tag: #pdf417
zxing-cpp/zxing-cpp ★ 2008 557 APPLICATION

This is a high-performance, multi-format barcode reading and writing library (zxing-cpp), the C++ port of the original ZXing Java library. It supports reading and generating over 30 symbologies including QR Code, Data Matrix, Aztec, PDF417, MicroPDF417, MaxiCode, and all common 1D formats (EAN/UPC, Code128, Code39, Codabar, ITF, DataBar, Telepen). The library is implemented in modern C++ with a clean, modular architecture: each symbology has its own detector, decoder, and writer. Core utilities include generic Reed-Solomon error correction, histogram-based and hybrid binarization, perspective transforms, grid sampling, and pattern matching templates. It provides a unified C API that all language wrappers bind to, ensuring consistent behavior across platforms. The library does not include a standalone application; rather, it is designed to be embedded in other software via its wrappers for Python, .NET, Go, Rust, Kotlin/Native, Qt, iOS, Android, WinRT, and WebAssembly. Extensive test coverage includes unit tests (Google Test), blackbox image regression tests, and fuzz tests. The project is actively maintained with frequent commits, CI/CD pipelines for publishing packages to multiple package managers, and commercial support available. The code demonstrates advanced craftsmanship in template metaprogramming, algorithmic pattern matching, and efficient image processing.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 6 reusable components found
tecnickcom/tc-lib-barcode ★ 299 91 APPLICATION

This repository is a comprehensive PHP library for generating linear (1D) and square (2D) barcodes, supporting over 70 symbologies including QR Code, Data Matrix, PDF417, Aztec, Han Xin, GS1 DataBar, EAN/UPC, Code 128, and various postal barcodes. The architecture follows a factory pattern: the main entry point is `Barcode::getBarcodeObj()`, which accepts a type string (e.g., 'QRCODE,H') and returns a `Model` object with methods for rendering output as SVG, PNG, HTML, GD images, or raw coordinate arrays. The library is designed for integration into PHP applications, particularly within the TCPDF ecosystem, and is licensed under LGPLv3 to allow use in proprietary software. The codebase is well-structured with abstract base classes (`Type`, `Linear`, `Square`), traits for shared logic (e.g., `FixedLengthCheckDigit`, `HibcPayload`), and dedicated encoding pipelines for each symbology. Key reusable components include a generic Reed-Solomon error correction class, a math helper with bcmath fallback, and data compaction modules for GS1 and other standards. The library has extensive test coverage with PHPUnit, including round-trip encoding/decoding tests and verification against published reference symbols from ISO and other standards. External dependencies are minimal: only `tecnickcom/tc-lib-color` is required; optional extensions include `bcmath` for arbitrary-precision arithmetic, `gd` for PNG output, and `imagick` for additional image processing. The library is actively maintained (copyright 2001-2026) and uses modern PHP 8.2+ features such as enums, match expressions, and typed properties. The single maintainer and large number of hand-coded data tables (e.g., alignment patterns, error correction blocks) present a bus-factor risk, but the code quality and testing are solid.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: