Aspose.BarCode for JasperReports 18.11 - Release notes

New Features

  • Bring enums names into line with Java naming conventions
  • Add new barcode subsets to DecodeType
  • Not able to detect the barcode
  • Improve the recognition of a 3D-distorted and rotated 2D-barcodes
  • Improve the recognition of a 3D-distorted QR code
  • Add minor fixes to BarCodeReader
  • GS1 DataBar Expanded Stacked barcode did not pass GS1 Canda barcode verification

All Changes

KeySummaryCategory
BARCODEJAVA-607Bring enums names into line with Java naming conventionsNew Feature
BARCODENET-37019Add new barcode subsets to DecodeTypeNew Feature
BARCODENET-36945Not able to detect the barcodeNew Feature
BARCODENET-34367Improve the recognition of a 3D-distorted and rotated 2D-barcodesNew Feature
BARCODENET-36389Improve the recognition of a 3D-distorted QR codeNew Feature
BARCODENET-37020Add minor fixes to BarCodeReaderNew Feature
BARCODEJAVA-555GS1 DataBar Expanded Stacked barcode did not pass GS1 Canda barcode verificationNew Feature
BARCODENET-37010Barcode CODE39 reading problemBug
BARCODENET-37000Barcode Detection does not constrain to the defined region.Bug
BARCODENET-37028Add fix to MicrE13B for safe bitmap accessBug
BARCODEJAVA-611Obfuscated jar throws unreadable exception “class com.aspose.barcode.internal.cy.d: Wrong filename passed”Bug
BARCODEJAVA-608BarCodeGenerator throws NullPointerException exceptionBug
BARCODEJAVA-524Not able to generate DATABAR_EXPANDED_STACKED with 7 rowsBug
BARCODEJAVA-598SetLicense Problem with Open JDK 11Bug

Usage examples:

BARCODENET-37019 - Add new barcode subsets to DecodeType

Usage of the new DecodeType fields:

BarCodeReader reader = new BarCodeReader(folder + “Code11.png”, DecodeType.TYPES_1D);

while (reader.read())

