Patent ID: 8711426

Claim:
An image forming apparatus, comprising: an image data analysis unit configured to identify a width-directional resolution and a height-directional resolution of image data; and an image conversion unit configured to change, if the width-directional resolution and the height-directional resolution are not the same, at least one of the width-directional resolution and the height-directional resolution to cause a first aspect ratio for printing to match a second aspect ratio of the image data, wherein the image conversion unit is further configured to: calculate a magnification of an image size based on a pixel count of a maximum print area of a print sheet and a pixel count of aspect-ratio-matched image data; use the magnification to change both a width and a height of the aspect-ratio-matched image data; and set the magnification to a smaller one of: a first magnification ratio obtained by dividing a width-directional pixel count of the maximum print area of the print sheet by a width-directional pixel count of the aspect-ratio-matched image data; and a second magnification ratio obtained by dividing a height-directional pixel count of the maximum print area of the print sheet by a height-directional pixel count of the aspect-ratio-matched image data.