<policymap>
    <policy domain="resource" name="memory" value="256MiB" />
    <policy domain="resource" name="list-length" value="128" />
    <policy domain="resource" name="width" value="10KP" />
    <policy domain="resource" name="height" value="10KP" />
    <policy domain="resource" name="map" value="512MiB" />
    <policy domain="resource" name="area" value="40MP" />
    <policy domain="resource" name="disk" value="1GiB" />
    <policy domain="resource" name="file" value="768" />
    <policy domain="resource" name="thread" value="2" />
    <policy domain="path" rights="none" pattern="@*" />
    <policy domain="coder" rights="none" pattern="*" />
    <policy domain="coder" rights="read | write" pattern="{APNG,AVIF,GIF,JPEG,JSON,JXL,PNG,WEBP,MP4,WEBM,TMP,PAM}" />
    <policy domain="delegate" rights="none" pattern="*" />
    <policy domain="delegate" rights="execute" pattern="ffmpeg" />
    <policy domain="filter" rights="none" pattern="*" />
    <policy domain="module" rights="none" pattern="*" />
    <policy domain="module" rights="read | write" pattern="{APNG,AVIF,GIF,JPEG,JSON,JXL,PNG,WEBP,TMP,PAM,PNM,VIDEO}" />
        <!-- indirect reads not permitted -->
    <policy domain="system" name="precision" value="6" />
</policymap>
