How to batch tile images in 3x2 -montage +adjoin?
Posted: 2013-08-03T05:08:11-07:00
Hi,
Under Win7, I have a directory of jpeg, they are lexically sorted by some date preceeding some comment about the image content, for example:
2011-07-12 12h15 My first image.jpg
2012-08-29 09h45 éèàç.jpg
Using the lexicographic order of the files, I want to make a montage of the image by group of 6, 3 in cols by 2 in rows, with output as jpeg or pdf format.
Note expected order: row1 col 1, row 1 col 2, row 1 col3, row2 col1, etc.
I tried to use
But it "only" creates _pages00.jpg (3x2) and _pages01.jpg (3x1), so only 9 images while my folder as 33 jpeg...
I though the issue might be the accent or blanks in the filename, but convertion to no accent and blanks to underscore does not solve the issue.
Note: no error is prompted on shell.
Thanks for advicing.
Under Win7, I have a directory of jpeg, they are lexically sorted by some date preceeding some comment about the image content, for example:
2011-07-12 12h15 My first image.jpg
2012-08-29 09h45 éèàç.jpg
Using the lexicographic order of the files, I want to make a montage of the image by group of 6, 3 in cols by 2 in rows, with output as jpeg or pdf format.
Note expected order: row1 col 1, row 1 col 2, row 1 col3, row2 col1, etc.
I tried to use
Code: Select all
montage -mode concatenate -tile 3x2 "*.jpg" +adjoin _pages%02d.jpg
I though the issue might be the accent or blanks in the filename, but convertion to no accent and blanks to underscore does not solve the issue.
Note: no error is prompted on shell.
Thanks for advicing.