摘要 |
An image compression/decompression method is provided for compressing/decompressing image data. First, each pixel of the raw image data is received. Then, each pixel of the raw image data is compared with a default transparent code to recognize whether the pixel in the raw image data is a transparent code pixel. Finally, a single transparent code pixel or one transparent code pixel of a sequence of transparent code pixels is stored, and a total length information of the single transparent code pixel or the sequence of the transparent code pixels is acquired.
|