annote with newline

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
imma4
Posts: 4
Joined: 2018-01-04T00:22:13-07:00
Authentication code: 1152

annote with newline

Post by imma4 »

Hello,

Recently I had to create some labels using a command like this :

Code: Select all

convert -size 30x25 xc:yellow -annotate +1+10 "2016\n0912" 20160912.png
On a ubuntu 16.04 system with ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 I get this result:
Image

If I repeat this command a fedora 27 system with ImageMagick 6.9.9-19 Q16 x86_64 2017-10-11 I see this:
Image

I am not sure if this is a ImageMagick bug (maybe it's fedora) but I would expect the same results on both machines.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: annote with newline

Post by magick »

We're using ImageMagick 6.9.9-31 under Fedora 26 and we get expected results.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: annote with newline

Post by fmw42 »

Your command works fine for me on IM 6.9.9.19 Q16 Mac OSX Sierra.

Code: Select all

convert -size 30x25 xc:yellow -annotate +1+10 "2016\n0912" 20160912.png
imma4
Posts: 4
Joined: 2018-01-04T00:22:13-07:00
Authentication code: 1152

Re: annotate with newline

Post by imma4 »

I took the f27 sources and compiled them on a f26 system. Results are as expected so some other part in fedora 27 is the problem and this is not a ImageMagick bug.
Thanks for testing.
Post Reply