1. An image processing device comprising: extraction means for extracting a document block containing a specific image from among image data to be processed; recognition means for recognizing character code from a character image within the document block; reconstruction means for reconstructing the document block in a specific shape; and layout means for laying out character code data corresponding to the character code recognized by the recognition means within the reconstructed document block.