An apparatus for forming an image includes a photosensitive body, an
optical write unit which scans a light beam along a main scan path on a
photosensitive body to create a latent image thereon, the light beam
having power levels corresponding to multi-level image data, and a
shading correction unit which corrects shading along the main scan path
by making adjustment to the multi-level image data along the main scan
path, and changes the adjustment on a condition-specific basis.