bensquire/php-pdftk-toolkit

Cannot rotate

flodi opened this issue · 1 comments

I'm doing this:

$docpdf=new pdftk();

$docpdf->setInputFile(array('filename' => "test.pdf",'rotation' => 180))
->setOutputFile("test.pdf_rotated")
->_renderPdf();

But the resulting PDF is identical to the original, and it is not rotated

Hi @flodi

I'm afraid I cannot replicate this issue. Can you provide the PDF and/or the version of PDFTk that you are using? Have you tried one of the examples (1 or 2 both contain rotation).

Kind Regards
Ben