Skip to content
Home » Operating System » IMAGEMAGICK CONVERTING PDF TO IMAGE FAILS [SOLVED]

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