Patent ID: 7207639

Claim:
An image recording apparatus which records images on a recording medium by performing relative movement of the recording medium and a recording head provided with image recording elements, and controlling driving of the image recording elements according to image data, the apparatus comprising: a recording medium size determination device which determines a size of the recording medium to be used; a magnification setting device which sets magnification in order to generate an image larger than the size of recording medium according to input image data and the size of the recording medium determined by the recording medium size determination device; a first image processing device which generates image data with a size larger than the size of the recording medium from the input image data in accordance with the magnification set by the magnification setting device; a recording medium determination device which is disposed further upstream from the recording head in a relative movement direction of the recording medium by the relative movement and which acquires recording medium information including shape, orientation, and position of the recording medium; a second image processing device which generates image data with a size equal to or smaller than a recording medium area indicated by the recording medium information according to the recording medium information from the image data generated by the first image processing device; and a recording control device which controls the recording head according to the image data generated by the second image processing device, and records on the recording medium the image indicated by the image data.