Fill between paths

Post questions on how to use or achieve an effect in Inkscape.
andyspeak3
Posts: 4
Joined: Thu Aug 20, 2015 2:59 am

Fill between paths

Postby andyspeak3 » Fri Oct 16, 2015 4:17 am

Hello
I have a design which I got from tracing a bitmap and it consists of an outer path and an inner path making up the outline of letters of a logo. I want to fill between those two paths to make it one soild path. The bucket tool leaves a tiny gap next to the inner and outer paths.

How do I fill between these vectors?

galivantes.png
galivantes.png (178.6 KiB) Viewed 2181 times

User avatar
bartovan
Posts: 191
Joined: Sun Feb 09, 2014 4:14 am
Location: Belgium
Contact:

Re: Fill between paths

Postby bartovan » Fri Oct 16, 2015 5:39 am

I think the "cleanest" solution would be to succeed in having a shape, or various shapes, who's fill regions match what you want. This would involve some node tweaking, maybe duplicating paths, breaking them apart, recombining them in other ways etc. And or using boolean operations on paths/objects etc. Might be easier than you would think, and the result is perfect and easy to manipulate afterwards. Being somewhat of a perfectionist, that's what I would do. I'm not a big fan of the paint bucket (it creates a new object, so tweaking things afterwards sometimes becomes complicated, I find).

Apart from that, the paint bucket tool has options to fill gaps. See the manual for Paint Bucket Tool... Can't be of much help there, don't use the bucket very often...
Portfolio bartovan.com
Tumblr / Instagram / Pinterest / Facebook / Twitter / OpenClipArt
Shop at Society6 / RedBubble
Using latest stable Inkscape on Ubuntu (current stable release) and Win 7.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Fill between paths

Postby Moini » Fri Oct 16, 2015 6:01 am

You could also edit the bitmap in a raster graphics editor before you vectorize, filling the gaps. Could be easier (and much faster).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

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

Re: Fill between paths

Postby Lazur » Fri Oct 16, 2015 6:03 am

I assume you could/should have gotten straight to what you are after if you set up the trace bitmap right. (Speaking of thick black outlines.)

Use brightness cutoff instead of edge detection.
tracing in the mnual

If you don't have the original raster image, then you can export a roughly filled up path as a raster image, import it back and use another trace bitmap.
Creating simply a bitmap copy may also work.

For creating inked outlines right.

For the rest I would suggest breaking apart a duplicant too.

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

Re: Fill between paths

Postby brynn » Fri Oct 16, 2015 7:01 am

For the gaps caused by using the Paint Bucket tool, you can fix most of the gaps by using the Grow/Shrink option in the tool control bar. I'd suggest something between 0.50 and 1.0. It won't fix all of them. And it might even cause some overlaps, where the fill goes outside the line. So those can be fixed by editing the nodes. Just enable the Node tool, and click on the new color, to select it. Then you will see the nodes, and you can drag the nodes and/or their handles, to adjust the path.

However, there may be a better way to apply the color. It's just that I'm not sure from your image, which part will take the color. Is the image you showed the results of Trace Bitmap? Or is that the original drawing that you scanned in? If you could show us the original, we might be able to suggest a better way to achieve results.

andyspeak3
Posts: 4
Joined: Thu Aug 20, 2015 2:59 am

Re: Fill between paths

Postby andyspeak3 » Thu Oct 22, 2015 7:51 am

Amazing. thanks for the help.

Managed to get it looking good


Return to “Help with using Inkscape”