Single path from a bitmap trace?

Post questions on how to use or achieve an effect in Inkscape.
mlfrancis
Posts: 3
Joined: Fri Nov 21, 2008 2:09 am

Single path from a bitmap trace?

Postby mlfrancis » Fri Nov 21, 2008 2:16 am

Hello All,
I'm using the bitmap trace function to bring in some line art drawings and have a question. Some of the drawings are reading each side of the drawn line as a separate path. Is there a way of combining those paths or making the bitmap trace "see" the line as a single path instead of two?

What I've been doing to overcome it is just use the pen tool to manually trace the lines. This gets me what I want, but it's a bit slower than the "trace bitmap" function.

Any help is appreciated and thanks in advance,
Michael

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

Re: Single path from a bitmap trace?

Postby prkos » Fri Nov 21, 2008 2:39 am

Have you tried with the Stack scans option off?
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

mlfrancis
Posts: 3
Joined: Fri Nov 21, 2008 2:09 am

Re: Single path from a bitmap trace?

Postby mlfrancis » Fri Nov 21, 2008 2:44 am

No, haven't tried that yet. Honestly I'm pretty new to it all and wasn't sure what that was. I'll go read the manual and play with it some more.

I have to say, I am amazed at what I've been able to do with Inkscape already. I'm an woodworking hobbiest and this is making templates soooooooooooo easy. It's great!

Thanks for the tip.
Michael

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Single path from a bitmap trace?

Postby microUgly » Fri Nov 21, 2008 9:01 am

You want a line a line in your drawing to be traced as a single path with a stroke? This isn't possible sorry. Inkscape will only create a filled object. Unfortunately you've already found the only work around :)

Although, if you're doing this professionally and you can afford to spend a little money, you may find using a graphics tablet a lot more effecient for redrawing your lines--I can't promise it'll be ideal so try before you buy :). At the same time perhaps it doesn't matter so much that the lines aren't a single stroke? I know I sometimes get caught up in the detail, when it doesn't really matter so long as the end product looks the same.

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Single path from a bitmap trace?

Postby EarlyBlake » Fri Nov 21, 2008 4:21 pm

It's sloppy but on a lot of the outlines generated by trace, you can make a path from a filled object. Take the trace path do a Break Apart under that path menu. You'll get two paths -- an inner and out one. Keep the better path, delete the other one. Then inset or outset the path you kept to get closer to original lines. Or a do a dynamic offset on it. About half the time it's faster to trace it again by hand.

Over Kill Illustration:
Image

It'll work on fairly simple paths. If the lines are about even width, you can save time by using inset or outset instead of dynamic offset. Set the number of pixels to move under File -->Inkscape Preferences --> Steps to 1/2 the width of the line.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Single path from a bitmap trace?

Postby microUgly » Fri Nov 21, 2008 6:24 pm

Good tip, EarlyBlake. I didn't think of that.

mlfrancis
Posts: 3
Joined: Fri Nov 21, 2008 2:09 am

Re: Single path from a bitmap trace?

Postby mlfrancis » Fri Nov 21, 2008 11:44 pm

EarlyBlake, thank you for the fine example. I actually tried something similar using inset/outset, but didn't get nearly the results you did. I'll have to remember those steps for my workflow.

Thank you to all,
Michael


Return to “Help with using Inkscape”