Page 1 of 1

Multiple annotating not possible?

Posted: 2007-12-20T10:20:13-07:00
by Unikat2000
hi,

i am new to imagemagick and this forum :)

i have a problem with following command line

Code: Select all

"C:\Programme\ImageMagick-6.3.7-Q16\convert" -size 320x200 xc:#B3B3B3FF -pointsize 18 -annotate +50+50 "TEST 1" -annotate +100+100 "TEST 2"  -annotate +150+150 "TEST 3" "C:\123.png"
it should produce a picture with three text phrases with different locations but instead this is the ouput

Image

TEST 1 seems to be located correctly but the two others are placed mostly the picture. whats wrong?

sorry if this is a noob question :)

Re: Multiple annotating not possible?

Posted: 2007-12-20T11:21:47-07:00
by Bonzo
It works OK for me on windows XP version 6.3.7 using:

Code: Select all

convert -size 320x200 xc:#B3B3B3FF -pointsize 18 -annotate +50+50 "TEST 1" -annotate +100+100 "TEST 2"  -annotate +150+150 "TEST 3" "C:\123.png"
You can see some of your text disapearing off the image, try putting something like -annotate +100-100 "TEST 2" for the second bit of text and see what happens.

Re: Multiple annotating not possible?

Posted: 2007-12-20T11:40:17-07:00
by Unikat2000
thx for your reply Bonzo :)

do you get get an image, where the text phrases are positioned correctly?

-annotate +100-100 "TEST 2" doesnt help...same ouput....could it be localization problem?

Re: Multiple annotating not possible?

Posted: 2007-12-20T11:46:16-07:00
by Bonzo
It may be something to do with your setup I suppose.

Image

Re: Multiple annotating not possible?

Posted: 2007-12-20T12:02:07-07:00
by Unikat2000
this is exactly the way it should look like ... i have no idea whats the problem :(

i used this http://www.imagemagick.org/download/binaries/ImageMagick-6.3.7-6-Q16-windows-dll.exe

Re: Multiple annotating not possible?

Posted: 2007-12-20T12:07:30-07:00
by Bonzo
I am using ImageMagick-6.3.7-0-Q16-windows-dll.exe

Hopefuly el_supremo or Anthony will take a look at this post and come up with an idea.

Re: Multiple annotating not possible?

Posted: 2007-12-20T12:10:26-07:00
by Bonzo
Try adding a -gravity northwest e.g.

Code: Select all

convert -size 320x200 xc:#B3B3B3FF -pointsize 18 -gravity northwest -annotate +50+50 "TEST 1" -annotate +100+100 "TEST 2"  -annotate +150+150 "TEST 3" "C:\123.png"

Re: Multiple annotating not possible?

Posted: 2007-12-20T12:21:16-07:00
by Unikat2000
Bonzo wrote:Try adding a -gravity northwest e.g.

Code: Select all

convert -size 320x200 xc:#B3B3B3FF -pointsize 18 -gravity northwest -annotate +50+50 "TEST 1" -annotate +100+100 "TEST 2" -annotate +150+150 "TEST 3" "C:\123.png"
Image

this is my result...... it really looks like, that the y-value of annotate isnt processed correctly

Re: Multiple annotating not possible?

Posted: 2007-12-20T15:19:12-07:00
by el_supremo
I tried that command with ImageMagick 6.3.5 07/31/07 Q8 and I get the same result as Bonzo posted. At the moment I can't think of a reason why it would fail for Unikat2000.

Pete

Re: Multiple annotating not possible?

Posted: 2007-12-20T15:27:02-07:00
by Unikat2000
i will test IM on a fresh english winxp version tommorrow...


EDIT: ok i have done the install and i found out that the whole issue is related to Regional Options in the Regional and Language Opions Panel

if i use English (United States) it produces the correct ouput like Bonze posted.... with German (Germany) it gives me the output i have posted....

....so what can i do... i dont want to set my configuration to English (United States), cause i believe that this will lead to problem in other applications.....