A control method for an image processing apparatus includes one or a plurality of specified pieces of image data and a plurality of evaluated templates. A plurality of layout images are generated by arranging the specified one or plurality of pieces of image data with respect to one or a plurality of slots included in each of the plurality of templates. At least one layout image out of the plurality of layout images is specified at least based on evaluations of the plurality of templates. The specified at least one layout image is output.