The very simple code below runs without errors, but the output file cannot be opened by Adobe:
use PDF::API2; my $pdf = PDF::API2->open("test.pdf") or die $@; $pdf->saveas("test2.pdf");
Adobe Standard 2017 gives this error when I try to open test2.pdf: "There was an error opening this document. There was a problem reading this document (14)." I tried it using a variety of different input PDF files; it makes no difference. I'm using a very recent installation of StrawberryPerl 5.28.1 on Win10, and the PDF::API2 module version 2.033.
buckaduck
In reply to Error opening output from PDF::API2 by buckaduck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |