montage -title with newlines miss-places the title

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
ruthmcNamara
Posts: 1
Joined: 2019-04-04T22:13:06-07:00
Authentication code: 1152

montage -title with newlines miss-places the title

Post by ruthmcNamara »

When a montage title has newlines in it the bottom line is placed in the middle of the blank area rather than the bottom and the top lines get cut off.

Command used: montage -verbose -label '%f' -font Helvetica -pointsize 10 -background '#FFFFFF' -fill 'gray' -geometry 200x200+2+2 -shadow -title '1\n2\n3\n4\n5\n6' kerrerts.jpg montagetitlebug.jpg

Sample: Image

Tested on: (all 64-bit)
ImageMagick 6.2.8 05/07/12 Q16 (RHEL5)
ImageMagick 6.5.4-7 2012-05-07 Q16 OpenMP (RHEL6)
ImageMagick 6.7.6-3 2012-04-28 Q16 (Cygwin on Win7)

Let me know if you'd like more info.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: montage -title with newlines miss-places the title

Post by fmw42 »

You cannot upload an image to this server. You should upload to some free image hosting service and put the URLs here.

You may want to create a title image separately using caption: or label: and then append that to the top of your image or montage of several images.
Post Reply