When the above described color shift correction processing is performed for all the pixels, not only for an image wherein the background or the character is an achromatic color such as white or black, but also for an image where a color difference is present at the edge (a pixel at the boundary of the background) of the character, the color difference at the edge of the character is replaced by a