convert -background white -fill black -font FreeSerif-Bold -pointsize 36 label:’adfgh’ ./test.png
not authorized adfgh @ error/constitute.c/ReadImage/453. convert:missing an image filename ./test.png @ error/convert.c/ConvertImageCommand/3015
yum install ImageMagick .
修改 /etc/ImageMagick/policy.xml file
If you’re getting a ReadImage error as above, you can change the line to: