Aspose.Barcode for PHP via Java Generation and Recognition API docs

Static Public Member Functions

static tryDecodeSwissQR (string $encodedCodetext)
 
static tryDecodeMailmark2D (string $encodedCodetext)
 
static tryDecodeMailmark (string $encodedCodetext)
 
static tryDecodeMaxiCode (int $maxiCodeMode, string $encodedCodetext)
 
static tryDecodeHIBCLIC (?string $encodedCodetext)
 
static tryDecodeHIBCPAS (string $encodedCodetext)
 

Static Private Attributes

static $javaClassName = "com.aspose.mw.barcode.complexbarcode.MwComplexCodetextReader"
 

Detailed Description

ComplexCodetextReader decodes codetext to specified complex barcode type.

This sample shows how to recognize and decode SwissQR image.

$cr = new BarCodeReader("SwissQRCodetext.png", DecodeType::QR);
$cr->read();
$result = ComplexCodetextReader::tryDecodeSwissQR($cr->getCodeText(false));

Member Function Documentation

◆ tryDecodeHIBCLIC()

static ComplexCodetextReader::tryDecodeHIBCLIC ( ?string  $encodedCodetext)
static

Decodes HIBC LIC codetext.

Returns
decoded HIBC LIC Complex Codetext or null.
Parameters
encodedCodetextencoded codetext

◆ tryDecodeHIBCPAS()

static ComplexCodetextReader::tryDecodeHIBCPAS ( string  $encodedCodetext)
static

Decodes HIBC PAS codetext.

Returns
decoded HIBC PAS Complex Codetext or null.
Parameters
encodedCodetextencoded codetext

◆ tryDecodeMailmark()

static ComplexCodetextReader::tryDecodeMailmark ( string  $encodedCodetext)
static

Decodes Mailmark Barcode C and L codetext.

Parameters
string$encodedCodetextencoded codetext
Returns
MailmarkCodetext|null Mailmark Barcode C and L or null.

◆ tryDecodeMailmark2D()

static ComplexCodetextReader::tryDecodeMailmark2D ( string  $encodedCodetext)
static

Decodes Royal Mail Mailmark 2D codetext.

Parameters
string$encodedCodetextencoded codetext
Returns
Mailmark2DCodetext decoded Royal Mail Mailmark 2D or null.

◆ tryDecodeMaxiCode()

static ComplexCodetextReader::tryDecodeMaxiCode ( int  $maxiCodeMode,
string  $encodedCodetext 
)
static

Decodes MaxiCode codetext.

Parameters
intmaxiCodeMode MaxiCode mode
stringencodedCodetext encoded codetext
Returns
MaxiCodeCodetext Decoded MaxiCode codetext.

◆ tryDecodeSwissQR()

static ComplexCodetextReader::tryDecodeSwissQR ( string  $encodedCodetext)
static

Decodes SwissQR codetext.

Parameters
stringencodedCodetext encoded codetext
Returns
SwissQRCodetext decoded SwissQRCodetext or null.

Member Data Documentation

◆ $javaClassName

ComplexCodetextReader::$javaClassName = "com.aspose.mw.barcode.complexbarcode.MwComplexCodetextReader"
staticprivate