Page 1 of 1

-annotate ignores y coordinate when more than 1

Posted: 2008-01-09T05:57:50-07:00
by alexB
hi there,

when having multiple -annotates like in the code below, only the first +x+y pair gets parsed correctly. all the following ones do the x coordinate perfectly right but never the y coordinate, it's always 0 (zero). i tried all kinds of combinations w/ + w/o gravity and couldn't find anything really here in the forum or the web...

any idea / alternative / workaround would be greatly appreciated and thanks in advance,
alex

convert -monochrome -background none -density 200x200
-gravity NorthWest -font arial -pointsize 30 -fill black '
-annotate +500+400 "xxxxxxxxxxxxxxxxxxxxxxxx"
-font arial -pointsize 30 -fill black
-annotate +260+230 "yyyyyyyyyyyyyyyyyyyyyy"

Re: -annotate ignores y coordinate when more than 1

Posted: 2008-01-09T14:43:12-07:00
by Bonzo
What version are you using ?

This worked for me using 6.3.7

Code: Select all

convert -size 1000x1000 xc:white -monochrome -background none -density 200x200 -gravity NorthWest -font arial -pointsize 30 -fill black -annotate +500+400 "xxxxxxxxxxxxxxxxxxxxxxxx" -font arial -pointsize 30 -fill black -annotate +260+230 "yyyyyyyyyyyyyyyyyyyyyy" output.png

Re: -annotate ignores y coordinate when more than 1

Posted: 2008-01-10T02:29:13-07:00
by alexB
really? i have 6.3.6 on windows... i will update and let you know.

thanks