Inkscape 1.0 has the choice to export svg to png without anti-aliasing by GUI: enter image description here

I want to export svg to png from the command line without anti-aliasing, but I'm not able. I've read the Inkscape man page but it doesn't tell anything about Antialiasing mode as in the GUI. Is it possible to export svg without anti-aliasing by the command line?

  • 1
    Couldn't find mention of anything explicitly for that, but maybe export actions hold the answer. Commented Jun 12, 2020 at 11:04
  • @DuarteFarrajotaRamos Thank you for the answer! But I couldn't find there the solution.
    – al2
    Commented Jun 12, 2020 at 16:14
  • I don't think that part of the GUI is currently exposed to the command line.
    – Moini
    Commented Jun 14, 2020 at 23:36
  • I agree with @Moini. You can use ImageMagick, there is an option to turn off the antialias. Commented Jun 15, 2020 at 6:59
  • ImageMagick uses Inkscape to render SVGs so I don't think it will be able to render an aliased image either.
    – jcupitt
    Commented Jul 1, 2020 at 9:24

1 Answer 1


Version 1.3 seems to have the new --export-png-antialias command line option, which you can set to 0 (none) to 3 (best)

Here is the source code showing the new version:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.