Positioning image labels in a contact-sheet montage

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
element333
Posts: 1
Joined: 2016-10-29T03:54:44-07:00
Authentication code: 1151

Positioning image labels in a contact-sheet montage

Post by element333 »

I have a contact-sheet montage with thumbnails, each thumbnail with a frame and a label. How can I move the labels under the thumbnails up a little bit, without affecting either the thumbnail or the frame? The labels seem a bit too close to the bottom edge of the frame. I don't see any options for positioning labels in a montage. Is there a "transform" trick or some font size manipulation trick that would do this? I don't think the environment maters, but I use PerlMagick on Win7 x64, as installed by ImageMagic 6.8.8 Q8 (32-bit).
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Positioning image labels in a contact-sheet montage

Post by Bonzo »

To get a usefull reply please post your current code as well as in input and expected result image.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Positioning image labels in a contact-sheet montage

Post by fmw42 »

try adding \n to your %f as -label "%f\n". It will make the bottom part of the frame bigger, but the label will be more centered.
Post Reply