Re: Modify python script, or best way to extract PDF pages?
Re: Modify python script, or best way to extract PDF pages?
- Subject: Re: Modify python script, or best way to extract PDF pages?
- From: John Cochrane <email@hidden>
- Date: Fri, 20 Jan 2006 22:47:47 +1100
On 20/01/2006, at 10:15 PM, has wrote:
You can invoke that script from the shell if you prefer. e.g.:
python extract.py --input='/Users/foo/TEST.pdf'
--output='/Users/foo/TEST 1.pdf' --slice='[0]'
will output the first page of the pdf to file 'TEST 1.pdf'. It
wouldn't be much effort to hack up a version that outputs the whole
lot in a single operation if you needed it; let me know.
That's fantastic.
I have installed and used pdftk for splitting pdf files into individual
pages but would prefer to have a native way of doing it.
I'd be interested in knowing the python command for splitting a pdf
document into its individual pages.
Is there any python way for joining pages and discovering the number
of pages as well?
John Cochrane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden