Patent ID: 7738735

Claim:
An image processing apparatus comprising: a processor that executes processing steps executable by a computer; and a memory that stores processing steps executable by a computer, the processing steps include; (a) a specifying step for specifying sizes of two sides of a resize rectangle, being at right angles to each other, according to numeric values input by a user; (b) a determining step for determining which of the specified sizes of the two sides of the resize rectangle are applied to which of sizes of horizontal and vertical sides of an object image to be resized; (c) a rotating step for rotating the resize rectangle so that a larger one of the specified sizes of the two sides of the resize rectangle is applied to a longer direction of the object image to be resized, without rotating the object image to be resized, when the longer direction of the specified sizes of the two sides of the resize rectangle is different in direction from the longer direction of the object image to be resized; and (d) a resizing step for resizing the object image based on the specified size in the determined horizontal direction and the specified size in the determined vertical direction, wherein the processing steps further include a determining step for determining whether there are two or more object images, and wherein directions of the two sides of the resize rectangle are further specified in response to a direction input by the user operation in the specifying step, and if two or more object images are not determined in the determining step, each of the specified sizes of the two sides of the resize rectangle is applied to the vertical size and the horizontal size of the object image respectively in the resizing step, keeping the specified directions of the two sides.