4 Replies Latest reply on Jul 1, 2017 4:34 PM by ivi92615818

    Painting edges

    ivi92615818

      Hello,

       

      is there a way to easily paint the edge of a selection (make it 1,2 or more pixels like border) and cut the rest of the image?

       

      For a fast example, this ball to be outlined and the rest to be cut outlarge_60917ad7-c940-403e-8700-0ce7972f3c3d_1024x1024.jpg

        • 1. Re: Painting edges
          Katie Houghton Adobe Community Professional

          Just click out the white background with the "Magic Eraser Tool" (E).

           

          Once you have transparency then select the layer. While the layer is selected look at the bottom of your layers panel for the "fx" menu. Choose "Stroke" from the menu and change the stroke properties as needed. Click "OK" for the dialog box.

          • 2. Re: Painting edges
            ivi92615818 Level 1

            This creates border around the object, but after this when I try to delete the inner color of the ball the border also gets deleted.

            • 3. Re: Painting edges
              Trevor.Dennis Adobe Community Professional (Moderator)

              If this is all on one layer, then separate the ball from the background.  The Elliptical Marquee tool is probably the best as it will produce a perfect circle.  Hold down the Shift key (to force the perfect circle shape, and the Alt key so that the selection moves outward from the start point.  Use the Space bar to move the selection for best fit, but you don't need to get it spot on right off th ebat

              From the above state go Select > Transform Selection and hold down the Ctrl key while dragging the corner handles to get best fit.  You can see from the non square shape of the bounding box that your ball was not perfectly round, so an alternative is to make the selection bit slightly into the ball while still forcing the perfect circle, and then invert the selection and delete the outside pixels.

              That gives you the ball on its own layer like this, and from here you have lots of options.

              One option is to use Layer styles and give it a stroke, and set the layer's Fill opacity to zero.  This makes the layer's contents invisible (the ball), but you can still see the layer styles (the stroke).  This is completely non destructive and can be edited as often as you like.

              Whatever approach you take, the secret is to keep everything on a separate layer.

              • 4. Re: Painting edges
                ivi92615818 Level 1

                This worked! Thank you!