Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aztec Code is a 2D barcode type that allows encoding alphanumeric characters and streams of bytes. Aztec Code barcodes are composed of square modules that create individual patterns in the center of a barcode image. These so-called bulls-eye signs facilitate barcode detection and scanning. This type supports Reed-Solomon error correction to assure data integrity and completeness. It benefits from high reading accuracy and data density.
The Aztec Code barcode type supports three subtypes:
The preferred generation mode can be set using the AztecSymbolMode enum of class AztecParameters. The following modes are supported:
Following Aztec Code barcode images have been generated through various generation modes.
Generation Mode | Auto | Compact | Full-Range | Rune |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
The following code sample shows how to specify the preferred generation mode for Aztec Code.
In Aspose.BarCode for Python via Java, streams of bytes can be encoded as Aztec Code barcodes. To display the text label, it is required to call the setTwoDDisplayText method of class CodetextParameters.
In Aspose.BarCode for Python via Java, Unicode symbols can be encoded using the setCodeTextEncoding method of class AztecParameters. This method is applicable to all Aztec Code barcodes except Rune.
Aztec Code barcodes include recovery information that can occupy from 5 to 95% of the entire encoded data stream. It is recommended to set this parameter to 23%. To select the required error correction level, it is necessary to use the setAztecErrorLevel method of class AztecParameters.
Following barcode images have been created using various error correction levels.
Error Correction Level |
Is Set to 5 |
Is Set to 50 |
---|---|---|
![]() |
![]() |
Aspect Ratio is defined as the ratio between the barcode width and height. To modify proportions using the X and Y coordinates, Aspose.BarCode for Python via Java provides the setAspectRatio method of class AztecParameters. AspectRatio is determined as a relative coefficient to the value of XDimension. In general, it is recommended to set AspectRatio equal to 1. If the proportions of Aztec Code barcodes to be generated need to be adjusted, the setAspectRatio method can be used to do this.
Following barcodes have been generated with various values of the aspect ratio.
Aspect Ratio | Is Set to 1 | Is Set to 0.5 |
---|---|---|
![]() |
![]() |
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.