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

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

Replies are listed 'Best First'.
Re^4: Extract all pages from pdf
by leocharre (Priest) on Dec 23, 2008 at 18:56 UTC
    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.