Search found 5 matches

by chw
2018-07-13T03:23:33-07:00
Forum: Users
Topic: Convert SVG to PGM and keep whitespace around image
Replies: 7
Views: 1363

Re: Convert SVG to PGM and keep whitespace around image

I tried forcing msvg but i get the error convert -depth 8 -compress none msvg:initial.svg output.pgm convert: not authorized `/tmp/magick-31003z3lTVNp7uknr' @ error/constitute.c/ReadImage/412. convert: no images defined `output.pgm' @ error/convert.c/ConvertImageCommand/3210. also I tried inkscape c...
by chw
2018-07-13T02:10:49-07:00
Forum: Users
Topic: Convert SVG to PGM and keep whitespace around image
Replies: 7
Views: 1363

Re: Convert SVG to PGM and keep whitespace around image

I will try that.

Is it possible to force magick to use another delegate than inkscape? I suppose it uses something internal when inkscape is not installed?
by chw
2018-07-13T00:44:07-07:00
Forum: Users
Topic: Convert SVG to PGM and keep whitespace around image
Replies: 7
Views: 1363

Re: Convert SVG to PGM and keep whitespace around image

I think I was too quick to accept it. If I do not have inkscape installed it works as intented. However after installing inkscape it "fails" again. So if I do sudo apt-get remove inkscape and then convert -depth 8 -compress none initial.svg output.pgm It works, but if i then do sudo apt-get install ...
by chw
2018-07-06T02:13:23-07:00
Forum: Users
Topic: Convert SVG to PGM and keep whitespace around image
Replies: 7
Views: 1363

Re: Convert SVG to PGM and keep whitespace around image

Thank you, I tried removing my install and reinstalling and it works now.
by chw
2018-07-05T23:55:06-07:00
Forum: Users
Topic: Convert SVG to PGM and keep whitespace around image
Replies: 7
Views: 1363

Convert SVG to PGM and keep whitespace around image

I am trying to convert an SVG file to an PGM file using the command line tools. An example image is here: https://www.dropbox.com/sh/din9ih3llfi77i8/AADL5V9YSMafHZTohpymrczSa?dl=0 The initial SVG image is initial.svg and I want to achieve the same result as good.pgm. I am using the command convert -...