Patent ID: 8203763

Claim:
An image scanning apparatus comprising: a scanning unit configured to scan each of a plurality of images from a plurality of originals that are inputted, the plurality of originals including majority originals that are in the same orientation and minority originals that are in a different orientation from the majority originals; a rotation designating unit configured to designate rotation of the plurality of the images that are scanned so that the image orientation with respect to the majority originals coincides with an upright orientation; a first image rotating unit configured to rotate the scanned image in accordance with the designated rotation; an orientation determining unit configured to determine whether the image orientation rotated by the first image rotating unit coincides with the upright orientation or not; and a second image rotating unit configured to, for an image determined as not coinciding by the orientation determining unit, further rotate the orientation of the image so that the orientation coincides with the upright orientation.