The present invention relates to an image compression device. The image compression device includes a memory to which image signal data is input and in which the image signal data is stored; an image format section, having the memory built-in, that blocks the input image signal data into a plurality of blocks having a predetermined size to output; a discrete cosine transform section that performs the discrete cosine transform on each of the blocks input from the image format section so as to output discrete cosine transform coefficients; a rearranging section that rearranges and outputs the discrete cosine transform coefficients from low frequency components to high frequency components for each of the blocks input from the discrete cosine transform section; a bit data storing section that measures a ratio of the integrated value of edge components of a macro block to the integrated value of overall edge components of a frame by extracting edge components of predetermined signal data in the input video signal data, and stores bit data calculated from the ratio. |