I just stumbled across, what I believe to be either a bug or some unconstructive preset found in /etc/ImageMagick-6/policy.xml:
Code: Select all
<policymap>
<policy domain="resource" name="memory" value="256MiB"/>
<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="1GiB"/>
[...]
</policymap>
These settings may make sense for web-servers, on a Desktop-PC this is crap IMHO. Let it fail if it runs out of memory (I still could set "-limit map 32 -limit memory 32"), but keep me from editing big images puts a bad light on sth, that makes IM great.
And if it's intended for web-servers, this makes even less sense! If I wanted to run a web-server I should be able to set the restrictions, according to hardware and expected usage.
Ok, I'll stop ranting, but I just lost an hour of searching the web and trying to figure out, why my scripts don't work anymore!
Cheers
chris