Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unix 使用图像magick弯曲文本_Unix_Image_Imagemagick - Fatal编程技术网

Unix 使用图像magick弯曲文本

Unix 使用图像magick弯曲文本,unix,image,imagemagick,Unix,Image,Imagemagick,弧形文字 此代码不起作用,请帮助我可能您的系统中没有名为“Candice”的字体。尝试使用“Arial Normal” 或选择此命令列出的任何字体: system(' convert -size 320x100 xc:lightblue -font Candice -pointsize 72 \ -fill navy -annotate +25+65 \'Anthony\' \ -distort Arc 120 -trim +repage \

弧形文字


此代码不起作用,请帮助我

可能您的系统中没有名为“Candice”的字体。尝试使用“Arial Normal”

或选择此命令列出的任何字体:

system('  convert -size 320x100 xc:lightblue -font Candice -pointsize 72 \
           -fill navy -annotate +25+65 \'Anthony\' \
           -distort Arc 120  -trim +repage \
           -bordercolor lightblue -border 10  font_arc.jpg
');
通常,您应该运行以下两个步骤来调试问题:

  • 首先在命令行上运行代码,并确保它在那里工作
  • 将此代码翻译成您使用的任何编程语言API
  • 这条命令行适用于我:

    convert -list font
    

    你为什么不发布你得到的结果?我没有得到结果,所以我发布了论坛
        convert                         \
           -size 320x100 xc:lightblue   \
           -font Arial-Normal           \
           -pointsize 72                \
           -fill navy                   \
           -annotate +25+65 \'Anthony\' \
           -distort Arc 120             \
           -trim                        \
           +repage                      \
           -bordercolor lightblue       \
           -border 10                   \
            font_arc.jpg