Patent ID: 7200272

Claim:
An image processing method of storing input JPEG 2000 encoded data into a memory, comprising: an input step of inputting fragmented JPEG 2000 encoded data representing a partial region of an image, wherein the image comprises a plurality of partial regions; a setting step of setting an upper limit value of a data size to be stored in the memory; a checking step of checking whether or not a total data size of the fragmented JPEG 2000 encoded data input in said input step is greater than the upper limit value set in said setting step; a storing step of storing the fragmented JPEG 2000 encoded data input in said input step into the memory, in a case in which it is determined in said checking step that the total data size of the fragmented JPEG 2000 encoded data is less than the upper limit value; a determination step of determining a priority order of each partial region to be deleted, in accordance with a type of the image; a delete step of deleting, in a case in which it is determined in said checking step that the total data size of the fragmented JPEG 2000 encoded data input in said input step is greater than the upper limit value, the fragmented JPEG 2000 encoded data of a partial region stored in the memory based on the priority order; and a control step of controlling, after the fragmented JPEG 2000 encoded data of the partial region is deleted in said delete step, to store the fragmented JPEG 2000 encoded data input in said input step in the memory.