Optional
checksumThe mode to use for symbologies which support an optional checksum mechanism.
Setting the mode to 0
or leaving it unset disables processing of the checksum.
1
will expect the check digit to be present, validate the barcode data against it, and strip it from the
transmitted data.
2
will validate and also transmit the check digit along with the data portion.
Setting this option to 1
or 2
requires that all barcodes of this symbology include a check digit.
Barcodes that lack the check digit will not be readable anymore.
0
Optional
maxThe maximum length of the barcode, only has an effect for variable-length symbologies.
Optional
minThe minimum length of the barcode, only has an effect for variable-length symbologies.
The name of the 1D barcode symbology.
Optional
qz?: numberThe minimum length of the leading and trailing quiet zone for this symbology, expressed as multiples of X.
There is rarely a need to change the default.
Enable detection of QR Codes on curved/bent surfaces.
More advanced algorithms will be used to read QR Codes from curved or bent surfaces. This option incurs extra processing time and only makes sense if your QR Codes are printed on curved surfaces such as bottles, barrels and other cylindrical or spherical items.
false
The name of the QR Code symbology
Enable detection of QR Codes with rounded finder patterns.
The finder patterns of a QR Code are nominally square with straight edges. The straight edges are useful in optimizing the detection of finder pattern triplets and mapping of the QR Code. The ISO specification mandates square finder patterns, but rounded finder patterns are used in practice, especially outside of industrial use cases.
false
The name of the 2D symbology
Generated using TypeDoc
For variable-length symbologies, min/max length can be specified in addition to the symbology.