Patent ID: 8400675

Claim:
An image forming apparatus comprising: a determination unit that determines whether a number of colors used for representing an image data is equal to or smaller than a predetermined number; and a controller that performs rim-erasing processing or invalidates the rim-erasing according to the determination by the determination unit, and forms an image on a recording medium, wherein the image data comprises a text image and a composition image, and the determination unit determines whether a number of colors used for representing the image data for formation of the text image on the recording medium is equal to or smaller than the predetermined number and determines whether a number of colors for representing the image data for formation of the composition image on a recording medium is equal to or smaller than the predetermined number, and when the determination unit determines that the number of colors for at least one of the text image and the composition image is equal to or smaller than the predetermined number, the controller forms an image on the recording medium based on one of the text image and the composition image in an area including at least a rim portion of the recording medium, and forms an image on the recording medium based on the other one of the text image and the composition image in an area other than the rim portion of the recording medium to which the image is outputted.