Patent ID: 8422796

Claim:
An image processing device, comprising: a memory configured to function as a format information storage unit that stores format information about a format of a document; a processor configured to function as: an extraction-portion determination information storage unit that stores, in association with the format, extraction-portion determination information that indicates positions of fields among a plurality of fields extracted from the document; and a placement information acquisition unit that acquires placement information that indicates positions at which contents of the fields are to be located in an alternative image of the document; and a scanner configured to function as an image data acquisition unit that acquires image data of the document, the processor further configured to function as: a format determination unit that acquires format information about a format of the document of the image data through an analysis of the image data acquired by the image data acquisition unit, and determines the format of the document through a comparison with the format information stored in the format information storage unit; an extraction unit that reads, from the extraction-portion determination information storage unit, the extraction-portion determination information corresponding to the format determined by the format determination unit, and extracts the contents of the fields indicated in the extraction-portion determination information in association with the format; an alternative image generation unit that generates the alternative image derived by placing the contents of the fields extracted by the extraction unit at the positions where the contents of the fields are to be located in the alternative image of the document in accordance with the placement information acquired by the placement information acquisition unit; and a writing unit that writes the alternative image generated by the alternative image generation unit into a storage unit.