Code: Select all
colors=("" 4d2600 590000 730055 2c0059 000080 004d00 638000 ffaa00 323232)
for x in {1..9} ; do
convert -size $((40 + x * 10))x$((40 + x * 10)) xc:"#${colors[$x]}" $x.png
done
As per the method advised under the usage pages (huge thanks to Anthony!) I tried:
Code: Select all
montage ?.png -geometry '1x1+0+0<' out.png
I realize it's only because of the difference in size between the tiles. So is there any way to tell montage to not make all tiles the equal size but only size them enough to fit the biggest item in the particular row/column? Or if that is outside the scope of montage then how else using IM can I do that?