Patent ID: 8723905

Claim:
A light source control circuit of an optical writing device that admits connection of a plurality of different kinds of light sources, the light source control circuit performing control to form an electrostatic latent image on a photosensitive element by using a connected light source, the light source control circuit comprising: a pixel data output unit configured to output, 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 main scanning lines; a pixel data correcting unit configured to perform an image correction by correcting the pixel data; a pattern generating unit configured to generate a pattern to be formed in the electrostatic latent image; a first light source control unit configured to cause a first light source, that needs the image correction on the main scanning line, to emit light based on pixel data; a second light source control unit configured to cause a second light source, that does not need the image correction on the main 4scanning line, to emit light based on pixel data; a switch configured to switch, based on a kind of the light source connected, between a first transmission status, in which the 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; and a shared memory to be used for the image correction.