For the following command
convert example.pbm example.ps
I got the following error:
convert: not authorized `example.ps' @ error/constitute.c/WriteImage/1028.
I fixed it by following the instructions
in this post:
sudo gedit /etc/ImageMagick-6/policy.xml
- change 'rights' from "none" to "read|write" in the line where the 'pattern' is 'PS'.
I changed it for 'PDF' too and moved these lines to a separate section, so now it looks like this:
<!-- manually re-enabled ghostscript format types -->
<policy domain="coder" rights="read|write" pattern="PS" />
<policy domain="coder" rights="read|write" pattern="PDF" />
Nincsenek megjegyzések:
Megjegyzés küldése