convert:not authorized `aaaa` @ error/constitute.c/ReadImage/453

后端 未结 11 2414
无人及你
无人及你 2020-11-27 08:50

I want to create a captcha pic by use convert from ImageMagick.

And I follow this, but there are some problem .

Input In my linux shell:

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 09:43

    Just delete /etc/ImageMagick/policy.xml file. E.g.

    rm /etc//policy.xml
    

    For ImageMagick 6, it's:

    sudo rm /etc/ImageMagick-6/policy.xml
    

提交回复
热议问题