Aspose.BarCode for Python via Java is a set of barcode generation and reading APIs for Python applications by using the python-java bridge. Developers can easily add barcode generation and recognition functionality. Python barcode API creates barcode images within various formats such as PNG, JPG, GIF, BMP. Moreover, It supports multiple imaging features like manipulating borders, color, rotating images, customizing resolution, and a lot more.
At a Glance
An overview of the barcode recognition & generation capabilities of API.
- Linear and 2D Types
- Any area of image
- Region information
- Linear and 2D Barcode
- Customize Label
- Encode Non-English Characters
Aspose.Barcode for Python via Java using python-java bridge and available for Python 3.6 and higher.
Supported File Formats
API works with the most commonly used image formats.
Advanced Python Barcode API Features
Generate multiple types of barcodes
Manage X and Y Dimensions
Set Height of the Bars
Set Start and Stop Symbols of Codabar
Control the Appearance of Code Text
Manage the Barcode Caption
Set Code Text for Barcode
Specify Symbologies for Barcodes
Recognize Multiple Symbologies in Single Image
Recognize Specific Barcode Symbology
Recognize all 1D Barcodes from an Image
Get BarCode Recognition Quality in Percent
Obtain Barcode Region Information from the Image
Read Barcode from Specific Region
Switch Barcode Recognition Modes as of Requirement
QR Code Generation
API has the capability to create barcodes of multiple types including DataMatrix, Aztec, Pdf417, multiple MacroPdf417 barcodes for large or multiple code text values. Here is the code for QR code generation.
Python QR Code Generator
#Instantiate barcode object generator = Generation.BarcodeGenerator(Generation.EncodeTypes.QR, "123456789") #Save it as PNG generator.save("QR.png", "PNG")
Aspose.BarCode offers individual Barcode generation and recognition APIs for other popular development environments as listed below: