ComplexCodetextReader

ComplexCodetextReader

ComplexCodetextReader decodes codetext to specified complex barcode type.

Constructor

new ComplexCodetextReader()

Source:
Example
This sample shows how to recognize and decode SwissQR image.

 let cr = new BarCodeReader("SwissQRCodetext.png", null, DecodeType.QR);
 cr.read();
 let result = ComplexCodetextReader.tryDecodeSwissQR(cr.getCodeText(false));

Methods

(static) tryDecodeHIBCLIC(encodedCodetext)

Decodes HIBC LIC codetext.

Parameters:
Name Type Description
encodedCodetext encoded codetext
Returns:
Type Description
decoded HIBC LIC Complex Codetext or null.
Source:

(static) tryDecodeHIBCPAS(encodedCodetext)

Decodes HIBC PAS codetext.

Parameters:
Name Type Description
encodedCodetext encoded codetext
Returns:
Type Description
decoded HIBC PAS Complex Codetext or null.
Source:

(static) tryDecodeMailmark(encodedCodetext)

Decodes Mailmark Barcode C and L codetext.
Parameters:
Name Type Description
encodedCodetext encoded codetext
Returns:
Type Description
Decoded Mailmark Barcode C and L or null.
Source:

(static) tryDecodeMailmark2D(encodedCodetext)

Decodes Royal Mail Mailmark 2D codetext.
Parameters:
Name Type Description
encodedCodetext encoded codetext
Returns:
Type Description
decoded Royal Mail Mailmark 2D or null.
Source:

(static) tryDecodeMaxiCode(maxiCodeMode, encodedCodetext)

Decodes MaxiCode codetext.
Parameters:
Name Type Description
maxiCodeMode MaxiCode mode
encodedCodetext encoded codetext
Returns:
Type Description
Decoded MaxiCode codetext.
Source:

(static) tryDecodeSwissQR(encodedCodetext)

Decodes SwissQR codetext.
Parameters:
Name Type Description
encodedCodetext encoded codetext
Returns:
Type Description
decoded SwissQRCodetext or null.
Source: