Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Splitting PDFs with PDF::API2

by aitap (Curate)
on Oct 29, 2014 at 20:26 UTC ( #1105550=note: print w/replies, xml ) Need Help??


in reply to Splitting PDFs with PDF::API2

This code expects the filename as the first command line argument. For example, if the program is saved as "split.pl" in your home directory and the file to be processed is "MyDocument.pdf" on the desktop, launch perl ~/split.pl ~/Desktop/MyDocument.pdf. See shift and @ARGV for more info. The processed file will be created near the source file, with ".clean" added before the file extension (MyDocument.clean.pdf in my example).

Replies are listed 'Best First'.
Re^2: Splitting PDFs with PDF::API2
by Jawle (Initiate) on Oct 29, 2014 at 21:11 UTC
    You my friend are brilliant! Thank you for such a simple and clear answer! This is a great script and works wonders for scanned textbooks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1105550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-10-15 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (82 votes). Check out past polls.

    Notices?