image merge command line tool
sudo npm install img-merger --global
use img-merger -h
to see the more command options
Ex:
img-merger -o x.png --dir ~/Downloads/1 --background #FF0000 ~/Downloads/IMG_4334.JPG ~/Download/File2.jpg
This will merge all images in folder '~/Downloads/1' and the other two specified images together, and output x.png.