Patent ID: 8587807

Claim:
An image processing apparatus, comprising: a pre-rotation encoded data pair storing unit that stores a set of pre-rotation encoded data pairs including: a plurality of pieces of pre-rotation encoded data that are data obtained by dividing object image data into a plurality of pieces of divided image data and individually encoding each of the plurality of pieces of divided image data; and pre-rotation position information that represents a position of the pre-rotation encoded data in the object image data, wherein the plurality of pieces of pre-rotation encoded data and the pre-rotation position information correspond to each other; a positional relationship storing unit that stores a relationship between the pre-rotation position information and post-rotation position information representing a position when the position represented by the pre-rotation position information has been rotated exactly by a given angle; a post-rotation data pair creating unit that sequentially reads out the pre-rotation encoded data pairs stored in the pre-rotation encoded data pair storing unit, decodes the pre-rotation encoded data included in the pre-rotation encoded data pairs into divided image data, and creates a plurality of post-rotation data pairs each including post-rotation divided image data obtained by rotating the decoded divided image data exactly by the given angle, and post-rotation position information associated with the pre-rotation position information included in the pre-rotation encoded data pair, wherein the divided image data after rotation and the post-rotation position information correspond to each other; and an image creating unit that arranges, for the plurality of post-rotation data pairs, the post-rotation divided image data included in each of the post-rotation data pairs at a position identified by the post-rotation position information included in the post-rotation data pair to create a post-rotation object image that is an image obtained by rotating the object image data exactly by the given angle, wherein the post-rotation data pair creating unit is a unit that reads out the pre-rotation encoded data pairs in a given order specified by the post-rotation position information associated with the pre-rotation position information included in the pre-rotation encoded data pairs when sequentially reading out the pre-rotation encoded data pairs stored in the pre-rotation encoded data pair storing unit; and the image creating unit is a unit that arranges the post-rotation divided image data in the given order when creating the post-rotation object image from the plurality of post-rotation data pairs, and wherein the divided image data includes margin data, and the margin data is excluded when reading out the pre-rotation encoded data corresponding to the divided image data that includes the margin data.