Browse our Products

Aspose.BarCode for Android via Java 24.8

All Changes

KeySummaryCategory
BARCODENET-37649The images that are generated should be being compared with reference imagesEnhancement
BARCODENET-38022AustralianPostShortBarHeight is ignoredBug
BARCODENET-39039Method SpecificParametersUI.DataMatrix() returns DataMatrixParametersUIEnhancement
BARCODENET-39056Update HighQuality preset implementation for QR recognition engineEnhancement + Bug

Public API changes and backwards compatibility

QR recognition

Fixed HighQuality preset for QR recognition engine.

public void example1()
{
    BarCodeReader reader = new BarCodeReader(filePath, DecodeType.QR);
    reader.setQualitySettings(com.aspose.barcode.barcoderecognition.QualitySettings.getHighQuality());
    for (BarCodeResult result : reader.readBarCodes())
    {
        System.out.println(result.getCodeText());
    }
}

AustraliaPost generation

Fixed AustraliaPost generation: at this time Parameters.Barcode.AustralianPost.AustralianPostShortBarHeight parameter works correctly.

public void example2() throws IOException
{
   BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.AUSTRALIA_POST, "6212345678AP");
   gen.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C_TABLE);
   gen.getParameters().getBarcode().getBarHeight().setPixels(100);
   gen.getParameters().getBarcode().getAustralianPost().getAustralianPostShortBarHeight().setPixels(10);
   gen.getParameters().getBarcode().getPadding().getLeft().setPixels(10);
   gen.getParameters().getBarcode().getPadding().getTop().setPixels(10);
   gen.getParameters().getBarcode().getPadding().getRight().setPixels(10);
   gen.getParameters().getBarcode().getPadding().getBottom().setPixels(10);
   gen.save("AustraliaPost.png", BarCodeImageFormat.PNG);
}