An image forming apparatus capable of decreasing the image unevenness of a
superimposed image at the time of forming starting (head) lines of the
images in respective colors with different beams in order to decrease a
shift of a superimposed image. Let a position, where an image in a first
color is formed with a beam A as a leading beam, be (a). Let a starting
position of formation of an image in a second color be (b), and one dot
(line) of shift arises in the superimposed image. In order to decrease
the shift of the superimposed image, image formation is performed with
selecting a beam B as a beam which writes a head of the image (c). When
image formation is performed for color shift reduction with changing a
leading beam for each color image, tonality correction is performed to
each beam for subsequent images so as to decrease image unevenness due to
the difference between shapes and exposure power of respective beams.