Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
34
rated 0 times [  34] [ 0]  / answers: 1 / hits: 53883  / 3 Years ago, wed, august 18, 2021, 5:20:49

I have a pdf file shown upside down. So I use Okular to rotate it and it looks good. The problem is, The next time I open it with other software, it's still upside down. If I open it with Okular, it is not.



I am wondering what's happening underhood.




  • I do have write permission on that file.

  • I tried "save a copy to", but no effect. Actually, there is no save operation needed to be done. The file seems not even been modified after I rotate in Okular.


More From » pdf

 Answers
6

According to the man page for pdftk, one of the operations is rotate and you can save the rotated file:




The page rotation setting can cause pdftk to rotate pages and

documents. Each option sets the page rotation as follows (in

degrees): north: 0, east: 90, south: 180, west: 270, left:

-90, right: +90, down: +180. left, right, and down make

relative adjustments to a page's rotation.




Example (will rotate pages 1 to 5 +180 degrees, i.e. vertically / upside down):



pdftk original.pdf rotate 1-5south output new-rotated.pdf



However, pdftk is quite powerful and it's better that you read the man pages and use pdftk --help to meet your exact needs.



If you want to take a look at man pdftk without installing it, here's a link for 13.10: http://manpages.ubuntu.com/manpages/saucy/en/man1/pdftk.1.html


[#27317] Thursday, August 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
;