]> granicus.if.org Git - imagemagick/blobdiff - www/source/policy.xml
(no commit message)
[imagemagick] / www / source / policy.xml
index ddc3da571061bde0adf0e25e4e405dc561478267..3be0a4bcb9c05494006489ee76dbff44a89b08db 100644 (file)
 
     <policy domain="filter" rights="none" pattern="*" />
 
-  The /repository file system is restricted to read only. We use a glob
+  The /repository file system is restricted to read only.  We use a glob
   expression to match all paths that start with /repository:
   
     <policy domain="path" rights="read" pattern="/repository/*" />
 
   Any large image is cached to disk rather than memory:
 
-    <policy domain="resource" name="area" value="1gb"/>
+    <policy domain="resource" name="area" value="1GB"/>
 
-  Note, resource policies are maximums for each instance of ImageMagick (e.g.
-  policy memory limit 1GB, -limit 2GB exceeds policy maximum so memory limit
-  is 1GB).
+  Define arguments for the memory, map, area, and disk resources with
+  SI prefixes (.e.g 100MB).  In addition, resource policies are maximums for
+  each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB
+  exceeds policy maximum so memory limit is 1GB).
 -->
 <policymap>
   <!-- <policy domain="system" name="precision" value="6"/> -->
   <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
   <!-- <policy domain="resource" name="memory" value="2GiB"/> -->
   <!-- <policy domain="resource" name="map" value="4GiB"/> -->
-  <!-- <policy domain="resource" name="area" value="1gb"/> -->
-  <!-- <policy domain="resource" name="disk" value="16eb"/> -->
+  <!-- <policy domain="resource" name="area" value="1GB"/> -->
+  <!-- <policy domain="resource" name="disk" value="16EB"/> -->
   <!-- <policy domain="resource" name="file" value="768"/> -->
   <!-- <policy domain="resource" name="thread" value="4"/> -->
   <!-- <policy domain="resource" name="throttle" value="0"/> -->