Patent ID: 7800796

Claim:
An image forming apparatus comprising: an image forming section to perform an image formation onto a recording medium which moves relatively in a sub scanning direction, the image forming section comprising a writing unit including a writing element; an image processing section to convert data for driving the writing unit based on input image data; a zoom ratio setting section to set zoom ratios of an image in a main scanning direction respectively associated with positions in the image in the sub scanning direction at the image formation to the recording medium; and a controlling section to control the image formation in the writing unit, based on the data for driving the writing unit which has been converted in the image processing section based on the zoom ratio set on the zoom ratio setting section; wherein the zoom ratio setting section sets a first zoom ratio which is a zoom ratio of the image in the main scanning direction at a first position of the image in the sub scanning direction and a second zoom ratio which is a zoom ratio of the image in the main scanning direction at a second position different from the first position of the image in the sub scanning direction, and wherein the controlling section calculates the zoom ratio of the image in the main scanning direction at a plurality of positions in the image in the sub scanning direction based on the first and second zoom ratio set on the zoom ratio setting section, and controls the image formation on the writing unit based on the calculated zoom ratios.