Deskew a black and white image

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
APeskes

Deskew a black and white image

Post by APeskes »

Hi,

is there a way to deskew a black and white image and to remove unnecessary white border?

Thanks in advance,
Alexander
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

There is now. See IM Examples, perspetive transform (DIY)

Note that it is VERY VERY slow, and should now be at the top of the todo list to be builtin.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply