com.aspose.barcode.complexbarcode

Class ComplexCodetextReader

  • java.lang.Object
    • com.aspose.barcode.complexbarcode.ComplexCodetextReader


  • public final class ComplexCodetextReader
    extends java.lang.Object

    ComplexCodetextReader decodes codetext to specified complex barcode type.


      This sample shows how to recognize and decode SwissQR image.
      
      BarCodeReader cr = new BarCodeReader("SwissQRCodetext.png", DecodeType.QR);
      cr.read();
      SwissQRCodetext result = ComplexCodetextReader.tryDecodeSwissQR(cr.getCodeText());
            
    • Method Detail

      • tryDecodeSwissQR

        public static SwissQRCodetext tryDecodeSwissQR(java.lang.String encodedCodetext)

        Decodes SwissQR codetext.

        Parameters:
        encodedCodetext - encoded codetext
        Returns:
        decoded SwissQRCodetext or null.
      • tryDecodeMailmark2D

        public static Mailmark2DCodetext tryDecodeMailmark2D(java.lang.String encodedCodetext)
        Decodes Royal Mail Mailmark 2D codetext.
        Parameters:
        encodedCodetext - encoded codetext
        Returns:
        decoded Royal Mail Mailmark 2D or null.