Browse our Products

Aspose.BarCode for .NET 25.9 Release Notes

All Changes

KeySummaryCategory
BARCODENET-39385Improve Aztec recognition performance on mobile devicesEnhancement
BARCODENET-39397Optimize 2D barcode recognition, change the recognition algorithm of GS1CompositeBarEnhancement

Public API changes and backwards compatibility

Aztec Code recognition performance

Aztec Code barcode recognition performance has been enhanced, with better results on mobile devices and in document processing scenarios.

using (BarCodeReader reader = new BarCodeReader("Aztec.png", DecodeType.Aztec))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
        Console.WriteLine(result.CodeText);
}

GS1 Composite Barcode recognition process

GS1 Composite Barcode recognition process has been updated to eliminate delays when using DecodeType.Types2D.

using (BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.GS1CompositeBar, "(01)13112345678906|(17)010615(10)A123456"))
{
    gen.Parameters.Barcode.GS1CompositeBar.LinearComponentType = EncodeTypes.GS1Code128;
    gen.Parameters.Barcode.GS1CompositeBar.TwoDComponentType = TwoDComponentType.CC_C;
    gen.Parameters.Barcode.GS1CompositeBar.IsAllowOnlyGS1Encoding = true;
    gen.Parameters.Barcode.CodeTextParameters.Location = CodeLocation.None;
    
    using (BarCodeReader reader = new BarCodeReader(gen.GenerateBarCodeImage(), DecodeType.GS1CompositeBar))
    {
        foreach (BarCodeResult result in reader.ReadBarCodes())
            Console.WriteLine(result.CodeText);
    }
}