Subject: | hang in importpage |
Got a hang doing an importpage from the attached PDF, at least on my Red Hat 9 (Perl 5.8.0) machines and Mac OS X (Perl 5.8.1). The following short script reproduces it, hanging around page 45:
#!/usr/bin/perl
use PDF::API2;
$pdf = PDF::API2->open(shift(@ARGV));
for($x=1 ; $x < ($pdf->pages + 1) ; $x++){
my $newpdf = PDF::API2->new;
print "Creating PDF from page $x\n";
$newpdf->importpage($pdf, $x, 0);
print "saving\n";
$newpdf->saveas("/dev/null");
}
Message body not shown because it is not plain text.