1. An apparatus comprising: an acquisition unit configured to acquire an image of a layout target for a template; a determination unit configured to determine a category of the template based on an output timing of a layout in which the image acquired by said acquisition unit is arranged on the template; an editing unit configured to edit the image acquired by said acquisition unit using editing processing corresponding to the category of the template determined by said determination unit; and an arranging unit configured to arrange the image edited by said editing unit on the template corresponding to the category.