batch concatenating of png images to single file
-
05-07-2019 - |
Question
I want create texture atlas(matrix of images) from multiple images.Is their any applescript that can create image matrix.
Solution
Have you looked at the ImageMagick set of tools? There is an example showing the use of the -append and +append options of the convert program that shows how to append images into rows and columns of the destination image.
OTHER TIPS
ImageMagick, as suggested by Jeff, really is a good solution. However, I would recommend the montage
command instead of convert
. Whareas convert
allows for creation of horizontally or vertically aligned stacks, montage
together with the -tile
switch lets you create a matrix of images with a defined number of rows and columns.
Resources:
http://www.imagemagick.org/script/montage.php
http://mariovalle.name/postprocessing/ImageTools.html#assemble