I am using Spatie Media Library V7 and I am getting the following error when it attempts to perform a conversion
ImagickException: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408 in /var/www/html/vendor/spatie/pdf-to-image/src/Pdf.php:40
I have attepted the fixes from the following question without success
I have GD and ghostscript all setup as well
my policy.xml is setup as follows:
<policy domain="module" rights="read|write" pattern="{PS,PDF,XPS}" />
<policy domain="coder" rights="read|write" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="read|write" pattern="PDF" />
<policy domain="coder" rights="read|write" pattern="LABEL" />
<policy domain="coder" rights="none" pattern="XPS" />
Any help will great be appreciated