Link to home
Start Free TrialLog in
Avatar of NewtonianB
NewtonianB

asked on

PDF:API2 can't locate object method "cropbox"

I am using PDF::API2
http://search.cpan.org/dist/PDF-API2/lib/PDF/API2.pm
to generate PDF's out of my images. In the docs it mentions the cropbox function
    $pdf = PDF::API2->new;
    $pdf->cropbox('A4');
    ...

However when I try to use it I get
Can't locate object method "cropbox" via package "PDF::API2::Lite"
any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Kim Ryan
Kim Ryan
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial