in reply to Determining a PDF's orientation
Have you tried the PDF suite to determine the page orientation?
use PDF::Parse; use Data::Dumper; my $pdf->TargetFile($filename); $pdf->LoadPageInfo; my @size = $pdf->PageSize; my $rotation = $pdf->PageRotation; print Dumper(\@size); print Dumper($rotation);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Determining a PDF's orientation
by friedo (Prior) on Aug 21, 2005 at 01:07 UTC |
In Section
Seekers of Perl Wisdom