Filling in imported images

Post questions on how to use or achieve an effect in Inkscape.
Rosedust
Posts: 1
Joined: Tue Sep 06, 2016 11:30 am

Filling in imported images

Postby Rosedust » Tue Sep 06, 2016 11:38 am

Hello I have been fiddling with this for a bit and haven't been able to come up with a simple fix. I have an image that I drew by hand and scanned onto my computer. From there I imported it into Inkscape and used "Trace to Bitmap" to get rid of the white and only have nodes on the black lines. However I am trying to turn it into a solid black object, a silhouette.

I have taken the paint bucket and filled in all of the open spaces, then gone back with the bezeir tool to create smaller shapes to fill in the little missing pieces that were still white. From there I selected everything and did "Union".

My problem is I still have pieces of white around some of the inside lines that were there instead of a solid black silhouette. Is there a simple way to make this silhouette I want or will I have to continuously go through making little block objects, union them until it is a solid silhouette?

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Filling in imported images

Postby Xav » Tue Sep 06, 2016 5:07 pm

There are two methods that I've used in the past to achieve what I think you're asking for:

a) Select the traced image - which should be a single (but complex!) black path at this point. Use Path > Break Apart to turn it into a collection of separate path objects, then Path > Union to re-join them all into a single silhouette.

b) If that approach doesn't work, the other method is to invert your notion of how to create a silhouette. Rather than trying to fill it from the inside out, it's easier to fill a larger object to create an "inverse silhouette", then work with that. Specifically:

1) Draw a rectangle that completely encloses your traced image. Give it a stroke but no fill.
2) Bucket fill that rectangle from a point that's inside the rectangle but outside your image.
3) Move the fill and you'll see that it's now an "inverse silhouette".
4) Convert it into a positive silhouette by using Path > Break Apart, then remove the outer shape.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter


Return to “Help with using Inkscape”