Patent ID: 7580580

Claim:
A method to compress two color anti-aliased images comprising: providing an image; determining if said image is a two-color anti-aliased image; exiting said method to compress two color anti-aliased images if said image is not a two-color anti-aliased image; determining a first base color and a second base color of said image if said image is determined to be a two-color anti-aliased image; detecting whether a run of two or more pixels of said first color is present; determining that a pixel is a transition pixel if it is not part of a run of two or more pixels of said first color; storing and/or transmitting said transition pixel data if a run of two or more pixels of said first color is not present; encoding said first color if a run of two or more pixels of said first color is present; encoding the number of pixels in said run of two or more pixels of said first color; storing and/or transmitting said encoding or said first color and said encoding of said the number of pixels in said run of two or more pixels of said first color; detecting whether a run of two or more pixels of said second color is present; encoding said second color if a run of two or more pixels of said first color is present; encoding the number of pixels in said run of two or more pixels of said second color; and storing and/or transmitting said encoding or said second color and said encoding of said the number of pixels in said run of two or more pixels of said second color.