How to I export as PNG vectors and text without anti-aliasing?

Asked by Carl Mikkelsen

I am using Inkscape (thank you for creating it) to make a depth pattern for a CNC machine. The smoothing of the vectors and text is causing problems with the process of creating the tool path.

Is it possible to NOT have smoothing or anti-aliasing be applied to export output?

-- Carl

As a mitigation step, I will try rendering at 3x the resolution, and doing a majority operation on the resulting pixels, picking at the value for the pixel the most common value in the 3x3 region.

This question applies to the Windows version.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Carl Mikkelsen
Solved:
Last query:
Last reply:
Revision history for this message
Carl Mikkelsen (carl-mikkelsen) said :
#1

I did not find a way to get anti-aliased images from Inkscape, but I solved my problem with a different tool.

The "render at higher resolution" didn't work for me, as the base resolution seemed to be 90 DPI, and I didn't find a way to increase that. The net effect was that increasing the output resolution gave me more blurring, and the majority operation would not work.

Instead, I convert Inkscape SVG files to PNG using the "convert" command of ImageMagick, specifying the "+antialias" option. Yes, there is a plus sign before "antialias", with TURNS OFF antialias processing. I add a scale parameter to scale the image from 90 DPI (which seems to be the intrinsic coordinate system of Inkscape) to the resolution I need.

I'm closing this question.

-- Carl