Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I extract a page from a PDF file? [closed]

Tags:

pdf

perl

Is there any Perl script to get the pages from a PDF file and convert the same to another PDF file?

like image 604
Anil Avatar asked Jan 06 '09 14:01

Anil


1 Answers

You asked for Perl, so here's a good solution via CAM::PDF. Say you just want pages 3-6 of orig.pdf to be saved to new.pdf:

deletepdfpage.pl orig.pdf 1-2,7- new.pdf
like image 197
Chris Dolan Avatar answered Sep 25 '22 04:09

Chris Dolan