Aspose.BarCode for Android via Java 18.12

All Changes

Key Summary Category
BARCODENET-37024 Not able to read dotted barcodes from TIFF images  Bug
BARCODEJAVA-623 Exception occurs for tests related to xml serialization  Bug
BARCODEJAVA-625 Unable to Read Complete BarCode Text Bug

Usage examples:

BARCODENET-37024 - Not able to read dotted barcodes from TIFF images

Usage of the new DecodeType fields:

String fileName = “Scenario-1_page2.tiff”;

BarCodeReader reader = new BarCodeReader(fileName, new MultyDecodeType(DecodeType.ALL_SUPPORTED_TYPES));

while (reader.read())

{

 System.out.println(reader.getCodeText());

}

BARCODEJAVA-625 - Unable to Read Complete BarCode Text

Usage of the new DecodeType fields:

String fileName = “test.jpg”;

String expectedText = “690458960500”;

String expectedCheckSum = “4”;

BaseDecodeType expectedDecodeType = DecodeType.EAN_13;

BarCodeReader reader = new BarCodeReader(fileName);

reader.setChecksumValidation(ChecksumValidation.ON);

reader.read();

System.out.println(reader.getCodeText());

System.out.println(reader.getCheckSum());

System.out.println(reader.getCodeType());