加入收藏 | 设为首页 | 会员中心 | 我要投稿 | RSS
您当前的位置:首页 > 操作系统 > Linux

convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ err

时间:2021-12-21 18:49:43  来源:  作者:phpsrc.com
通过 convert 将 图片 转换为 PDF 时出现如下 the security policy 报错:



Imagemagick 安全策略不允许我执行 图片到 pdf 的转换。

那么,我们把它的安全策略给关闭了就行了:



用注释符号<!-- -->把有 pdf 这一行的文字给注释掉。



这样就可以正常将 图片转换成 PDF 格式啦。



参考文章:
linux convert 命令详解 | 图像、图片、文档格式相互转换 imagemagic
http://phpsrc.com/os/linux/202112/163.html
 
来顶一下
返回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
相关文章
    无相关信息
栏目更新
栏目热门