Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting path/selection to single stroke?
#5
Plenty on-line bitmap to vector converters. There might be one that does a center-line conversion, I-do-not-know.

On the other hand Mac might have some great vector application tucked away.

You could try the latest 0.92.2 Inkscape which should have a center line option (Inkscape menu Filters -> Extensions -> Images -> Center-Line Trace)

https://inkscape.org/en/release/0.92.2/

As I understand it this might need an old command line application Autotrace to function. It looks like you get it here. http://macappstore.org/autotrace/

If Inkscape + AutoTrace does not work then worth trying Autotrace on its own.

Code:
autotrace -color-count 2 -centerline -output-format svg -output-file out.svg -report-progress snoopy.bmp

My linux installation requires .bmp format with compatibility option turned on.

A typical line drawing from the internet probably needs cleaning up - jpeg artefacts for example. Some editing as well. Snoopys nose or eye as solid black does not work - no line to trace. Here is the command in a terminal, the original .bmp image and the vector single line SVG.

[Image: ZDa9BrV.jpg]

Depending on the complexity of the image, not impossible to use Gimp and trace over with the path tool. Just takes a bit of care, time and practice.
Reply


Messages In This Thread
RE: Converting path/selection to single stroke? - by rich2005 - 02-07-2018, 11:17 AM

Forum Jump: