Patent ID: 8654139

Claim:
A method comprising: determining a first value for a center of brightness and a second value for a window width for contrast; processing, by a processor of a first device, a first image to generate a second image having a reduced bit-depth based at least in part upon the determined first and second values; providing the second image from the first device to a remote client device over a network to facilitate viewing and manipulation of the second image in a web browser on the client device; receiving an indication that the second image has been manipulated so that at least one of a brightness value or a contrast value associated with the second image is adjusted beyond a threshold value; in response to receiving the indication that the brightness value or contrast value associated with the second image is adjusted beyond the threshold value, determining a third value for a center of brightness and a fourth value for a window width for contrast, and processing the first image to generate a third image having a reduced bit-depth based at least in part upon the determined third and fourth values; and providing the third image to the client device such that the second image is replaced with the third image to facilitate viewing and manipulation of the third image in the web browser.