1. An image generating apparatus comprising: obtaining unit adapted to obtain an image; extraction unit adapted to extract pixel count information indicating a pixel count of said image from said image; determination unit adapted to determine whether said image contains resolution information indicating the resolution of said image; transformation unit adapted to transform said image to an image having a size suitable for a predetermined sheet size if said determination unit determines that said image does not contain resolution information; resolution determination unit adapted to determine the resolution of said image on the basis of said pixel count information; and printing unit adapted to print said image the size of which has been transformed by said transformation unit, with said resolution determined by said resolution determination unit.