Patent ID: 8077985

Claim:
An image data compression device for compressing input image data, the input image data targeted to be compressed being rectangle-shaped image data having a length of X 0 in a long side and a length of Y 0 in a short side, the device comprising: a compression target capacity value storage device for storing a compression target capacity value D defined in advance; a compression processing information storage device for storing information in the compression processing; a primary compression device for resizing the input image data by reducing the X 0 and Y 0 lengths to a size defined in advance to generate primary compression image data, and storing primary compression information showing an image surface area A 1 and an image capacity W 1 of the primary compression image data in the compression processing information storage device; and a secondary compression device for compressing the primary compression image data to generate secondary compression image data by calculating a length x of a long side of the secondary compression image data by applying the image surface area A 1 and the image capacity W 1 of the primary compression image data, and an aspect ratio AR (Y 0 /X 0 ) of the input image data targeted to be compressed into the following expression: x =√(( A 1· D )/( AR·W 1)); wherein the image surface area A 1 of the primary compression image data is larger than an image surface area of the secondary compression image data.