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$
インストールされているバージョンは、Homebrew 経由の ImageMagick 6.8.9-7 Q16 x86_64 2014-09-14 および pango-1.36.7 です。
--with-pango フラグを指定して ImageMagick を再インストールしようとしました。
私は2つのオプションのうちの1つに行き着きました:コマンドラインで本当に明白なものが欠けている(コピーして貼り付けたと思っても)、またはbrewがOSX Lionにimagemagickをインストールする方法に構成エラーがあります。