in reply to Re: Extract all pages from pdf
in thread Extract all pages from pdf

Yeah, the thing with PDF::API2 and CAM::PDF, is that I've found they may or may not work to do this on a certain architecture. PDF::Burst has the various methods to blow up a pdf doc into single pages. It uses PDF::API2, CAM::PDF, etc. So if one doesn't work, you use the other, same arguments, etc.

Replies are listed 'Best First'.
Re^3: Extract all pages from pdf
by prabudass (Novice) on Dec 17, 2008 at 12:26 UTC
    I extracted all pages from pdf file using "PDF::Extract". If i open that extracted pdf it open correctly. But if i try to close it asked yes or no dialog box. Could you please explain how to rectify this problem.

    Code:
    use PDF::Extract;
    $pdf=new PDF::Extract( PDFDoc=>"C:\\sample.pdf");
    $i=1;
    $i++ while ( $pdf->savePDFExtract( PDFPages=>$i ) );

    Thanks,
    Prabudass
      You said you want to extract pages one by one from a pdf. I suggested you try PDF::Burst, read the docs, try it out.