Patent ID: 7139441

Claim:
An image processing device comprising: an extracting portion for extracting longitudinal and lateral resolutions of an input image; a first resolution converting portion for determining whether said extracted longitudinal and lateral resolutions of said image are equal to each other or not, and converting one of said longitudinal and lateral resolutions to become equal to the other and thereby to provide the longitudinal and lateral resolutions equal to each other when said longitudinal and lateral resolutions are different from each other; a detecting portion for detecting an inclination of said input image; an inclination correcting portion for correcting an inclination of the image having the resolution converted by said first resolution converting portion by rotating said image in accordance with the inclination of said image detected by said detecting portion; and a second resolution converting portion for performing resolution conversion on the image subjected to the inclination correction by said inclination correcting portion to convert said one resolution converted by said first resolution converting portion to the original resolution.