Patent ID: 8487973

Claim:
A light source control circuit of an optical writing device that admits connection of any one of a plurality of different kinds of light sources and that forms an electrostatic latent image on a photosensitive element by a connected light source controlled by the light source control circuit, the light source control circuit comprising: a pixel data output unit that outputs, based on information of an image to be formed as the electrostatic latent image, pixel data that is information of pixels configuring the image for each of the main scanning lines; a pixel data correcting unit that corrects a skew between the main scanning line of the electrostatic latent image formed by the light source and the photosensitive element and a local deviation of the electrostatic latent image formed by the light source on the main scanning line by acquiring the pixel data and by performing a predetermined process, and outputs pixel data; a pattern generating unit that outputs pixel data for forming a predetermined pattern in an electrostatic latent image to be formed by acquiring the pixel data and by performing a predetermined process; a first light source control unit for causing a first light source, that needs correction of the local deviation of the electrostatic latent image on the main scanning line, to emit light based on pixel data to be input; a second light source control unit for causing a second light source, that does not need correction of the local deviation of the electrostatic latent image on the main scanning line, to emit light based on pixel data to be input; and a switch that switches, based on a setting value, between a first transmission status, in which pixel data output from the pixel data output unit is transmitted to the pixel data correcting unit, the pattern generating unit, and the second light source control unit in this order, and a second transmission status, in which the pixel data is transmitted to the pattern generating unit, the pixel data correcting unit, and the first light source control unit in this order.