Browse our Products

Aspose.BarCode for Node.js via Java 20.8

All Changes

KeySummaryCategory
BARCODENET-37560Implement Reader Initialization mode for Pdf417 and MacroPdf417Enhancement
BARCODENET-37489Barcode values were not read correctlyBug
BARCODENET-37554Unable to read barcodes in the imageBug

Public API and Backward Incompatible Changes

  • added function Reader.QualitySettings.getReadTinyBarcodes:boolean
  • added function Reader.QualitySettings.setReadTinyBarcodes(boolean)
  • added function Generator.Pdf417Parameters.isReaderInitialization:boolean
  • added function Generator.Pdf417Parameters.setReaderInitialization(boolean)

Usage Example

    let reader = new BarcodeReader("fileName.gif", null, DecodeType.CODE_32);
    reader.getQualitySettings().setReadTinyBarcodes(true);
    let readTinyBarcodes = reader.getQualitySettings().getReadTinyBarcodes();

    let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567');
    let baseGenerationParameters = generator.getParameters();
    let barcodeParameters = baseGenerationParameters.getBarcode();
    let pdf417Parameters = barcodeParameters. getPdf417();
    pdf417Parameters.setReaderInitialization(true);
    let readerInitialization = pdf417Parameters.isReaderInitialization();