Browse our Products

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.

 

Aspose.BarCode for Python via Java 24.7

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 15.26MB
  • Date Added:
  • 23/7/2024

Description

Aspose.BarCode for Python via Java 24.7 has been released.

File Details

Simplified Code39 and Code93 APIs

Apose.BarCode for Python via Java 24.7 brings enhanced APIs for Code39 and Code93 as they have been consolidated into CODE_39 and CODE_93, respectively. This change aligns with the ISO/IEC 16388 standards and enables a more intuitive development experience.

Advanced SVG Color Support

Leverage new color modes like HSLA (Hue, Saturation, Lightness, Alpha) and RGBA (Red, Green, Blue, Alpha) in the Python API for barcode recognition and generation, and enjoy richer visuals when generating barcodes in SVG format.

Code example (set bar color using HSLA values):


def test2(self):
    filePath = "Hsla_from_hsla_python.svg"
    codeText = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    generator = Generation.BarcodeGenerator(Generation.EncodeTypes.CODE_128, codeText)
    hslaColor = Generation.HslaColor(30, 50, 70, 0.8)
    color = Generation.HslaColor.convertHslaToRgba(hslaColor)
    generator.getParameters().getBarcode().setBarColor(color)
    svg = generator.getParameters().getImage().getSvg()
    svgColorMode = Generation.SvgColorMode
    colorMode = svgColorMode.HSLA
    svg.setSvgColorMode(colorMode)
    generator.save(filePath, Generation.BarCodeImageFormat.PNG)

Source*

Code example (convert HSLA color to RGBA format):


def example3(self):
    hslaColor = Generation.HslaColor(30, 50, 70, 0.8)
    rgbaColor = Generation.HslaColor.convertHslaToRgba(hslaColor)
    print(f"rgbaColor = {rgbaColor}")

Source*

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.7 Release Notes.

 English