其他 如何用 ImageMagick 导出过 Pango Markup 的文字成图片么?

larryzhao · October 19, 2012 · 3728 hits

这两天在尝试作这个,参见 ( http://www.imagemagick.org/Usage/text/#pango ), 但在我的 Mac 上跑文档里的例子:

convert -background lightblue -size 150 \
          pango:"Anthony Thyssen is the main author of IM Examples" \
          pango_size.gif

会出现如下错误:

convert: unable to open image `Contributions to IM Examples are welcome via the IM Forum.': No such file or directory @ error/blob.c/OpenBlob/2617.
convert: no decode delegate for this image format `Contributions to IM Examples are welcome via the IM Forum.' @ error/constitute.c/ReadImage/544.
convert: no images defined `pango_justify.gif' @ error/convert.c/ConvertImageCommand/3032.

看上去像是我的 ImageMagick 安装的时候没有加入 pango support, 遍寻网络也没找到是不是这样的,想求问一下有没有做个这个的朋友给我一些指点。

多谢。

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.