Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Aspose.BarCode for Python via Java 24.8 offers better accuracy as the QR code recognition engine has been optimized with the enhanced HighQuality preset. This code example illustrates how to use this feature in Python.
HighQuality
def exampe1(self): file_path = self.folder + "qr.png" ta.is_exists(file_path) reader = Recognition.BarCodeReader(file_path, None, Recognition.DecodeType.QR) reader.setQualitySettings(Recognition.QualitySettings.getHighQuality()) results = reader.readBarCodes() i = 0 while (i < len(results)): print(f"BarCode CodeText: {results[i].getCodeText()}") print(f"BarCode CodeTypeName: {results[i].getCodeTypeName()}") i += 1
Source*
The AustralianPostShortBarHeight parameter now functions as intended in the Python barcode API to allow you to control the height of the short bars within the barcode.
AustralianPostShortBarHeight
Code example:
def exampe2(self): generator = Generation.BarcodeGenerator(Generation.EncodeTypes.AUSTRALIA_POST, "6212345678AP") generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(Generation.CustomerInformationInterpretingType.C_TABLE) generator.getParameters().getBarcode().getBarHeight().setPixels(100) generator.getParameters().getBarcode().getAustralianPost().getAustralianPostShortBarHeight().setPixels(10) generator.getParameters().getBarcode().getPadding().getLeft().setPixels(10) generator.getParameters().getBarcode().getPadding().getTop().setPixels(10) generator.getParameters().getBarcode().getPadding().getRight().setPixels(10) generator.getParameters().getBarcode().getPadding().getBottom().setPixels(10) generator.save(self.folder + "AustraliaPost-Python.png", Generation.BarCodeImageFormat.PNG)
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.BarCode for Python via Java 24.8 Release Notes.