Enhanced GS1 BarCode Recognition with Aspose.BarCode for Java 17.4

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.BarCode for Java logo Aspose.Barcode for Java 17.4 has been released. The major development in this release is the enhanced functionality of GS1 coded barcode. GS1 code format can contain complex elements with digits and letters. Enhanced GS1 barcode functionality now can parse and validate these complex combinations. Improved QR coded barcode recognition functionality has also been incorporated in this release.

Enhanced GS1 Barcode Processing

Aspose.BarCode for Java now generates AI (Application Identifier) compliance GS1 coded barcode. Checksum calculation and validation for many AI specifications have been implemented. As an example, consider code text “(703)123”, this is an incorrect code text (ref: 703 AI, with letters – 324a, with more than 4 symbols). Aspose.BarCode will generates exception if user tries to generate the barcode with EncodeTypes as GS1Code128. The following exception message will be displayed for such an incorrect barcode.

Exception Message:

Wrong format of GS1 Code128 input string.

Improved QR Barcode Processing

Targets detection logic for QR coded barcode has been updated. Aspose.BarCode for Java can now detect QR coded barcode in combination with MaxQuality mode for better accuracy. The said functionality is as illustrated in the following code sample.

//Initialize reader object
com.aspose.barcode.barcoderecognition.BarCodeReader reader = new com.aspose.barcode.barcoderecognition.BarCodeReader("sample_QR_barcode.bmp", com.aspose.barcode.barcoderecognition.DecodeType.QR);

// Set recognition mode to MaxQuality

// Read the barcode
while (reader.read())
    // print output
    System.out.println("Type : " + reader.getCodeType());
    System.out.println("Code Text : " + reader.getCodeText());


Complete list of enhancements and fixes in this release is as follows.

  • Recognition process of QR barcode in MaxBarCodes mode has been improved.
  • Functionality of ExportToXml method has been improved. ExportToXml method now export dimension properties along with other properties of the newly define barcode into XML file.

To view a complete list of new features, fixes and to download the latest release, please visit Aspose.Barcode for Java 17.4 page in downloads section.

Aspose.BarCode for Java Resources

The following API resources can be of help to you in getting started with Aspose.BarCode:

To keep up with our news, you can follow us on Twitter or follow our Facebook page.

Leave a Reply