主权项 |
1. An image processing apparatus comprising:
a unit configured to acquire a first image for use in printing on an obverse surface of an envelope with a flap in an open state or a reverse surface of the envelope with the flap in a closed state, and a second image for use in printing on the flap; a generation unit configured to generate an image that is to be printed on the flap, as a third image, using an image obtained by rotating the second image by 180 degrees if it is designated that the flap is in the open state or using the second image if it is designated that the flap is in the closed state; and a composition unit configured to generate, if it is designated that the flap is in the open state, an image obtained by coupling the first image and the third image while a lower side of the third image is aligned with a flap connecting side, which is assumed to be a side of the first image on which the flap is provided, as an image that is to be printed on a surface constituted by the obverse surface of the envelope and the flap, the composition unit being configured to generate, if it is designated that the flap is in the closed state, an image obtained by superimposing the third image on the first image while an upper side of the third image is aligned with the flap connecting side, as an image that is to be printed on a surface constituted by the reverse surface of the envelope and the flap. |