Patent ID: 8442311

Claim:
An apparatus for encoding an image, comprising: a decomposition circuit comprising a set of pixel filters, the decomposition circuit enabled to use the set of pixel filters to identify, within the image, (i) a set of background pixels compliant with background requirements of a constant color and defined spatial relationships, (ii) a set of text pixels compliant with text requirements of contrasting the constant color and defined proximity to pixels of the set of background pixels, and (iii) a set of picture pixels incompliant with the background requirements and the text requirements; and an image encoding circuit comprising: a lossy discrete transform encoder enabled to encode the set of picture pixels; a constant color lossless encoder enabled to encode a combination of the set of background pixels and the set of text pixels, as an encoding of a background image of the constant color; and a discrete color lossless encoder enabled to encode the set of text pixels as an overlay over the background image.