Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cropping PDFs / merging pages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pberndt
n00b
n00b


Joined: 21 Jan 2005
Posts: 22

PostPosted: Tue Jan 26, 2010 6:24 pm    Post subject: Cropping PDFs / merging pages Reply with quote

Hi,

I'm looking for a way to crop multi-page PDFs and remove pagebreaks.

I know pdfcrop, but that's not what I'm looking for: pdfcrop crops individual pages but doesn't merge the resulting pages. I made a sketch to show what I mean:
http://img214.imageshack.us/img214/1325/imgku.png

Any ideas?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Tue Jan 26, 2010 6:47 pm    Post subject: Re: Cropping PDFs / merging pages Reply with quote

pberndt wrote:
Hi,

I'm looking for a way to crop multi-page PDFs and remove pagebreaks.

I know pdfcrop, but that's not what I'm looking for: pdfcrop crops individual pages but doesn't merge the resulting pages. I made a sketch to show what I mean:
http://img214.imageshack.us/img214/1325/imgku.png

Any ideas?
Can you successfully import it into openoffice, using their PDF import extension?
Back to top
View user's profile Send private message
pberndt
n00b
n00b


Joined: 21 Jan 2005
Posts: 22

PostPosted: Tue Jan 26, 2010 8:10 pm    Post subject: Reply with quote

Cool :-) That's a great start, I didn't know that OOo can do that. Yes, importing works and I'm able to rearrange the pages.

But is there a tool to automate the process? (Without rasterizing the file)
Back to top
View user's profile Send private message
pberndt
n00b
n00b


Joined: 21 Jan 2005
Posts: 22

PostPosted: Tue Jan 26, 2010 9:32 pm    Post subject: Reply with quote

I took the tradeoff of rasterisation and hacked a little script to rearrange the pages. In case anyone searches for something similar, see
http://www.pberndt.com/Programme/Linux/Scripte/pdfshrink?ct=py

I'm still looking for automated solutions w/o rasterizing :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum