Open imochoa opened 4 years ago
Also increase memory limits: https://imagemagick.org/discourse-server/viewtopic.php?f=1&t=37532 not tested:
<policy domain="resource" name="memory" value="1GiB"/>
<policy domain="resource" name="map" value="512MiB"/>
<policy domain="resource" name="width" value="16KP"/>
<policy domain="resource" name="height" value="16KP"/>
<policy domain="resource" name="area" value="128MB"/>
<policy domain="resource" name="disk" value="6GiB"/>
allow writing as well!
<policy domain="coder" rights="read | write" pattern="PDF" />
/etc/ImageMagick-6/policy.xml
https://stackoverflow.com/questions/52699608/wand-policy-error-error-constitute-c-readimage-412
tested