Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[hippo]: Environments differ.
[vedagiri89]: so, how to fix that differ
[choroba]: option one is install everything from the vendor
[choroba]: option two is install everything by hand
[choroba]: option three is mixed the two, but know well what you're doing
[vedagiri89]: right..let me check

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-06-19 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?