Monday, August 03, 2020

issue with imagemagick convert

I had an issue with converting to pdf with convert - error message, convert not authorized. Found that it was due to a Ghostscript vulnerability. 

https://askubuntu.com/questions/1081895/trouble-with-batch-conversion-of-png-to-pdf-using-convert

So I temporarily used the renaming method,
sudo mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xmlout

And later I commented out the Ghostscript policy restrictions in the policy.xml.


No comments:

Post a Comment