RSS/Atom feed Twitter
Site is read-only, email is disabled

How do I prevent the paint tool from drawing outside of the selection?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2014-08-25 13:43:46 UTC (over 9 years ago)
postings
2

How do I prevent the paint tool from drawing outside of the selection?

I have a picture I'm editing with gimp. I've made a selection of part of this picture that I'm trying to paint. When I do this, it effects pixels outside of the boundaries of my selection. This is the first time I've seen this. Does anyone know how to prevent/solve this?

Thanks.

Ofnuts
2014-08-25 15:28:08 UTC (over 9 years ago)

How do I prevent the paint tool from drawing outside of the selection?

On 25/08/14 15:43, wizzythegrape wrote:

I have a picture I'm editing with gimp. I've made a selection of part of this picture that I'm trying to paint. When I do this, it effects pixels outside of the boundaries of my selection. This is the first time I've seen this. Does anyone know how to prevent/solve this?

Thanks.

Attachments: * http://www.gimpusers.com/system/attachments/147/original/example.png

The marching ants are not the limit of the selection, they are where the selection has a 50% value, so pixels outside the area marked by the ants can be partially selected. Each time you paint over them they are painted slightly. This isn't noticeable on the first strokes but become more visible after several strokes.

For what you want to do, protecting pixels with a selection isn't an efficient technique (problems such a the one above, halos, jagged edges...). You should be using Color-to-alpha (or paint in Color Erase mode) to remove the old color, and apply the new color in "Behind" mode.

Some more explanations here: http://gimpforums.com/thread-proper-subject-extraction-background-removal-and-background-painting

2014-08-26 09:04:44 UTC (over 9 years ago)
postings
2

How do I prevent the paint tool from drawing outside of the selection?

The marching ants are not the limit of the selection, they are where the
selection has a 50% value, so pixels outside the area marked by the ants
can be partially selected. Each time you paint over them they are painted slightly. This isn't noticeable on the first strokes but become
more visible after several strokes.

For what you want to do, protecting pixels with a selection isn't an efficient technique (problems such a the one above, halos, jagged edges...). You should be using Color-to-alpha (or paint in Color Erase mode) to remove the old color, and apply the new color in "Behind" mode.

Some more explanations here: http://gimpforums.com/thread-proper-subject-extraction-background-removal-and-background-painting

Thanks, this is way better than what I was doing.