Patent ID: 7800634

Claim:
A method of rotating an image based on image data comprising a plurality of pixels per a line, the method comprising: setting the number of pixel data forming the pixel; sequentially storing the pixel data in a first memory according to an order of the line and the pixel, each pixel data being stored in at least one byte; calculating the number of entire image data on the basis of the number of pixel data per pixel, the number of image data lines, and the number of pixels per line; setting an image rotation angle; calculating a location value of each pixel data in a second memory based on the number of pixel data per pixel, the number of image data lines, the number of pixels per line and the number of entire image data through independent processes corresponding to the set image rotation angle; and storing the image data from the first memory in the second memory on the basis of the calculated location value of each pixel data in the second memory with regard to each pixel data.