I have a problem with my Photoshop fill feature.

I created a selected area with a border of 2. Then I EditFill... but it seems to bleed outside the lines with a faint colour. It's best I show the screen shot so see below:

This is my selected area:

enter image description here

This has a SelectModifyBorder... (1px)

Then i do EditFill... and this is the result:

enter image description here

Notice the fill is bleeding outside the selected area - why is this? Is there some option I am missing?


This is just what SelectModifyBorder... does. From the help docs:

Create a selection around a selection border

The new selection frames the original selected area, and is centered on the original selection border. For example, a border width of 20 pixels creates a new, soft-edged selection that extends 10 pixels inside the original selection border and 10 pixels outside it.

If you are simply trying to create a border, there are much better ways (such as applying a stroke as a layer effect)

  • Ah thats annoying... what is the best option to do instead as i don't want the soft edge.
    – Dave
    Aug 2 '13 at 1:30
  • @Dave I've edited my answer. If you don't know how to do that, google "photoshop apply stroke". Another way would be to use EditStroke..., but I'd recommend the layer effect (an effect is easier to modify)
    – JohnB
    Aug 2 '13 at 1:32

First of all you have to realize that the photoshop selection can be soft. And the "walking ants" indication only shows the 50% threshold. So there can be pixels outside the visible selection edge that are nevertheless selected 40% or so.

You could have done a 50% threshold modification on your selection prior to filling, or create the edge selection by selecting the outer rectangle, and then (holding alt key) unselect the inner rectangle.

There are other ways.

Not the answer you're looking for? Browse other questions tagged or ask your own question.