【问题标题】:php,unix command ,imagick ,overflowphp,unix命令,imagick,溢出
【发布时间】:2011-02-21 19:17:36
【问题描述】:

这是给图片添加文字

echo system('convert mug.jpg -font courier -fill green -pointsize 30 -annotate +100+230 \'hi Wlecome yy\'   mug123.jpg');

unix 命令在 php 中运行,当我们更改点大小时,它工作正常,欢迎使用图像溢出

我们怎样才能克服?

【问题讨论】:

    标签: php unix command imagick


    【解决方案1】:

    您想要在小图片上放置一大行文字吗?我希望它会溢出。您可以将两行文本放在另一行下方。

    但是,由于您是在 PHP 中执行此操作,我建议您使用像 GD 这样的图像库,而不是为 imagemagick 使用 shell。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-02
      • 2019-12-20
      • 2013-01-02
      • 2019-07-10
      • 2015-11-16
      • 1970-01-01
      相关资源
      最近更新 更多