Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show nothing in response no error and script is not working #17

Open
haseebhk22 opened this issue Jan 15, 2020 · 5 comments
Open

Show nothing in response no error and script is not working #17

haseebhk22 opened this issue Jan 15, 2020 · 5 comments

Comments

@haseebhk22
Copy link

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();

?>`

@TheSlimReaper925
Copy link

Same for me, did you solve that?

@dejan-mocevic
Copy link

Also true for me

@Asmitta-01
Copy link

Same issue.

@eggcarvalho
Copy link

Same for me too

@JuanZabalaR
Copy link

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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants