Patent ID: 8009328

Claim:
A method comprising the steps of: a) comparing an intensity of a first color element with an intensity of a second color element in an electronic document, b) replacing a color of said first color element with a solid monochrome color, c) identifying whether said first color element is enclosed by said second color element, d) comparing said intensity of said first color element to a maximum intensity value, e) comparing said intensity of said second color element to said maximum intensity value, and f) if said first color element is enclosed by said second color element and if said intensity of said first color element is lower than 0.5 of said maximum intensity value and said intensity of said second color element is lower than 0.5 of said maximum intensity value, then outlining said first color element using lines of said maximum intensity value; and if said first color element is not enclosed by said second color element or if said intensity of said first color element is not lower than 0.5 of said maximum intensity value or said intensity of said second color element is not lower than 0.5 of said maximum intensity value, then not performing said outlining of said first color element.