Title and Label in montage with different pointsize?

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
Teddy

Title and Label in montage with different pointsize?

Post by Teddy »

I am new to imagemagick and have not been able to find a solution to this problem. I need to make the both the title and the labels in my montage to have the same pointsize. I have not been able to figure our how to set the title pointsize to not user the label point size has a multiplier for its point size.

Any help would be appreciated. This is what I have now:

montage -pointsize 35 -label "%t" Image1.png Image2.png Image3.png Image4.png -tile x2 -shadow -geometry +5+5 -background white -title "Title of Image" montage1.png
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Title and Label in montage with different pointsize?

Post by fmw42 »

Don't know the answer, but if it can be done, then it should be explained at http://www.imagemagick.org/Usage/montage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Title and Label in montage with different pointsize?

Post by anthony »

You can not currently specify the pointsize for a montage title.

The pointsize setting (what ever it is set to at the end of the command) will be used for montage labels.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Teddy

Re: Title and Label in montage with different pointsize?

Post by Teddy »

How about is there a way to make the title use the same point size as the labels? My problem is the title is too big, when the labels are the right size.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Title and Label in montage with different pointsize?

Post by magick »

There is no setting for the title pointsize. Instead it defaults to 2.0 * label-pointsize.
Teddy

Re: Title and Label in montage with different pointsize?

Post by Teddy »

Ok, Thanks.

Is there a way to add a "title" or label to a montage without using the title command?

I have figured out a way to do this using a 2nd convert command, but I would like to create the montage and add a "title" to it in one command.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Title and Label in montage with different pointsize?

Post by magick »

You can add blank images with the null: filename on the montage command line. You can then add the title in yourself as a post processing step: something like 'montage -tile 3x null: null: null: *.jpg montage.pnm'.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Title and Label in montage with different pointsize?

Post by anthony »

You could leave out the -title, then add it to the montage output image using any of the image labeling methods with any font and size you like.

See IM Examples Annotating images
http://www.imagemagick.org/Usage/annotating/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply