buckaduck has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Error opening output from PDF::API2
by snoopy (Curate) on May 08, 2019 at 00:46 UTC | |
by buckaduck (Chaplain) on May 09, 2019 at 01:56 UTC |
Back to
Seekers of Perl Wisdom