A trapping determination process section calculates edge intensities in a main scanning direction and a sub scanning direction of each pixel by using differential filters for each color plane. The trapping determination process section determines, for at least two color planes, whether there is a pixel where the absolute values of the edge intensities are equal to or greater than a threshold and the edge intensities take positive and negative values, respectively. When such a pixel exists, the trapping determination process section calculates color differences between this pixel and the average values of the pixel values in an increment direction region and a decrement direction region, and determines a direction in which the color difference is smaller to be a similar color direction. The trapping determination process section determines, on the basis of the similar color direction, whether or not to perform a trapping process, and performs the trapping process.