altering montage script for folder batch?

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
iammi
Posts: 3
Joined: 2017-04-02T19:06:20-07:00
Authentication code: 1151

altering montage script for folder batch?

Post by iammi »

hi

i'm using an autohotkey script https://autohotkey.com/board/topic/3953 ... tile-sets/
to make an image grid from a folder of images
i'm wondering how i could modify the script to batch process multiple separate folders (folders labelled 1-100), and output each folder's image grid with the folder name (ie 1.png, 2.png etc)

thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: altering montage script for folder batch?

Post by fmw42 »

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620

For novices, see

viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/


You will likely need to write a script loop over each folder and that script loop depends upon your OS. Sorry I do not know much about autohotkey. It seems to be for Windows. Sorry I do not know Windows scripting.
iammi
Posts: 3
Joined: 2017-04-02T19:06:20-07:00
Authentication code: 1151

Re: altering montage script for folder batch?

Post by iammi »

i'm on windows 8.1 x64, using ImageMagick-6.9.0-Q16

exact commandline is in the script i linked - all images are 1024 x 1024 png
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: altering montage script for folder batch?

Post by snibgo »

I use Windows, but haven't come across Autohotkey.

Only one line of that long script is concerned with ImageMagick. The rest is specific to the Autohotkey script language. For adapting the script, I suggest you consult Autohotkey documentation or ask on their forum.
snibgo's IM pages: im.snibgo.com
iammi
Posts: 3
Joined: 2017-04-02T19:06:20-07:00
Authentication code: 1151

Re: altering montage script for folder batch?

Post by iammi »

thanks!
i posted on the autohotkey forum as well
Post Reply