0

I was trying to use ImageMagick to convert a PDF to images, but I got this error:

convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.

convert-im6.q16: no images defined `tmp/%03d.png' @ error/convert.c/ConvertImageCommand/3258.

I found a bunch of answers (like this and this) that suggests to modify the policy.xml file; my problem is, I have no idea where to find that file on WSL: I tried looking for it in /etc/, with find and searching in Windows, to no avail. Any idea how to solve this issue on WLS?

Mauro
  • 153
  • 7

0 Answers0