(ImagickException(code: 499): attempt to perform an operation not allowed by the security policy `PDF' code example
Example: imagemagick pdf permission
Add the line below before in the /etc/ImageMagick-7/policy.xml
Add the line below before in the /etc/ImageMagick-7/policy.xml