Patent ID: 7394563

Claim:
An image forming apparatus that processes data described in a predetermined descriptive language, the apparatus comprising: an image storage location interpreting module that interprets a storage location of image data of an image described according to the predetermined descriptive language; an image data obtaining module that obtains the image data based on the storage location of the image data interpreted by the image storage location interpreting module; a reading module that reads and obtains image forming information of the image from the data described in the predetermined descriptive language which includes XML or HTML and in which no description order is defined for commands included in the image forming information; an image forming information interpreting module that interprets the image forming information obtained by the reading module; and an image forming processing module that renders an image forming processing on the image data based on the image forming information interpreted by the image forming information interpreting module, wherein the image forming information includes a trimming command, wherein the image forming information interpreting module includes a trimming command interpreting module that interprets the obtained trimming command, wherein the image forming processing module includes a trimming processing module that renders a trimming processing on the image data based on the interpreted trimming command, and wherein the image forming information interpreting module includes a trimming command detection module that detects a trimming command, a command detection module that detects a command other than the trimming command wherein the other command includes any of a flipping processing command, a rotation processing command, and an image aspect ratio maintaining processing command, and a control module that controls processing such that the trimming command detected by the trimming command detection module is executed prior to execution of the other command detected by the command detection module.