Skip to content
Home » ubuntu desktop 20.04

ubuntu desktop 20.04

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

IMAGEMAGICK CONVERTING PDF TO IMAGE FAILS [SOLVED]

When attempting to convert a PDF to a Tiff, using imagemagick, converting fails and the following error occurs:

convert-im6.q16: attempt to perform an operation not allowed by the security policy PDF' @ error/constitute.c/IsCoderAuthorized/408. convert-im6.q16: no images definedoutput.tiff’ @ error/convert.c/ConvertImageCommand/3258.

To fix the error:
Open a Terminal

sudo bash

nano /etc/ImageMagick-6/policy.xml

scroll down near the bottom of the file and change
policy domain=”coder” rights=”none” pattern=”PDF”
to
policy domain=”coder” rights=”read | write” pattern=”PDF”

Save, exit, and you can now convert the PDF to Tiff