application unit for, according to a relation between a coordinate position of a pixel in the original image data and a coordinate position of a resultant pixel in the scaled image data, defining a plurality of types into which the relation is classified, and applying specific rules for the plurality of types that are defined, based on the output from the expanded width detector.