1

I'm trying a simple

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

on a simple image, and no text is rendered.

I also tried:

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

and

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

What am I doing wrong ?

bertieb
  • 7,344
  • 36
  • 42
  • 54

1 Answers1

2

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.

VL-80
  • 4,475
  • 2
  • 28
  • 38