Menu

#3 Single Path Option?

v1.0_(example)
closed
nobody
None
5
2020-01-17
2020-01-17
Ray
No

Is there an option to create a single path down the middle of two "white" to "black" edges? The use case I'm thinking of is a hand-drawn sketch where the line width may be a bit inconsistent and you'd want one path per line and not two paths catching the edges of each line.

Discussion

  • Peter Selinger

    Peter Selinger - 2020-01-17

    Hi Ray,

    thanks for writing. No, unfortunately Potrace does not offer centerline tracing. From the FAQ:

    Question: Does Potrace provide centerline tracing? Instead of tracing the contour of my image, I just want a single line in the center of each stroke.

    Answer: No, Potrace is not designed to do centerline tracing, and for technical reasons, it is unlikely that this will change in the near future. Algorithms used for centerline tracing are quite different than those used for outline tracing; it might be more useful to write a separate program for this purpose. You could try Autotrace, which has such a feature.

    Best wishes, -- Peter

     
  • Peter Selinger

    Peter Selinger - 2020-01-17
    • Status: open --> closed
     

Log in to post a comment.