摘要 |
PROBLEM TO BE SOLVED: To prevent time until an NAND type flash memory comes to an end of its life from being quickly shortened without using another non-volatile storage part having a large storage capacity.SOLUTION: An image processor includes: an NAND type flash memory having a plurality of blocks; a volatile memory having a smaller storage capacity than the NAND type flash memory; a uniformization processing part for executing wear-leveling processing to uniformize the number of times of rewriting of the data of each block by using an empty block in which data are not stored among a plurality of blocks; an image processing part for performing predetermined image processing to an image represented by image data; and a storage control part for, when the total sum of the storage capacity of the empty block is not less than a predetermined threshold, storing temporary image data which should be temporarily stored during the execution of image processing in the NAND type flash memory, and for, when the total sum is less than the threshold, storing the temporary image data in the volatile memory.SELECTED DRAWING: Figure 1 |