Aspose.BarCode for Java 18.12 Release Notes

All Changes

Key Summary Category
BARCODENET-37024 Not able to read dotted BarCodes from TIFF images Bug
BARCODEJAVA-623 An exception occurs for tests related to XML serialization Bug
BARCODEJAVA-625 Unable to Read Complete BarCode Text Bug
BARCODEJAVA-624 Restore compatibility of serialized XML code between .NET and Java 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());

BARCODEJAVA-607 - Bring enums names into line with Java naming conventions 

Use following names of constants:

com.aspose.barcode.BorderDashStyle.SOLID

com.aspose.barcode.BorderDashStyle.DASH

com.aspose.barcode.BorderDashStyle.DOT

com.aspose.barcode.BorderDashStyle.DASH_DOT

com.aspose.barcode.BorderDashStyle.DASH_DOT_DOT

com.aspose.barcode.BuildVersionInfo.RELEASE_DATE

com.aspose.barcode.CodeLocation.ABOVE

com.aspose.barcode.CodeLocation.BELOW

com.aspose.barcode.CodeLocation.NONE

com.aspose.barcode.CodeLocation.RIGHT

Public API and Backward Incompatible Changes

Constants throughout the project were renamed into line with Java naming convention.