Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.BarCode for PHP via Java 24.8

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 15.92MB
  • Date Added:
  • 22/8/2024

Description

Aspose.BarCode for PHP via Java 24.8 has been released.

File Details

Precise QR Code Recognition

With Aspose.BarCode for PHP via Java 24.8, you can experience enriched QR code scanning accuracy with the refined HighQuality preset for the QR recognition engine.

Code sample:


public function example1()
{
   $filePath = self::folder . "qr.png";
   prt_mess(check_is_exists($filePath));
   $reader = new BarCodeReader($filePath, null,DecodeType::QR);
   $reader->setQualitySettings($reader->getQualitySettings()->getHighQuality());
   foreach ($reader->readBarCodes() as $result) {
   echo $result->getCodeText() . PHP_EOL; 
   }
}

Source*

Accurate Australia Post Barcode Generation

The latest PHP barcode recognition and generation API delivers a corrected implementation of the AustralianPostShortBarHeight parameter to ensure precise generation of Australia Post barcodes, as illustrated in the following code example.


public function example2()
{
   $generator = new BarcodeGenerator(EncodeTypes::AUSTRALIA_POST, "6212345678AP");
   $generator->getParameters()->getBarcode()->getAustralianPost()->setAustralianPostEncodingTable(CustomerInformationInterpretingType::C_TABLE);
   $generator->getParameters()->getBarcode()->getBarHeight()->setPixels(100);
   $generator->getParameters()->getBarcode()->getAustralianPost()->getAustralianPostShortBarHeight()->setPixels(10);
   $generator->getParameters()->getBarcode()->getPadding()->getLeft()->setPixels(10);
   $generator->getParameters()->getBarcode()->getPadding()->getTop()->setPixels(10);
   $generator->getParameters()->getBarcode()->getPadding()->getRight()->setPixels(10);
   $generator->getParameters()->getBarcode()->getPadding()->getBottom()->setPixels(10);
   $generator->save(self::folder . "AustraliaPost-PHP.png", BarCodeImageFormat::PNG);
}

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.BarCode for PHP via Java 24.8 Release Notes.

 English