Gimp-Forum.net

Full Version: My Bucket Fill Isn't Working Right
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I use the bucket fill tool, a lot of the image where the bucket fill happened is still the original color. In the attached photo, you can see that in areas that I filled grey, there are still blue or yellow specks. How do I fix this?
What are the tool settings? Are you filling the selection? Without a selection, BF will paint the pixels that are close enough to the initial color (depending on threshold) and what looks the same for us may not be the same for BF. And if you use the selections tools the same remark applies to the color selection and the fuzzy select.

Your image seems to have a lot of JPEG compression artifacts, which may explain why BF or the selection tool ignore these pixels.
(10-11-2022, 12:05 AM)Ofnuts Wrote: [ -> ]What are the tool settings? Are you filling the selection? Without a selection, BF will paint the pixels that are close enough to the initial  color (depending on threshold) and what looks the same for us may not be the same for BF. And if you use the selections tools the same remark applies to the color selection and the fuzzy select.

Your image seems to have a lot of JPEG compression artifacts, which may explain why BF or the selection tool ignore these pixels.

When i choose fill selection, it just filles the entire thing instead of just one part of the logo. Tool settings are default.
(10-11-2022, 04:02 AM)JoReSmi Wrote: [ -> ]
(10-11-2022, 12:05 AM)Ofnuts Wrote: [ -> ]What are the tool settings? Are you filling the selection? Without a selection, BF will paint the pixels that are close enough to the initial  color (depending on threshold) and what looks the same for us may not be the same for BF. And if you use the selections tools the same remark applies to the color selection and the fuzzy select.

Your image seems to have a lot of JPEG compression artifacts, which may explain why BF or the selection tool ignore these pixels.

When i choose fill selection, it just filles the entire thing instead of just one part of the logo. Tool settings are default.

If you use Fill selection, you have to make a selection first, with the Color select (SelectByColor) or the Fuzzy select (SelectFuzzy). But as said above the problem with the compression artifacts remains.

So with either the BF or the selection tools you will have to increase the Threshold to make Gimp be less stringent on the sameness criterion.

But really, you should either:
  • Find an image with better quality. Ideally, .SVG or .AI format (vector graphics, that you edit with Inkscape)
  • Use your image a model on which you recreate (Trace bitmap in Inkscape) or trace manually (Path tool  in Gimp) a path, and then use that path to make perfect selection.
The advantage of either option is that you get a perfect image, that you can scale at will without blurring it.
(10-11-2022, 07:10 AM)Ofnuts Wrote: [ -> ]
(10-11-2022, 04:02 AM)JoReSmi Wrote: [ -> ]
(10-11-2022, 12:05 AM)Ofnuts Wrote: [ -> ]What are the tool settings? Are you filling the selection? Without a selection, BF will paint the pixels that are close enough to the initial  color (depending on threshold) and what looks the same for us may not be the same for BF. And if you use the selections tools the same remark applies to the color selection and the fuzzy select.

Your image seems to have a lot of JPEG compression artifacts, which may explain why BF or the selection tool ignore these pixels.

When i choose fill selection, it just filles the entire thing instead of just one part of the logo. Tool settings are default.

If you use Fill selection, you have to make a selection first, with the Color select (SelectByColor) or the Fuzzy select (SelectFuzzy). But as said above the problem with the compression artifacts remains.

So with either the BF or the selection tools you will have to increase the Threshold to make Gimp be less stringent on the sameness criterion.

But really, you should either:
  • Find an image with better quality. Ideally, .SVG or .AI format (vector graphics, that you edit with Inkscape)
  • Use your image a model on which you recreate (Trace bitmap in Inkscape) or trace manually (Path tool  in Gimp) a path, and then use that path to make perfect selection.
The advantage of either option is that you get a perfect image, that you can scale at will without blurring it.
ok thank you!
A 45 second video to have a clean colored horse, all dirt/dust removed from your image
> https://imgur.com/ahZ8QUH

Another way to get smoother edges, a bit longer ~90 seconds


(10-13-2022, 03:13 AM)PixLab Wrote: [ -> ]A 45 second video to have a clean colored horse, all dirt/dust removed from your image
> https://imgur.com/ahZ8QUH

Another way to get smoother edges, a bit longer ~90 seconds


thank you so much!