O'Reilly logo

Photoshop® CS4 Bible by Dan Moughamian, Simon Abrams, Stacy Cates

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

17.2. Fix Undesirable Edges

So far the focus has been on noise or grain in an image. Now, you'll learn how to get rid of unwanted pixels in a few other relatively common situations.

17.2.1. Remove unwanted edge pixels

When faced with the very specific situation of copying or moving a selection that was anti-aliased against a black or white background, and placing it on a different colored background, you can end up with unwanted pixels around the edge of your selection, as shown in Figure 17.5. You can replace those black or white fringe pixels by choosing LayerMattingDefringe. Defringe searches the edge pixels of a layer for colors that aren't the background color, and replaces them with the colors that exist further in from the edge. Use the Radius setting to specify the size of the area in which to search for pixels by entering a number in the Defringe dialog box.

Figure 17.5. Zoomed to about 800 percent, the text on top of this illustration shows some white fringe pixels, as it was copied off of a white background. The Defringe command with a radius of 1 pixel was applied to the second line of text, eliminating the white fringe.

Photoshop also offers options specifically for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required