Code: Select all
magick ^
-size 600x100 ^
canvas:white ^
-pointsize 48 ^
-draw "text 0,0 'abc123'" ^
testing1.png
magick ^
-size 600x100 ^
canvas:white ^
-pointsize 48 ^
-annotate +0+0 "abc123" ^
testing2.png
Code: Select all
magick ^
-size 600x100 ^
label:"abc123" ^
-pointsize %[label:pointsize] ^
-fill green ^
-annotate +2+2 "abc123" ^
testing3.png
Specifying a gravity setting seems to resolve the problem, even if it's the default of "northwest". This works...
Code: Select all
magick ^
-size 600x100 ^
canvas:white ^
-pointsize 48 ^
-gravity northwest ^
-draw "text 0,0 'abc123'" ^
testing4.png
Code: Select all
magick ^
-size 600x100 ^
canvas:white ^
-pointsize 48 ^
-gravity center ^
-draw "text 0,0 'abc123'" ^
+gravity ^
-draw "text 0,0 'def456'" ^
testing5.png