A computer program according to the present invention causes a computer to execute a process of receiving editing order including rotation, shifting, or distortion with respect to a digital image to be processed, identifying a target resolution of the digital image to be processed, generating a temporary reference image with a resolution predetermined times the resolution of the target resolution based on the digital image, performing the received editing order with respect to the temporary reference image, and outputting a digital image with the target resolution by performing sampling at a rate corresponding to the target resolution with respect to the edited temporary reference image.
An image processing method of the present invention includes receiving editing order of scaling, rotation, shifting, or distortion with respect to a digital image to be processed, identifying a target resolution of the digital image to be processed, generating a temporary reference image with a resolution predetermined times the resolution of the target resolution based on the digital image, performing the received editing order with respect to the temporary reference image, and outputting a digital image with the target resolution by performing sampling at a rate corresponding to the target resolution with respect to the edited temporary reference image.