16

I've scanned about 100 documents, so I have a folder with 100 jpg images, but they are rotated by the angle up to 15 degrees. Is there any free simple to use software I can use to rotate them to the normal orientation? It would be good if it works on Windows XP or Windows 7.

2
  • There are some additional potentially helpful answers here: How can I deskew and crop PDFs made from scanned pages automatically?.
    – user11574
    Commented Aug 4, 2016 at 9:19
  • Sadly most of the software that can do this are made for smartphones. Like office lens, camscanner, notebloc, etc. I only know of ScanTailor on Windows OS and various image editing tools or python scripts (ocrmypdf)
    – Rudolph
    Commented Mar 7 at 20:02

5 Answers 5

14

Imagemagick has a -deskew option which may be helpful and the app works very well from the command line on batches of files.

There's some handy Imagemagick scripts here - have a look at unrotate.

1
  • Thank you. It decreases the angle of rotation of the image from 5-15 degrees (in my original images) to under 2 degrees (but doesn't eliminate it completely).
    – fiktor
    Commented Oct 28, 2010 at 10:16
10

The definitive tool is ScanTailor. It works like magic for fixing scanned pages and it has a Qt-based GUI frontend.

It allows for batch processing, manual verification and fix of every intermediate step (separation between pages, deskewing, content area identification, noise reduction and optimization) and it's available on every platform (Mac -- via MacPorts or Homebrew, Linux, Windows).

It takes as inputs JPG or TIFF files.

2
  • Its CLI is unmaintained since 2011.
    – HappyFace
    Commented Oct 16, 2020 at 13:28
  • Repo is archived and project is no longer maintained Commented Jul 28, 2023 at 18:57
5

Maybe you want to see unpaper too.

0

Pretty much any image manipulation package will allow you to rotate images. Paint.NET for example.

Actual deskewing where the image is distorted rather than just rotated is harder and is available in fewer packages.

0

ocrmypdf can deskew PDF pages automatically:

ocrmypdf --deskew --clean --rotate-pages input.pdf output.pdf
1
  • It didn't do a very good job on a pdf I tried, text lines are not horizontally straight.
    – Rudolph
    Commented Mar 7 at 19:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .