Bucket Fill Woes

Post questions on how to use or achieve an effect in Inkscape.
God
Posts: 8
Joined: Fri Sep 23, 2016 6:53 pm

Bucket Fill Woes

Postby God » Fri Sep 23, 2016 7:02 pm

:tool_paintbucket:

The paint bucket tool is great for filling in line art scanned from raster images. Once upon a time, I used it frequently. I tried today, however, to bucket fill for the first time in over a year, and the tool's behavior is not at all how I remember. Please see the animations below:

Image
Area is not bounded, cannot fill.


Image
Big-Ass Rectangle Syndrome (BARS).


I tried fiddling with tool options and zoom levels. Attached is the plain SVG file demonstrated in the above animations. Is anyone able to help?
Attachments
Twinkle.svg
(2.01 KiB) Downloaded 177 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Bucket Fill Woes

Postby Lazur » Fri Sep 23, 2016 7:35 pm

Hi.

The tool uses the rendered part of the image as an input, it has no direct connection with the geometry behind.
Having said that, your screen capture shows the object on a solid red background.
Instead of visible colours, set the lightness as an input in the left dropdown list.

God
Posts: 8
Joined: Fri Sep 23, 2016 6:53 pm

Re: Bucket Fill Woes

Postby God » Wed Nov 16, 2016 12:49 am

Thank you for the response. I apologize for taking so long to return to this thread. The approval process confused me.

Did you try using the sample file? I was unable to get your method to work. However, in the process of fiddling around, I did manage to stumble upon a workaround... If anyone can explain why a "bounded area" can only be created by setting an object's color using the palette, I would be much obliged:

Image

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Bucket Fill Woes

Postby prkos » Wed Nov 16, 2016 4:42 am

Your object doesn't have a fill or stroke to start with (Unset doesn't provide information to Bucket about the edges it needs to calculate the area to color). If you set the stroke to the same color you see as Unset (black), Bucket will fill the area.

Other than that make sure the Threshold and other settings make sense, provide enough contrast for a well defined area.

Any way you set the color will work, palettes, Fill and Stroke dock etc.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download


Return to “Help with using Inkscape”