A complicated operation using a graphics application is necessary in order to create a cover attached to an album. Accordingly, when a cover image to be attached to an output object that includes a digital image is generated, metadata that has been associated with the digital image to be output is read in and the cover image is generating by making selective use of a cover template related to the metadata that has been read in.