A method for controlling an image processing apparatus includes a determining step of determining, on the basis of a given first area in an original document image, a second area in the original document image that does not overlap with the first area, and a compositing step of combining a first copy-forgery-inhibited pattern image with the first area and combining a second copy-forgery-inhibited pattern image with the second area.