我想使用 imagemagick 为照片添加水印。我正在为代码使用 OSX 和 Python 脚本,并且正在尝试来自(http://www.imagemagick.org/Usage/text/#pango_markup)的代码,目前我正在努力理解为什么我无法让图像出现.
serinitus:nppPhotos ns$ convert -background lightblue -gravity center -size 180x \
> pango:"The <b>bold</b> and <i>beautiful</i>" \
> pango_formatting.gif
convert: unable to open image `The <b>bold</b> and <i>beautiful</i>': No such file or directory @ error/blob.c/OpenBlob/2658.
convert: no decode delegate for this image format `PANGO' @ error/constitute.c/ReadImage/501.
convert: no images defined `pango_formatting.gif' @error/convert.c/ConvertImageCommand/3187.
serinitus:nppPhotos ns$
通过自制软件安装的版本是 ImageMagick 6.8.9-7 Q16 x86_64 2014-09-14 和 pango-1.36.7。
我尝试使用 --with-pango 标志重新安装 ImageMagick。
我只能选择以下两个选项之一:我在命令行中遗漏了一些非常明显的东西(即使我认为我复制/粘贴了它),或者 brew 在 OSX Lion 上安装 imagemagick 的方式存在配置错误。