Convertir un PDF en image sous Debian 10.11 en contournant la stratégie de sécurité d'Imagemagick 6
$ convert champ1.pdf champ1.jpg
convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/421.
convert-im6.q16: no images defined `champ1.jpg' @ error/convert.c/ConvertImageCommand/3229.
# vim /etc/ImageMagick-6/policy.xml
<!-- commenter ces lignes
<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" />
-->
Et ça marche