7. An image processing device according to the claim 4 , wherein said second extracting part comprises, a vector transforming part for transforming image data in graphic image areas into vector data; a closed area extracting part for extracting closed areas based on the connection relation of a plurality of vector data; a color information judging part for judging whether the color information of internal points and external points of the extracted closed areas are the same; and a filled closed area detecting part for detecting filled closed areas based on the judgment results of the color information judging part.
4. An image processing device according to the claim 1 , wherein said image area extracting part comprises a first extracting part for extracting text image areas, graphic image areas, and photographic image areas from image data, and a second extracting part for 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 attribute recognizing part recognizes 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 sequence setting part sets 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 result of said attribute recognizing part.