Patent ID: 9659383
Date: 2017-05-23
CPC Classifications: G06T,H04N

Claim:
1. An image compression device, comprising: a processor and a memory, wherein the processor is configured to, generate a reference image by converting a vector image into a raster image; generate a temporarily-compressed image by compressing the raster image according to a compression ratio; generate a comparison image of the same size as the reference image by subjecting the temporarily-compressed image to enlargement processing; repeat the processing of the temporarily-compressed image and the comparison image while varying the compression ratio if the error ratio between the reference image and the comparison image is greater than a benchmark error ratio; and repeat the processing of the temporarily-compressed image, the comparison image, and the repeating of the processing of the temporarily-compressed image and the comparison image while varying the compression ratio if the error ratio between the reference image and the comparison image is greater than a benchmark error ratio, while varying the benchmark error ratio if the image volume of the temporarily-compressed image is greater than a predetermined memory capacity when the error ratio in the error evaluator is at or under the benchmark error ratio, and storing the temporarily-compressed image in the memory as a compressed image of the vector image if the image volume of the temporarily-compressed image is at or under the memory capacity.