a positive integer not less than 2 and n is a positive integer not less than 1; and executing the main scan k times using the k types of thinning masks to record an image on a predetermined area of the recording medium, wherein all of the pixels recorded in the k-th main scan are recorded at neighboring positions regarding a sub-scan direction of pixel groups recorded in up to at least the k-2-th