Have some array like this:
var myArray=[
{ title: 'Some title', time: 'Some time'},
...
];
And node-gm code:
gm('bg.png')
.fill("#ffffff")
.font("Phenomena-Bold.otf", 27)
.drawText(225, 75, "Some text")
.write("result.png", function (err) {
if (!err) console.log('done');
});
Need to add each item from myArray to .drawText() with shifting y-axis to 45px. Any ideas?