Add server-side inkscape to external renderers

This commit is contained in:
Starbeamrainbowlabs 2019-11-14 19:23:53 +00:00
parent 4ff71b39a1
commit 478973f48f
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 10 additions and 1 deletions

View File

@ -57,6 +57,15 @@
"cli_mode": "substitution_pipe",
"output_format": "image\/svg+xml",
"output_classes": [ "invert-when-dark" ]
},
"svginkscape": {
"name": "Inkscape SVG",
"description": "Server-side SVG-to-PNG rendering with inkscape. Requires inkscape to be installed and in your PATH, of course.",
"url": "https://developer.mozilla.org/en-US/docs/Web/SVG/Element",
"cli": "inkscape {input_file} -e {output_file}",
"cli_mode": "file",
"output_format": "image\/svg+xml",
"output_classes": [ ]
}
} },
"parser_ext_time_limit": { "type": "number", "description": "The number of seconds external renderers are allowed to run for. Has no effect if external renderers are turned off. Also currently has no effect on Windows.", "default": 5 },