Help with filling area with color bucket

Post questions on how to use or achieve an effect in Inkscape.
SadWolf

Help with filling area with color bucket

Postby SadWolf » Sat Feb 06, 2010 12:02 am

Hi all,

I'm using inkscape to draw
these are my first times with inkscape
today i'm trying to fill an image but i have a little problem
when i fill an are there is a little withe margin between the filled color and the boundary
may be it's a little option of the paint bucket but i can't find it

if i zoom the image the white margin is little
i have 1:1 scale the margin is bigger
the margin depends on the zoom when i fill the area

normal image
Image

zoomed view
Image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Help with filling area with color bucket

Postby brynn » Sat Feb 06, 2010 3:25 am

Yes, this is expected behavior. It's because the paint bucket type of feature is meant for raster graphics, but because of general demand for it, has been added to Inkscape (which of course is a vector graphics app). In order to help address the issue of the thin strip of uncolored area around the border, there's a setting in the Paint Bucket :tool_paintbucket: control toolbar called "Grow/Shrink by". So you can set it so that it fills a slightly larger or slightly smaller area than is defined by the objects or paths that enclose the area. I think the Threshold setting can also affect the same issue, but I'm not positive about that. Neither is a perfect solution. But paint bucket probably never will work perfectly in Inkscape because of the raster vs vector thing.

However, there IS a benefit I've found to using the paint bucket in the vector arena. What happens is that not only does this tool add color to an enclosed area, it creates a new closed path that is filled with whatever color you've chosen. So I've found that after I zoom in a little, I can use Snap, and move the nodes of the new path to lie directly on top of the paths and/or strokes that define the enclosed area. In certain situations, I do have to mess with the node handles, to avoid gaps and overlaps. And it does take more time to do this. But this technique results in the appearance of a Fill, with no uncolored strip between (in this situation where a real fill can't be applied).

[Edit] A couple of tips that work for me -- I use Grow by 0.50. Also I've found that if I zoom until the area I want to fill w/paint bucket just fits my screen, less of an uncolored area results. You can use the Zoom tool and drag-select the area, to do this.

SadWolf

Re: Help with filling area with color bucket

Postby SadWolf » Sun Feb 07, 2010 8:23 am

Thanks for the reply

I'm using grow 0.5 , it's good enough for me , thanks for the tip


Return to “Help with using Inkscape”