Deskew

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
johny3329
Posts: 1
Joined: 2013-01-20T23:03:04-07:00
Authentication code: 6789
Contact:

Deskew

Post by johny3329 »

Hello all,

I use the -deskew option quite frequently to straighten scanned page sin my workflow. Usually a tolerance of 40% works best. A problem occurs when I deskew a bunch of images where a few are mostly images on the page. The -deskew option actually skews them more then they were originally.

If anyone aware of other options I can use to when calling the -deskew option? Maybe letting it know if the deskew value is over a certain amount that it would not deskew?

I like the option related to the -rotate where we can use the "<" or ">" to add a little logic to the command.

Thank you.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:

Re: Deskew

Post by fmw42 »

If on Linux or Mac you can try my script, unrotate. See the link below.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Contact:

Re: Deskew

Post by anthony »

Example?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 31 guests