Jimp.read('./data/stats.jpg', (err, image) => {
if (err) throw err;
Jimp.loadFont(Jimp.FONT_SANS_64_WHITE).then(font => {
image.print(
font, 1, 1, {
text: 'Тест'
}, 500, 500
);
image
.quality(60)
.write('./data/stats/test.jpg')
});
});