1. An apparatus comprising: an original-document-attribute determining unit that determines attribute of an original document image; a form-attribute determining unit that determines attribute of a form image; and a compositing unit that performs sequence of compositing of the original document image, a copy-forgery-inhibited pattern image, and the form image, the sequence of compositing being determined based on the determined attribute of the original document image and the determined attribute of the form image.