Patent ID: 8483499

Claim:
An image processing apparatus comprising a processor, the processor adapted to function as: an image extracting unit that extracts, from a multilevel image, a foreground image for each color as a binary image; a vector information generating unit that vectorizes the foreground images in the multilevel image to generate vector information; a color determining unit that determines color information of the vector information based on colors of the binary images, which are extracted by the image extracting unit and correspond to the vector information generated by the vector information generating unit; a background image encoding unit that encodes a multilevel background image in the multilevel image; and a file generating unit that generates a file having (i) the multilevel background image encoded by the background image encoding unit, (ii) the vector information generated by the vector information generating unit and (iii) the color information which correspond to the vector information and are determined by the color determining unit, wherein the vector information generated by the vector information generating unit indicates shapes of outlined characters, and the color determining unit changes the determination when any one of the following conditions are met: (i) only one of the binary images corresponds to a single one of the characters, (ii) plural binary images correspond to the single one of the characters and the colors of the plural binary images are similar to each other, and (iii) plural binary images correspond to the single one of the characters and the colors of the plural binary images are not similar.