Actually it was already commented out. I did that during instalation. Here
is the section:
<policymap>
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
<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="list-length" value="128"/> -->
<policy domain="resource" name="area" value="128MP"/>
<policy domain="resource" name="disk" value="1GiB"/>
<!-- <policy domain="resource" name="file" value="768"/> -->
<!-- <policy domain="resource" name="thread" value="4"/> -->
<!-- <policy domain="resource" name="throttle" value="0"/> -->
<!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="coder" rights="none" pattern="MVG" /> -->
<!-- <policy domain="module" rights="none" pattern="{PS,PDF,XPS}" /> -->
<!-- <policy domain="path" rights="none" pattern="@*" /> -->
<!-- <policy domain="cache" name="memory-map" value="anonymous"/> -->
<!-- <policy domain="cache" name="synchronize" value="True"/> -->
<!-- <policy domain="cache" name="shared-secret" value="passphrase"
stealth="true"/>
<!-- <policy domain="system" name="max-memory-request" value="256MiB"/>
-->
<!-- <policy domain="system" name="shred" value="2"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<!-- <policy domain="system" name="font" value="/path/to/font.ttf"/> -->
<!-- <policy domain="system" name="pixel-cache-memory"
value="anonymous"/> -->
<!-- <policy domain="system" name="shred" value="2"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<!-- not needed due to the need to use explicitly by mvg: -->
<!-- <policy domain="delegate" rights="none" pattern="MVG" /> -->
<!-- use curl -->
<policy domain="delegate" rights="none" pattern="URL" />
<policy domain="delegate" rights="none" pattern="HTTPS" />
<policy domain="delegate" rights="none" pattern="HTTP" />
<!-- in order to avoid to get image with password text -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- disable ghostscript format types -->
<!-- <policy domain="coder" rights="none" pattern="PS" /> -->
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
<policy domain="coder" rights="none" pattern="XPS" />
</policymap>
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Am Mo., 1. Dez. 2025 um 08:20 Uhr schrieb Alvaro <[email protected]>:
> Sorry, Please, take a look with this:
>
> sudo nano /etc/ImageMagick-6/policy.xml
>
> ...and comment the two follow lines, near to bottom file:
>
> <policy domain="coder" rights="none" pattern="PS" />
> <policy domain="coder" rights="none" pattern="PDF" />
>
> ...to:
>
> <!-- <policy domain="coder" rights="none" pattern="PS" /> -->
> <!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
>
> Press in the keyboard Ctrl+x, will ask to save, press Y, and press Enter
> to exit nano editor.This last must be repeated every time you update the
> ImageMagick, or maybe you´ll be asked to keep or replace the “policy.xml”
> file (modified by us), then pres “Keep” button.
>
>
>
>
>
> On Mon, 1 Dec 2025 08:11:13 +0100
> Alvaro <[email protected]> wrote:
>
> > Please, take a look with this:
> >
> > sudo nano /etc/ImageMagick-6/policy.xml
> > ...and comment the two follow lines, near to bottom file:
> >
> > <policy domain="coder" rights="none" pattern="PS" /><policy
> domain="coder" rights="none" pattern="PDF" />
> > ...to:
> > <!-- <policy domain="coder" rights="none" pattern="PS" /> --><!--
> <policy domain="coder" rights="none" pattern="PDF" /> -->
> > Press in the keyboard Ctrl+x, will ask to save, press Y, and press Enter
> to exit nano editor.This last must be repeated every time you update the
> ImageMagick, or maybe you´ll be asked to keep or replace the “policy.xml”
> file (modified by us), then pres “Keep” button.
>
>
>
>