A method for producing a new image of a desired aspect ratio from an
original digital image comprises the steps of: (a) determining a cropping
window of the desired aspect ratio and a predetermined size; (b)
obtaining a main subject belief map including an array of belief values
indicating the location and relative importance of subject matter in the
original digital image; (c) using the main subject belief map,
determining a location of the cropping window in the original digital
image that satisfies a predetermined set of criteria; and (d) producing a
cropped image of the desired aspect ratio.