Patent ID: 7142721

Claim:
A method of image compression for dealing with consecutive images and reducing compressed sizes of the consecutive images, the method comprising: (a) loading data from a previous block and a current block of the consecutive images, wherein the previous block has a plurality previous pixels and the current block has a plurality current pixels, and the loading step (a) further comprises: (a1) reading each pixel of the current pixels; and (a2) reading each corresponding pixel of the previous pixels; (b) utilizing a fuzzy comparison to analyze the previous pixels and the current pixels, wherein the fuzzy comparison comprises: (b1) loading a fuzzy comparison range; (b2) separating each pixel of the current pixels to form a current red data, a current blue data, and a current green data; (b3) separating each corresponding pixel of the previous pixels to form a previous red data, a previous blue data, and a previous green data; (b4) determining no-difference if absolute values of the previous red data minus the current red data, the previous blue data minus the current blue data, and the previous green data minus the current green data, are all within the fuzzy comparison range; (b5) determining one-difference if any one of the absolute values of the previous red data minus the current red data, the previous blue data minus the current blue data, and the previous green data minus the current green data, is greater than the fuzzy comparison range; and (b6) repeating steps (b1) to (b5) until each pixel of the current pixels is compared with each corresponding pixel of the previous pixels; (c) determining an encoding method according to a result of the fuzzy comparison; and (d) encoding the data of the current block by way of the encoding method.