Browse our Products

Aspose.BarCode for PHP via Java 20.10

All Changes

KeySummaryCategory
BARCODENET-37595Implement BarWidthReduction parameter for barcode generationEnhancement
BARCODENET-37640Improve BarWidthReduction parameter usability for 2D barcodesEnhancement
BARCODENET-37637Issue with DataMatrix encodingBug

Public API and Backward Incompatible Changes

  • Added function Generator.BarcodeParameters.setBarWidthReduction(Unit):void
  • Added function Generator.BarcodeParameters.getBarWidthReduction():Unit

Usage examples

    $gen = new BarcodeGenerator(EncodeTypes::UPCA,"112345678);
    $gen->getParameters()->getBarcode()->getBarWidthReduction()->setPixels(2);
    $barcodeImage = $gen->generateBarcodeImage("PNG");