How to resize SVG drawing in batch mode without CRITICAL issue reported

Asked by Inkescaper on 2019-08-27

What is command to resize SVG drawing in batch mode?

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2019-08-28
Last reply:
2019-08-28
Hachmann (marenhachmann) said : #1

As far as I know, there isn't one, at least not in Inkscape.

For other programs, see here, for example:
https://superuser.com/questions/475851/how-can-i-scale-an-svg-via-command-line

Inkescaper (stephane-lecolier) said : #2

The problem is that in this case (using -z option or --without-gui, I got following issue:
CRITICAL **: static void Inkscape::FileVerb::perform(SPAction*, void*): assertion 'ensure_desktop_valid(action)' failed

and the resize is not done.

Could you provide me one solution by using Inkscape?

Hachmann (marenhachmann) said : #3

I think this could be useful: https://en.wikipedia.org/wiki/Xvfb

Not 100% sure, though.

Can you help with this problem?

Provide an answer of your own, or ask Inkescaper for more information if necessary.

To post a message you must log in.