Patent ID: 7787707

Claim:
An image-processing device comprising: a raster operation unit that receives a first type of command, sets source data to raster image data having an arbitrary size in response to the first type of command, and executes a first image process corresponding to the received first type of command on target raster image data, the raster operation unit receiving a second type of command different from the first type of command, setting the source data to pattern image data having a specific size in response to the second type of command, and executing a second image process corresponding to the received second type of command on the target raster image data on the specific size of the pattern image data, thereby generating a pattern on the target raster image data; a size modifying unit that determines modifying the specific size of the pattern image data; a combination deriving unit that derives a combination of the first type of command implementing a target image process equivalent to the second image process; and a processing unit that sends the combination of the first type of command to the raster operation unit, and sets the source data to the pattern image data subjected by the size modifying unit, thereby instructing the raster operation unit to execute the target image process on the target raster image data.