On Mon, Apr 29, 2019 at 11:22:14AM +0200, Wolfgang Engelmann wrote:
> >Ok, most likely your distro still has version 6, not 7,
> 
> but why is it telling me:
> 
> imagemagick ist schon die neueste Version (8:6.8.9.9-7ubuntu5.13)

Because you have it already installed on your computer.

> >can you try: convert out.eps out.png
> >?
> 
> no luck:
> 
> convert out.eps out.png
> 
> convert: not authorized `out.eps' @ error/constitute.c/ReadImage/412.
> convert: no images defined `out.png' @

Ok, we are finally nailing down what's actually going on, I think.
There has been security bugs in imagemagick last fall and as a first
defense measure some distros banned conversions from postscript,
while waiting for the proper fix inside imagemagick.

Now, you have either unupdated packages or Mint maintainers decided
to ban imagemagick forever (or they just forgot all about this,
maybe it's worth filling the bug report or query).

Now the workaround is to change file in which they ban the conversions,
that's usually something like file:
/etc/ImageMagick-6/policy.xml

(or wherever you find policy.xml in /etc/ of your machine).

You probably find ban lines like:
<policy domain="coder" rights="none" pattern="PS" />
and you have to comment them on your own by adding 
<!--
in front  and 
-->
beyond those "coder" lines.


Note that if you do this workaround and your distro still ships
vulnerable version of imagemagick you should not process through
it pdf/eps/xps files from people you don't trust...

Pavel

Reply via email to