JIMP uses bitmap fonts... which don't seem to have an option to setting their color.
I'd like to change the color of the font to any arbitrary color, then overlay this watermarking text over a base background image.
I can load the image and put text on it, like so:
Jimp.read('testImage.jpg', (err, baseImage) => {
if (err) throw err;
Jimp.loadFont(Jimp.FONT_SANS_32_BLACK).then(font => {
baseImage.print(font, 0, 0, "My Text")
baseImage.write('testOutput.jpg'); // save
});
});
But changing the color of the JIMP font seems to be something non-obvious.