Mogrify Imagemagick не может отобразить текст

289
Nelson Teixeira

Я пытаюсь простой

mogrify test.png -annotate +100+100 '26082015' 

на простом изображении, и текст не отображается.

Я также попробовал:

mogrify test.png -font courier -fill black -pointsize 20 -annotate +100+100 "26082015" 

а также

mogrify test.png -gravity NorthEast -draw "text 42,80 '26082015'" 

Что я делаю неправильно ?

1

1 ответ на вопрос

1
VL-80

To render a text with mogrify use it like this:

mogrify [options] input-file 

Taking one of your examples:

mogrify -annotate +100+100 '26082015' test.png 

Per the manual the last argument on the command line is the file that needs to be processed. So, first you specify options and after that filename.

Похожие вопросы