1. An image recording apparatus, comprising: a recording head including recording elements which record an image onto a recording medium; an abnormal recording element specification device which specifies an abnormal recording element from the recording elements of the recording head; a correction dot pattern setting device which sets a correction dot pattern for preventing an image abnormality due to the abnormal recording element; an image processing device which generates dot data by performing quantization processing on image data using the correction dot pattern set by the correction dot pattern setting device; and a drive device which drives the recording elements according to the dot data generated by the image processing device.