1. An image editing apparatus for editing a plurality of images, comprising: a determination unit adapted to determine whether each of the plurality of images is a vertically long image or horizontally long image, determine a first count of the number of vertically long images and a second count of the number of horizontally long images, and select which is greater of the first count and the second count; a decision unit adapted to decide an aspect ratio based on the selection by said determination unit; and an output unit adapted to output the plurality of images at the aspect ratio decided by said decision unit.