Are defined feed rates of any use?

More
18 Nov 2015 17:34 #65449 by Micromet
Good idea Andy - never thought of that.

Please Log in or Create an account to join the conversation.

More
19 Nov 2015 10:40 #65491 by Micromet
Hi Andy,

.SVG files are human-readable, so have a look in there.


Had a look in the SVG file - not easy to see what is going on after the start of the "<path" description - the monster series of number pairs went on for ever where I was expecting a series of bezier curve definitions - these appeared to be just a series of coordinate pairs. But when I imported them into a spreadsheet to see if I could graph them in any meaningful way - the number pairs just seemed to be random.

However, I've looked at the potrace FAQ site by Peter Selinger (potrace's author) and it seems I might have been trying to be too clever by making the bitmap image with too high a resolution. He recommends - although at times his advice seems contradictory that in answer to the question

How can I improve the quality of the output of Potrace?

:

The most effective way to do so is to improve the quality of the input! This seems obvious, but not everybody thinks of this. Scan your image at a higher resolution. Scan your image in greyscale, and use a program such as mkbitmap to generate a high-resolution bitmap to trace.
In some cases, it also helps to decrease the resolution of the input image. If the resolution of your input file is incredibly high, the output generated by Potrace might be larger than necessary. This also sometimes happens if the input is speckly or noisy. Rather than trying to simplify the vector image, it often helps to just downscale the input bitmap.


But then again in answer to the question:

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

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.


So I'm going to follow up this route and see if reducing the resolution of my bitmap image makes the complicated gcodetools curves go away

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum