Patent ID: 8648892

Claim:
An image forming apparatus that forms an image according to image information, the image forming apparatus comprising: a photosensitive element; an optical scanning device that includes a light source, scans a surface of the photosensitive element in a main-scanning direction using light emitted from the light source, and forms a latent image on the surface of the photosensitive element; a developer that develops the latent image; a plurality of density sensors that are arranged at different positions in the main-scanning direction and that are to detect density variations of the image developed by the developer in the main-scanning direction and a sub-scanning direction perpendicular to the main-scanning direction; and a processor configured to generate correction data to correct an output of the light source so as to suppress the density variations based on detection results of the plurality of density sensors, wherein: the processor is further configured to modify the correction data such that the output after the correction is at a minimum rated output of the light source, or more, at a position at which the output before the correction is lower than the minimum rated output of the light source, in the relation between a position on the surface of the photosensitive element in the main-scanning direction and the output of the light source after the correction, and to modify the correction data such that the output after the correction is at a maximum rated output of the light source, or less, at a position at which the output before the correction is higher than the maximum rated output of the light source.