in reply to PDF::API2 copy page

my $copy = $page->copy; $copy->scale(0.5, 0.5 ); $pdf->add_page($copy);

Replies are listed 'Best First'.
Re: PDF::API2 copy page
by shibu_pu (Acolyte) on Jul 22, 2009 at 14:16 UTC
    When I used the above piece of code, my system was hung for a while and the execution of the script was killed automatically.
      I get
      Can't call method "copy" on an undefined value at - line 1.
      Maybe you want to post a complete code sample
        copy method seems to have bug .. PDF::API2 is abandon, switch to PDF::API3
        I used PDF::API3 also. But the same result. I had to restart my system.