Skip to content

Update delegates.xml to new Inkscape command line format #2062

@joneuhauser

Description

@joneuhauser

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of ImageMagick
  • I have searched open and closed issues to ensure it has not already been reported

Description

With Inkscape 1.0, which was released this month, a new command line syntax was introduced. It looks like the delegates entry for inkscape was not yet updated:

<delegate decode="svg:decode" stealth="True" command="&quot;inkscape&quot; &quot;%s&quot; --export-png=&quot;%s&quot; --export-dpi=&quot;%s&quot; --export-background=&quot;%s&quot; --export-background-opacity=&quot;%s&quot; &gt; &quot;%s&quot; 2&gt;&amp;1"/>

Steps to Reproduce

This was reported in the Inkscape bugtracker, hence I'm unable to fill out the entire issue template, since I didn't test it myself.

See https://gitlab.com/inkscape/inbox/-/issues/496 for a full description.

I imagine it fails because export-png is no longer an input argument (use --export-type=png or just --export-file=EXPORT-FILENAME instead) to inkscape 1.0alpha.

confirmed that I managed to get an output by editing the delegates.xml file.

System Configuration

  • ImageMagick version:
  • Environment (Operating system, version and so on):
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions