Skip to main content

Module codes

Module codes 

Source
Expand description

Per-symbology implementations. Each submodule provides encode/decode (and later detection) for one symbology family. Only qr is implemented so far; the other modules are pre-declared stubs whose encode/decode return crate::Error::Unsupported until filled in. Query crate::Symbology::is_implemented for current coverage.

Modules§

aztec
Aztec Code (ISO/IEC 24778) encoder and structural decoder.
codabar
Codabar (a.k.a. NW-7, USD-4, Code 2 of 7).
codablockf
Codablock F (AIM ISS-X-24): a stacked Code 128 symbology. Each row is a Code 128 line carrying row-count/row-number indicator columns; the whole symbol is protected by the K1/K2 data check characters.
code11
Code 11 (USD-8) encoder and structural decoder.
code39
Code 39 (ISO/IEC 16388) encoder and structural decoder.
code49
Code 49 (ANSI/AIM BC6-2000): a stacked alphanumeric symbology of 2 to 8 rows, each row holding four 16-module symbol characters that pack seven base-49 codewords plus a per-row check character.
code93
Code 93 encoder and structural decoder.
code16k
Code 16K (BS EN 12323:2005): a stacked symbology built on the Code 128 character set, holding 2 to 16 rows of five symbol characters each.
code128
Code 128 (ISO/IEC 15417) and GS1-128 encoder and structural decoder.
databar
GS1 DataBar (formerly RSS) linear symbologies.
datamatrix
Data Matrix (ISO/IEC 16022) ECC 200 encoder and structural decoder.
dotcode
DotCode (AIM ISS DotCode Rev 4.0) encoder and structural decoder.
dxfilm
DX Film Edge — the barcode printed along the edge of 35mm film (ISO/IEC 15424 symbology identifier ]X…; see the Wikipedia article on DX encoding and the zxing-cpp reference reader core/src/oned/ODDXFilmEdgeReader.cpp).
ean
EAN/UPC (ISO/IEC 15420) encoder and structural decoder.
gridmatrix
Grid Matrix (AIMD014 / GB/T 27766) encoder and structural decoder.
hanxin
Han Xin Code (ISO/IEC 20830) encoder and structural decoder.
itf
Interleaved 2 of 5 (ITF, ISO/IEC 16390).
maxicode
MaxiCode (ISO/IEC 16023) encoder and structural decoder.
microqr
Micro QR Code (ISO/IEC 18004) encoder and structural decoder.
msi
MSI Plessey (Symbology::MsiPlessey) and the original Plessey code (Symbology::Plessey).
pdf417
PDF417 (ISO/IEC 15438) encoder and structural decoder.
pharmacode
Pharmacode (Laetus) — one-track and two-track.
postal
Postal (height-modulated / 4-state) symbologies.
qr
QR Code (ISO/IEC 18004) encoder and structural decoder.
rmqr
Rectangular Micro QR Code (rMQR, ISO/IEC 23941) encoder and structural decoder.
telepen
Telepen (full-ASCII mode).
twoof5
The non-interleaved 2-of-5 family: Standard/Industrial, IATA and Matrix 2 of 5.