Mobile app version of vmapp.org
Login or Join
Sent7350415

: How can I stop GIMP's Fuzzy Select tool from over-selecting? I don't have a good way to explain this just using words, so here's a partial screenshot: Even when I set the threshold to

@Sent7350415

Posted in: #Gimp #Selections

I don't have a good way to explain this just using words, so here's a partial screenshot:





Even when I set the threshold to 0, Fuzzy Select is grabbing a disproportionately large portion of an image. In the screenshot, I'm trying to only grab the darkest color. It's almost like there's an after-image stuck in the tool's settings. There's only one layer (with no layer mask) in the xcf, so it's not an issue of having the wrong layer selected.

Am I just flat-out doing something wrong? I tried messing with all of the other tool options, but haven't had luck.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent7350415

2 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera207

I think the problem is because you have different areas of transparency - but the Fuzzy select tool works by comparing differences in colour.

Here's a workaround that might solve it for you.


Create a white background layer below the image layer/s, and enable its visibility.
Set the fuzzy select tool options to Select by: Composite and Sample Merged
Try to make your selection again.
When you have finished, you can hide the background layer visibility, or just delete it.

10% popularity Vote Up Vote Down


 

@Dunderdale640

Because it selects by color, and the difference between the black area and the near-black area is not color but opacity (you can use the Pointer dialog to check this). To achieve what you want:


Layer>Transparency>Alpha to selection to generate a selection based on transparency
Select>Selection editor to open the selection editor. You will get a "negative" of your image (white is what is fully selected, and the "Alpha to selection" selects pixels according to their opacity).
Click on the white part (this acts as a "Select by color" on the selection values) and this should restrict your selection to the fully opaque bits.


Alternative method:


Layer>Transparency>Alpha to selection to generate a selection base don transparency
Select>Save to channel to save the selection. At that point the saved channel is the "active drawable" and so the Paint tools will act on it.
Use the Threshold tool to remove the gray band.
In the Channels list, right click and Channel to selection to make a selection from the result.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme