Free Support Forum - aspose.com

Read barcode from pdf in local folder using PHP

How to read attached barcode in pdf file using PHP
Sample pdf file attachedfax998119547.pdf (58.7 KB)

@bilbi_citrus5,

Aspose.BarCode for PHP via Java supports to read barcodes from image formats like JPG and PNG, see the topic for your reference. So, you got to generate/extract the barcode images from the PDF document (by yourselves) and then pass the images to Aspose.BarCode for PHP via Java for barcode recognitions. See the document with example code for your reference.

PS. please note, there is no Aspose.PDF for PHP via Java API, so you have to use Aspose.PDF for Java API if you could generate and extract image from PDF pages in PHP.