Fixing orientation

General help on the Wiki

Moderators: kcleung, Wiki Admins

Post Reply
goldberg988
forum adept
Posts: 97
Joined: Sun Dec 31, 2006 5:51 am
notabot: YES
notabot2: Bot
Location: Tulsa, OK, USA

Fixing orientation

Post by goldberg988 »

Is there a way to permanently change the orientation of the pages in a pdf file? I've got a file where not only is every page vertical, but they alternate as to counter-clockwise and clockwise rotation. I fooled around with pdftk but couldn't find anything there. Any tips?
imslp
Site Admin
Posts: 1642
Joined: Thu Jan 01, 1970 12:00 am

Post by imslp »

Well... I think you'll have to disintegrate the PDF file (and hope it only has one image per page). This would require several tools: pdfimages (to rip the images out of the PDF file) from the xpdf toolkit, and convert (to convert the images back to PDF while rotating them) from Imagemagick, and finally pdftk to bind the resulting PDFs together.

Or... you can e-mail me the file and I can check it out, and fix it if possible :) E-mail address is imslp@imslp.org
Peter
Site Admin
Posts: 436
Joined: Sat Apr 01, 2006 9:34 am
notabot: 42
notabot2: Human

Post by Peter »

Adobe Acrobat can do this, among a lot of other functions. But this program is not free... And don't know if a linux version exists.
Post Reply