Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

@v_kyr: Do you get an excessive number of nodes using DragPotrace, like say dozens of sharp nodes on what is a straight line segment of a path?

 

In the meantime I've read the following related to potrace (which is used by the DragPotrace GUI-frontend and Inkscape) and the number of produced nodes, by the author of that cmdline tool ...

 

 

Question: How can I reduce the number of nodes in the output of Potrace?

 

Answer: Potrace already makes an attempt to reduce the number of nodes, and this behavior is controlled by the --opttolerance parameter (or can be turned off entirely with --longcurve). However, I have decided not to sacrifice quality for quantity, and Potrace will not reduce the number of nodes beyond what it considers tolerable.

 

For many applications, the problem of reducing output file size can be solved by reducing the resolution of the input image. This sounds too simple to be true, but can give surprisingly good results. One of the most common "beginner's mistakes" when using Potrace is to start with an image that contains too much detail or noise. Blurring the input image can also help, particularly with grey-scale images.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

BTW for making comparison runs between the freeware/opensource vectorizers (autotrace and potrace) that old Java based Delineate 0.5 GUI tool is still usable after some slightly tweaking.

 

NOTE: I had to add to Delineate's libraries the xalan-2.7.1.jar package, since Delineate uses the Apache XPath API, but that was strangely missing in the distribution. Further I had to edit inside the delineate.jar the "META-INF\MANIFEST.MF" file accordingly, meaning adding a reference also to ./lib/xalan-2.7.1.jar inside. - After doing so that pretty old Java based tool works still fine again and when you start/run it you have just once to point it to the cmdline executables of potrace and autotrace, so it knows and preserves where to find these!

 

  • post-49706-0-18767000-1488549889_thumb.jpg

 

I'm actually progging on a little Win based GUI for potrace, so I can use that then for making more quickly personal needed SVGs out of bitmaps.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.