7. The control method according to claim 1 , wherein templates included in the first template group and templates included in the second template group are different in at least one of shapes of the image layout region, sizes of the image layout regions, and positions of the image layout regions.
1. A control method for an image processing apparatus, the control method comprising: acquiring, as a first acquiring, at least a first template group having a first number of image data layout regions and including a plurality of templates having different layouts from each other and a second template group having a second number, different from the first number, of image data layout regions and including a plurality of templates having different layouts from each other; acquiring, as a second acquiring, at least a first layout candidate information group including a plurality of layout candidate information pieces generated based on the first number of image data pieces and the plurality of templates included in the first template group and a second layout candidate information group including a plurality of layout candidate information pieces generated based on the second number of image data pieces and the plurality of templates included in the second template group; evaluating a plurality of layout candidate information pieces at least including the layout candidate information pieces in the first layout candidate information group and in the second layout candidate information group to provide an evaluation; selecting a template corresponding to one layout candidate information piece of the evaluated plurality of layout candidate information pieces based on the evaluation; and outputting a layout result based on the selected template.