Overview of the C QR Code generator library
masterThis library is a C implementation of a QR Code generator designed for correctness, flexibility, and safety.
Key Features:
- No Heap Allocation: The library avoids
malloc(), relying instead on caller-provided buffers and fixed-size stack allocations. This makes it suitable for embedded systems. - Standard Compliance: Supports all 40 versions (sizes) and all 4 error correction levels of the QR Code Model 2 standard.
- Output Format: Produces raw modules/pixels of the QR symbol.
- Flexible Encoding: Supports numeric, special-alphanumeric, and general text encoding, as well as binary data.
- Manual Control: Allows users to specify version ranges, mask patterns, error correction levels, and data segments/ECI segments.
- Safety: Coded to prevent memory corruption, integer overflow, and undefined behavior.