There is a command which is part of Imagemagick which included Gimp to consolidate and create images into other files, in particular PDF files.
Initially Imagemagick installed a policy file, but recent changes tightened access rules for a number of formats which are actually essentially programming languages. This is true of postscript and PDF files.
The following will enable the writing of PDF files again for use by convert. The reason to disable it is it is potentially a vector into compiling programs with file write privileges and was blocked as a precaution.
Find the line below and change "none" to "read/write"
Source of information:
https://cromwell-intl.com/open-source/pdf-not-authorized.html
/etc/ImageMagick-6/policy.xml should contain:
<policy domain="coder" rights="none" pattern="PDF" />
--30--
No comments:
Post a Comment