ImageMagick can mass-crop images, with adjustable tolerance. It can also deskew (turn to right angle) images:
http://greyproc.blogspot.co.uk/2012/03/batch-straighteningdeskewing-and.html


On Wed, Feb 13, 2013 at 2:45 PM, Andy Mabbett <andy@pigsonthewing.org.uk> wrote:
On 12 February 2013 14:30, Andy Mabbett <andy@pigsonthewing.org.uk> wrote:
> For Windows users, IrfanView (freeware) allows batch rotation and
> cropping (to specific sizes; it doesn't do edge detection, though I
> will raise a feature request). It's also useful for manual cropping,
> resizing, format conversion, etc. being small and lightweight.


I'm informed that IrfanView "auto-crop borders already works, with
higher color tolerancy in: properties->editing" (I've not tried it,
yet)

--
Andy Mabbett
@pigsonthewing
http://pigsonthewing.org.uk

_______________________________________________
Wikimedia UK mailing list
wikimediauk-l@wikimedia.org
http://mail.wikimedia.org/mailman/listinfo/wikimediauk-l
WMUK: http://uk.wikimedia.org