17. A computer executable program stored on a computer readable medium used for image processing, executing the procedures of: extracting a plurality of image areas from image data; recognizing positional information of each extracted image area; recognizing at least attributes concerning whether each extracted image area is a filled closed area, wherein the closed area has an inside of which a color has different value from an outside of the closed area, or an unfilled closed area wherein the closed area has an inside of which a color has same value from an outside of the closed; producing a file by synthesizing said image areas based on positional information recognized; and setting up an overlaying sequence for each image area in accordance with the recognition result of the attributes, wherein said producing procedure includes producing file by overlaying said image areas in accordance with the overlaying sequence, which has been set up.
17. A computer executable program stored on a computer readable medium used for image processing, executing the procedures of: extracting a plurality of image areas from image data; recognizing positional information of each extracted image area; recognizing at least attributes concerning whether each extracted image area is a filled closed area, wherein the closed area has an inside of which a color has different value from an outside of the closed area, or an unfilled closed area wherein the closed area has an inside of which a color has same value from an outside of the closed; producing a file by synthesizing said image areas based on positional information recognized; and setting up an overlaying sequence for each image area in accordance with the recognition result of the attributes, wherein said producing procedure includes producing file by overlaying said image areas in accordance with the overlaying sequence, which has been set up. 20. A computer program executable stored on a computer readable medium according to the claim 17 , wherein said extracting procedure includes a first extracting procedure of extracting text image areas, graphic image areas, and photographic image areas from image data, and a second extracting procedure of extracting filled closed areas, unfilled closed areas, and line areas that do not form any closed areas from the extracted graphic image areas; wherein said procedure of recognizing attributes includes recognizing attributes concerning whether each extracted image area is a text image area, a photographic image area, a filled closed area, an unfilled closed area or a line area; and said setting up procedure includes setting up the overlaying sequence for each image area of text image areas, photographic image areas, filled closed areas, unfilled closed areas and line areas in accordance with the recognition results of the attributes.