Re: Auto-rotate image

[email protected] Fri, 27 Mar 2009 20:52:18 -0700
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
>  Do you know how, whenever you scan a book or magazine page, the
>  image is inevitably a little bit crooked?

ImageMagick has a -deskew option to auto-rotate an image.  However, if you
have a better solution, post it here.  To code up your solution, consider an
ImageMagick custom image filter discussed here
http://www.imagemagick.org/script/architecture.php#filters.  Near the end
of this discussion you will find a link to the Magick Filter Kit to help you
get started with your development.