Convert PDF to PNG recursively
How to convert a PDF document to PNG images recursively.
Well, I added to /etc/ImageMagick-7/policy.xml
the line:
<policy domain="coder" rights="read | write" pattern="PDF" />
just before </policymap>
, but not sure about the security implications of that.
And comment the line:
<!-- <policy domain="delegate" rights="none" pattern="gs" /> -->
Finally:
$ convert input.pdf output.png