Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
stitching: not authorized `/tmp/magick-82738sMRaAneTAQdM' @ error/constitute.c/ReadImage/412.
stitching: no images defined `output.png' @ error/convert.c/ConvertImageCommand/3257.
A bit of searching tells me it is due to security policy stuff. If I type "convert -list policy", I get:
That .xml file is not something that I can modify without administrator privileges (which I do not have), and I see nothing in the policy about SVG or MSVG. What do I need to do to get this to work again?
Last edited by uigrad on 2018-01-10T12:05:03-07:00, edited 1 time in total.
Your instance of ImageMagick likely utilizes the internal SVG render which converts SVG to MVG to render it-- and the policy prevents that. Your choices are to get the administrator to install inkscape so ImageMagick uses that for rendering SVG, modify the policy to permit MVG, or install ImageMagick in your user account where you can define your own security policy.
You could also have your administrator install RSVG and recompile ImageMagick. But Inkscape is often better than RSVG and both are better than MVG. I do not believe that a recompile is needed for Inkscape. ImageMagick will use it if it finds it on your system.
Unfortunately, I must use MSVG, because there is no way to turn off anti-aliasing for batch renders with Inkscape. I had a previous post about it here:
I found this thread that suggests that policy files can be placed in other locations. Using the method there, I discovered that /home/private/.magick/ is a place that it searched for policy files. So, I copied policy.xml there, changed "none" to "read" for MVG, and now when I query convert -list policy, I get both locations, but the system default location is first: