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?".
tuggleg
Posts: 16 Joined: 2017-05-01T08:57:40-07:00
Authentication code: 1151
Post
by tuggleg » 2017-05-01T09:09:47-07:00
Hello all,
I am having difficulties creating a simple montage .bat script with labels and wildcard.
Code: Select all
montage -label '%f' -pointsize 100 *.jpg -tile x1 -geometry +2+2 MAIN.jpg
Due to the wildcard (*.jpg) all images in the montage are labeled 'f'. Has anyone found a way around this?
*edit was made on title
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-05-01T09:24:25-07:00
In BAT scripts, % has a special meaning (script parameters). To avoid the special meaning, you need to double them: %%f.
tuggleg
Posts: 16 Joined: 2017-05-01T08:57:40-07:00
Authentication code: 1151
Post
by tuggleg » 2017-05-04T06:57:49-07:00
Great - this works. Thanks @snibgo