An image processing device, comprising:
- a block partition unit that partitions image data of a value M (M≧3) into a plurality of partition regions;
- an edge detection unit that detects an edge in the M-value image data;
- an edge enhancement unit that enhances the edge detected by the edge detection unit;
- an edge determination unit that determines whether each of the partition regions as a result of partition by the block partition unit includes an edge;
- a middle tone region determination unit that determines whether the partition region determined as not including the edge by the edge determination unit is a middle tone region;
- a first N-value data generation unit that generates N-value image data by converting, into a value N (M>N≧2) by going through a first N-value process, the image data of the partition region determined as being the middle tone region by the middle tone region determination unit;
- a second N-value data generation unit that generates the N-value image data by converting, into the value N by going through a second N-value process, the image data of the partition region determined as including the edge by the edge determination unit, or the image data of the partition region determined as not being the middle tone region by the middle tone region determination unit;
- and
- a printing data generation unit that generates printing data in which a dot setting is correspondingly made to pixels of the N-value image data generated by the first N-value data generation unit, and pixels of the N-value image data generated by the second N-value data generation unit.