摘要 |
An image compression method is provided. First, an image including a plurality of blocks is received and each block includes a plurality of pixels. Next, an order dithering array within a preset range is generated, which includes a plurality of elements. Then, values of the elements in the order dithering array are respectively mapped to a plurality of mapping values according to a gray scale range of each block. In each block, each pixel value is quantized to a first digital value or a second digital value according to a result of comparing each pixel value with the corresponding mapping value. Hence, a bit rate of the image is efficiently compressed, and features of the original image are preserved inside the compressed image.
|