How to do \'gm composite -gravity center change_image_url base_image_url\' with GM Node.js?
How to call gm().command() & gm().in() or <
gm().command()
gm().in()
If you want to resize and merge, you can use this:
gm() .in('-geometry', '+0+0') .in('./img/img1.png') .in('-geometry', '300x300+100+200') .in('./img/img2.png') .flatten() .write('resultGM.png', function (err) { if (err) console.log(err); });