Patent ID: 8643922

Claim:
In a computer system, a method for gamut clipping with preprocessing enabled as software instructions stored in a computer-readable medium and executable by a processor, the method comprising: providing an electromagnetic waveform representing a first color having a geometric position in a color space defined by at least three attributes; when the first color lies outside a device gamut boundary defining an attribute limitation of a color rendering device, measuring a distance along a path of constant hue and lightness attributes from the first color to the device gamut boundary; in response to measuring the distance along the path of constant hue and lightness attributes from the first color to the device gamut boundary, calculating a weight for the hue and lightness attributes of the first color; determining hue and lightness attribute shift amounts; modifying the hue and lightness attribute shift amounts of by applying the weighting; shifting the hue and lightness attributes of the first color by the weighted hue and lightness attribute shift amounts, creating a post-processed first color; clipping the post-processed first color; and, supplying an electromagnetic waveform representing the clipped post-processed first color in the first color space.