An image forming apparatus, comprising:
- a photosensitive member that is driven to rotate;
- an exposure head including a first light emitting chip and a second light emitting chip that is placed at a position different from a position of the first light emitting chip in a direction along a rotation axis of the photosensitive member, the first light emitting chip including a plurality of first light emitting elements that are placed at different positions in the direction along the rotation axis of the photosensitive member, a first digital-analog converter that outputs a voltage corresponding to a setting value as a digital value, and a first circuit unit that supplies a current to the plurality of first light emitting elements based on the voltage output from the first digital-analog converter, the second light emitting chip including a plurality of second light emitting elements that are placed at different positions in the direction along the rotation axis of the photosensitive member, a second digital-analog converter that outputs a voltage corresponding to a setting value as the digital value, and a second circuit unit that supplies a current to the plurality of second light emitting elements based on the voltage output from the second digital-analog converter;
- and
- at least one processor configured to:
- set a value that has been decided on so that one light emitting element included among the plurality of first light emitting elements emits light of a predetermined amount as the setting value in the first light emitting chip, and set a value that has been decided on so that one light emitting element included among the plurality of second light emitting elements emits light of the predetermined amount as the setting value in the second light emitting chip,
- generate image data pieces for causing the plurality of light emitting elements to emit light, and
- correct image data pieces that respectively correspond to the plurality of first light emitting elements based on first correction data for correcting amounts of light respectively emitted by the plurality of first light emitting elements, and correct image data pieces that respectively correspond to the plurality of second light emitting elements based on second correction data for correcting amounts of light respectively emitted by the plurality of second light emitting elements,
- wherein the first circuit unit supplies a current to each of the plurality of first light emitting elements based on the corrected image data pieces, and the second circuit unit supplies a current to each of the plurality of second light emitting elements based on the corrected image data pieces.