1. A method of modifying an image containing a foreground, an original or substitute background, and boundary pixels on a boundary between the foreground and the original or substitute background, the method comprising: determining a target boundary pixel of the boundary pixels; selecting a replacement color for the target boundary pixel independent of the color of the original background in the target boundary pixel, the replacement color selected based on at least one of: a color of at least one of a neighboring foreground pixel, a neighboring substitute or original background pixel, the target boundary pixel, another boundary pixel, a predetermined replacement color, or a color selected at random from a set of replacement colors; establishing the color of a modified target boundary pixel based on the selected replacement color; and replacing the color of the target boundary pixel with the color of the modified target boundary pixel.