Patent ID: 8576252

Claim:
A non-transitory computer-readable medium having embodied thereon a program which, when executed by a computer, causes the computer to execute a method of displaying a portion of an image displayed on a display, the method comprising: receiving a first input of a user to select the portion of the image; receiving a second input of a user to display the portion; in response to receiving the second input, scaling a size of the selected portion of the image to one of a height and a width of the display and centering the scaled, selected portion on the display, wherein a height and a width of the selected portion are changed in different ratios respectively so that a ratio between the width and the height of the selected portion is within a predetermined range, and the predetermined range is determined according to a type of the selected portion which includes a character, a line drawing, and a picture; determining whether the ratio between the width and height of the scaled, selected portion is within the predetermined range; receiving a scaling ratio; and scaling the size of the selected portion by the scaling ratio, in response to determining that the ratio between the width and the height of the scaled, selected portion is not within the predetermined range.