Rotating all the odd pages in a PDF document
A document has been scanned, badly. All the odd pages are the wrong way round (by 180 degrees).
How to fix it?
pdftk A=[name of input PDF.pdf] shuffle AoddSouth AevenNorth output [name of output.pdf]
Reverse it if the even pages are wrong:
pdftk A=[name of input PDF.pdf] shuffle AevenSouth AoddNorth output [name of output.pdf]
If it is really messed up, and the pages are just 90 degrees out, substitute “East” or “West” for “South”, according to the rotation.
You may also like:
- Handwriting, and annotating PDFs: a stylus on Debian 10 on Surface Pro 6 compared with an iPad
- Removing the default games in GNOME 3 on Debian 10
- Debian 10 on a Samsung NC10
- Microsoft Surface, Debian, and two 4k monitor frustrations
- Fixing an array_filter() php error when using PHP 7.4 with dokuwiki's twofactor plugin
- Browsers for people who just want a browser
- A quick and dirty approach to redacting PDFs on Debian 11 Bullseye
- PinePhone (Pro) keyboard case v. Planet Gemini v GPD Pocket 2: a photo comparison
- Implementing BusKill: shutting down a Debian 11 Bullseye machine when a specific USB device is removed
- Fixing 'tee: command not found' on Debian 11 Bullseye
- Installing Twitter client cawbird from the official Debian 11 Bullseye repo
- Installing Debian 11 on a Microsoft Surface Go: secure boot, mokutil, Wi-Fi, and libinih1
- WireGuard VPN plugin for NetworkManager in GNOME 3 on Debian 11 Bullseye
- Adding music from an ssh-accessible remote server to an Android phone via Debian 11
- PineTab running Mobian and GNOME: an iPad replacement?