Patent ID: 8144378

Claim:
An image processing device comprising: a preview image generating unit configured to reduce original image data of an image scanned by a scanning unit to generate a preview image; a memory control unit configured to save a preview image data item of the preview image in a memory and read the preview image data item from the memory; a transfer unit configured to transfer the preview image data item saved in the memory to a display unit; an information input unit configured to input relationship information indicating a relationship between a main scanning direction in which the image is scanned and an upper side of the image; and an image rotating unit configured to change, with reference to the relationship information, an arrangement order of pixels in the preview image data item in the event that the main scanning direction and a sub scanning direction in which the scanning unit scans the image do not respectively match the main scanning direction and the sub scanning direction in which the display unit displays the preview image with the upper side at the top of the display unit, whereby the arrangement order of the pixels is changed such that the main scanning direction extends from a left side to a right side of the preview image and the sub scanning direction extends from the upper side to a lower side of the preview image, as viewed with the upper side of the preview image at the top.