On page 78 of the PDF Specification 2008, it mentions that the PDF's page object has an integer key value
Rotate that you can set to tell the software how the page should be displayed. This value shall be multiple of 90 degrees.
So a lot of tools would simply rotate the pdf page by simply setting this key and leave the original page content untouched. I am wondering if there is a way to change orientation of the page by modifying the actual page stored in pdf directly, instead of doing this marker-style modification?
So what I am trying to achieve here is:
Rotate the page (say) 90 degrees physically instead of simply setting the
Rotate key value to 90. (That's to say the value of
Rotate should remain 0 after rotation.)
Any command line tools can be used here? I have tried the
pdftk, but it only sets the