Versions:

  • 0.1.1
  • 0.1.0

Auto-Rotate is a PDF processing utility developed by publisher Edwin de Jong, currently available at version 0.1.1, with two versions released to date. Its purpose is to automatically deskew and turn upright every page of a PDF document, addressing the common problem of scanned or digitized pages that arrive rotated, tilted, or otherwise misaligned. The software follows a multi-stage pipeline to accomplish this: it first rasterizes the PDF, then snaps each page to its correct orientation using Tesseract OSD (orientation and script detection), corrects any remaining fine skew with jdeskew, optionally binarizes scans to produce crisp black-on-white output, and finally reassembles the processed pages back into a complete document. This combination of coarse orientation detection and fine skew correction makes the tool relevant to document processing, scanning workflows, optical character recognition preparation, and digital archiving, where consistently aligned pages improve readability and the accuracy of downstream text extraction. The optional binarization step is particularly suited to cleaning up scanned material, converting uneven or grayscale scans into sharp, high-contrast pages. Auto-Rotate ships in three forms to accommodate different users and environments: a command-line interface (CLI) for scripted and batch-oriented use, a Python library for integration into custom applications and automated pipelines, and a desktop app for users who prefer a graphical interface. This range of distribution formats allows the same underlying correction pipeline to serve interactive desktop users, developers building document-processing systems, and administrators automating large-scale PDF cleanup tasks alike. By combining rasterization, Tesseract OSD-based orientation snapping, jdeskew-based fine skew correction, optional binarization, and page reassembly into a single automated workflow, Auto-Rotate provides an end-to-end solution for normalizing the orientation and appearance of PDF pages without requiring manual intervention on a page-by-page basis.

Tags: