1. An image processing apparatus, comprising: an area dividing unit configured to extract an object area from an input image; a determination unit configured to determine an attribute of the object area extracted by the area dividing unit; a metadata processing unit configured to acquire a metadata to be associated with the object area extracted by the area dividing unit; a graphics description generating unit configured to generate a transparent graphics description for an object area having an attribute that requires generation of the transparent graphics description; and an electronic document generation unit configured to associate the transparent graphics description generated by the graphics description generating unit with the metadata and generate an electronic document that includes image data generated based on the input image and the transparent graphics description associated with the metadata.