{

 String codeType = reader.getCodeType().toString();

 String codeText = reader.getCodeText();

 System.out.println(codeType + “, " + codeText);

}

result: Code11, 012345

 

BarCodeReader reader = new BarCodeReader(folder + “Postnet.png”, DecodeType.POSTAL_TYPES);

while (reader.read())

{

 String codeType = reader.getCodeType().toString();

 String codeText = reader.getCodeText();

 System.out.println(codeType + “, " + codeText);

}

result: Postnet, 012345

 

BarCodeReader reader = new BarCodeReader(folder + “GS1Code128”, DecodeType.MOST_COMMON_TYPES);

while (reader.read())

{

 String codeType = reader.getCodeType().toString();

 String codeText = reader.getCodeText();

 System.out.println(codeType + “, " + codeText);

}

result : GS1Code128, 012345

BARCODEJAVA-607 - Bring enums names into line with Java naming conventions

Use following names of constants:

com.aspose.barcode.AztecSymbolMode.AUTO

com.aspose.barcode.AztecSymbolMode.COMPACT

com.aspose.barcode.AztecSymbolMode.FULL_RANGE

com.aspose.barcode.AztecSymbolMode.RUNE

com.aspose.barcode.BarcodeClassifications.NONE

com.aspose.barcode.BarcodeClassifications.TYPE_1D

com.aspose.barcode.BarcodeClassifications.TYPE_2D

com.aspose.barcode.BarcodeClassifications.POSTAL

com.aspose.barcode.BarcodeClassifications.DATABAR

com.aspose.barcode.BarcodeClassifications.COUPON

com.aspose.barcode.BarCodeImageFormat.BMP

com.aspose.barcode.BarCodeImageFormat.GIF

com.aspose.barcode.BarCodeImageFormat.JPEG

com.aspose.barcode.BarCodeImageFormat.PNG

com.aspose.barcode.BarCodeImageFormat.TIFF

com.aspose.barcode.BarCodeImageFormat.TIFF_IN_CMYK

com.aspose.barcode.BarCodeImageFormat.EMF

com.aspose.barcode.BarCodeImageFormat.SVG

com.aspose.barcode.BuildVersionInfo.ASSEMBLY_VERSION

com.aspose.barcode.BuildVersionInfo.PRODUCT

com.aspose.barcode.BuildVersionInfo.ReleaseDate

com.aspose.barcode.CodabarChecksumMode.MOD_10

com.aspose.barcode.CodabarChecksumMode.MOD_16

com.aspose.barcode.DataMatrixEccType.ECC_000

com.aspose.barcode.DataMatrixEccType.ECC_050

com.aspose.barcode.DataMatrixEccType.ECC_080

com.aspose.barcode.DataMatrixEccType.ECC_100

com.aspose.barcode.DataMatrixEccType.ECC_140

com.aspose.barcode.DataMatrixEccType.ECC_200

com.aspose.barcode.DataMatrixEccType.ECC_AUTO

com.aspose.barcode.DataMatrixEncodeMode.ASCII

com.aspose.barcode.DataMatrixEncodeMode.AUTO

com.aspose.barcode.DataMatrixEncodeMode.CUSTOM

com.aspose.barcode.DataMatrixEncodeMode.FULL

com.aspose.barcode.EnableChecksum.DEFAULT

com.aspose.barcode.EnableChecksum.NO

com.aspose.barcode.EnableChecksum.YES

com.aspose.barcode.GraphicsUnit.DISPLAY

com.aspose.barcode.GraphicsUnit.DOCUMENT

com.aspose.barcode.GraphicsUnit.INCH

com.aspose.barcode.GraphicsUnit.MILLIMETER

com.aspose.barcode.GraphicsUnit.PIXEL

com.aspose.barcode.GraphicsUnit.POINT

com.aspose.barcode.GraphicsUnit.WORLD

com.aspose.barcode.ITF14BorderType.BAR

com.aspose.barcode.ITF14BorderType.BAR_OUT

com.aspose.barcode.ITF14BorderType.FRAME

com.aspose.barcode.ITF14BorderType.FRAME_OUT

com.aspose.barcode.ITF14BorderType.NONE

com.aspose.barcode.ImageQualityMode.ANTI_ALIAS

com.aspose.barcode.ImageQualityMode.DEFAULT

com.aspose.barcode.Pdf417CompactionMode.AUTO

com.aspose.barcode.Pdf417CompactionMode.BINARY

com.aspose.barcode.Pdf417CompactionMode.NUMERIC

com.aspose.barcode.Pdf417CompactionMode.TEXT

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_0

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_1

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_2

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_3

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_4

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_5

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_6

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_7

com.aspose.barcode.Pdf417ErrorLevel.LEVEL_8

com.aspose.barcode.QREncodeMode.AUTO

com.aspose.barcode.QREncodeMode.BYTES

com.aspose.barcode.QREncodeMode.ECI_ENCODING

com.aspose.barcode.QREncodeMode.EXTENDED_CODETEXT

com.aspose.barcode.QREncodeMode.UTF_16_BEBOM

com.aspose.barcode.QREncodeMode.UTF_8_BOM

com.aspose.barcode.QREncodeType.AUTO

com.aspose.barcode.QREncodeType.FORCE_MICRO_QR

com.aspose.barcode.QREncodeType.FORCE_QR

com.aspose.barcode.QRErrorLevel.LEVEL_H

com.aspose.barcode.QRErrorLevel.LEVEL_L

com.aspose.barcode.QRErrorLevel.LEVEL_M

com.aspose.barcode.QRErrorLevel.LEVEL_Q

com.aspose.barcode.RenderFormat.BMP

com.aspose.barcode.RenderFormat.GIF

com.aspose.barcode.RenderFormat.JPEG

com.aspose.barcode.RenderFormat.PNG

com.aspose.barcode.ResolutionMode.CUSTOMIZED

com.aspose.barcode.ResolutionMode.GRAPHICS

com.aspose.barcode.ResolutionMode.PRINTER

com.aspose.barcode.RotationDirection.ANTI_CLOCKWISE

com.aspose.barcode.RotationDirection.CLOCKWISE

com.aspose.barcode.StringAlignment.CENTER

com.aspose.barcode.StringAlignment.FAR

com.aspose.barcode.StringAlignment.NEAR

com.aspose.barcode.TextRenderingHint.SYSTEM_DAFAULT

com.aspose.barcode.TextRenderingHint.SINGLE_BIIT_PER_PIXEL_GRID_FIT

com.aspose.barcode.TextRenderingHint.SINGLE_BIT_PER_PIXEL

com.aspose.barcode.TextRenderingHint.ANTI_ALIAS_GRID_FIT

com.aspose.barcode.TextRenderingHint.ANTI_ALIAS

com.aspose.barcode.TextRenderingHint.CLEAR_TYPE_GRID_FIT

com.aspose.barcode.generation.AutoSizeMode.NONE

com.aspose.barcode.generation.AutoSizeMode.NEAREST

com.aspose.barcode.generation.AutoSizeMode.INTERPOLATION

com.aspose.barcode.generation.FontStyle.BOLD

com.aspose.barcode.generation.FontStyle.ITALIC

com.aspose.barcode.generation.FontStyle.REGULAR

com.aspose.barcode.generation.FontStyle.STRIKEOUT

com.aspose.barcode.generation.FontStyle.UNDERLINE

com.aspose.barcode.barcoderecognition.ChecksumValidation.DEFAULT

com.aspose.barcode.barcoderecognition.ChecksumValidation.OFF

com.aspose.barcode.barcoderecognition.ChecksumValidation.ON

com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType.C_TABLE

com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType.N_TABLE

com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType.OTHER

com.aspose.barcode.barcoderecognition.ManualHint.COMPLEX_BACKGROUND

com.aspose.barcode.barcoderecognition.ManualHint.INCORRECT_BARCODES

com.aspose.barcode.barcoderecognition.ManualHint.INVERT_IMAGE

com.aspose.barcode.barcoderecognition.ManualHint.MEDIAN_SMOOTHING

com.aspose.barcode.barcoderecognition.ManualHint.NONE

com.aspose.barcode.barcoderecognition.ManualHint.SPECIAL_FORM_OF_CELLS

com.aspose.barcode.barcoderecognition.ManualHint.USE_REGULAR

com.aspose.barcode.barcoderecognition.ManualHint.USE_RESTORATION

com.aspose.barcode.barcoderecognition.ManualHint.SKIP_ROTATED_BARCODES

com.aspose.barcode.barcoderecognition.DecodeType.TYPES_1D

com.aspose.barcode.barcoderecognition.DecodeType.POSTAL_TYPES

com.aspose.barcode.barcoderecognition.DecodeType.MOST_COMMON_TYPES

Public API and Backward Incompatible Changes

Following members have been added:

  • Field DecodeType.TYPES_1D;
  • Field DecodeType.POSTAL_TYPES ;
  • Field DecodeType.MOST_COMMON_TYPES

Constants throughout the project were renamed into line with Java naming convention.