You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue with this, it is actually that ghostwriting was not correctly set up and don't work.
I found the error on the apache logs and i added the ghostwrinting on my path and this started working.
Here is my code :
`<?php
include "PDFLib.php";
$pdf_file_path = "C:/wamp64/www/PDFLib-master/tests/resources/sample.pdf";
$folder_path_for_images = "C:/wamp64/www/PDFLib-master/tests";
$pdflib = new ImalH\PDFLib\PDFLib();
$pdflib->setPdfPath($pdf_file_path);
$pdflib->setOutputPath($folder_path_for_images);
$pdflib->setImageFormat(\ImalH\PDFLib\PDFLib::$IMAGE_FORMAT_PNG);
$pdflib->setDPI(300);
$pdflib->setPageRange(1,$pdflib->getNumberOfPages());
$pdflib->setFilePrefix('page-'); // Optional
$pdflib->convert();
?>`
The text was updated successfully, but these errors were encountered: