An image forming apparatus, for forming an image with plural types of dots
having different densities per unit area in a same hue, including: a
section to compare between a pixel value of a target pixel and a value of
a prescribed threshold value matrix, and to determine, based on the
comparison, whether to form a first type of dot at a position
corresponding to the target pixel; a section for calculating a corrected
threshold value matrix from the prescribed threshold value matrix; a
section for calculating a second determining condition by reflecting the
corrected threshold value matrix; and a section for determining whether
to form the second type of dot, based on a target pixel value added an
error with an error diffusion process and the second determining
condition, at the position where the first type of dot has been
determined not to be formed.