you know the drill... theres typically 3 to 5 images that can fit on my flatbed scanner and they
vary in size and position in the scanned image.
Id like to be able to programatically auto-crop the individual images out of the larger scan image.
has anyone here done such a thing? can I use imagemagick APIs to do it? I can code but Im not
familiar with image processing techniques (yet). any help pointing me in the right direction would
be greatly appreciated - i really dont want to manually crop them one by one in photoshop!

thanx!
.dsj.
ps - a secondary goal would be to auto-detect orientation and rotate them programatically if
its possible. being right 50%+ of the time is still a help. anyone ever done this? again, these are
scanned images so no EXIF info to help.