【发布时间】:2021-08-10 22:36:37
【问题描述】:
我尝试使用 ImageMagick 将 PDF 转换为图像,但出现此错误:
convert-im6.q16:尝试执行安全策略“PDF”@error/constitute.c/IsCoderAuthorized/408 不允许的操作。
convert-im6.q16:没有定义图像 `tmp/%03d.png' @error/convert.c/ConvertImageCommand/3258。
我找到了一堆建议修改 policy.xml 文件的答案(如this 和this);我的问题是,我不知道在 WSL 上哪里可以找到该文件:我尝试在 /etc/ 中查找它,并在 Windows 中查找和搜索,但无济于事。知道如何在 WLS 上解决这个问题吗?
【问题讨论】:
标签: imagemagick windows-subsystem-for-linux