Archive for January, 2019
[manjaro] convert refuses to produce PDFs
January 10, 2019
Leave a comment
Problem
Under Manjaro, I wanted to create a PDF from some JPG files. However, convert dropped an error:
$ convert *.jpg out.pdf convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.
Solution
Edit the file /etc/ImageMagick-7/policy.xml
and find the following line:
<policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />
Put it between comments (<!--
and -->
) and everything is good again.
I found this solution here.