We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using this layer with a GM wrapper:
const GM = require('gm'); const gm = GM.subClass({ imageMagick: true });
exports.osdStamp = async (buf) => { return new Promise((resolve, reject) => { gm(buf) .fontSize(40) .drawText(10,50, 'TEST MESSAGE') .toBuffer((err, buffer) => err ? reject(err) : resolve(buffer)); }); };
Does not put text on the image -- though it does return the image (and then save it to S3)...
Are the drawing functions of GraphicsMagik included in this layer?
The text was updated successfully, but these errors were encountered:
It seems this layer doesn't include any typography capabilities. Does anyone know how to add them?
Sorry, something went wrong.
@jfederer Same here, I'm trying this tutorial now
No branches or pull requests
Using this layer with a GM wrapper:
const GM = require('gm');
const gm = GM.subClass({ imageMagick: true });
exports.osdStamp = async (buf) => {
return new Promise((resolve, reject) => {
gm(buf)
.fontSize(40)
.drawText(10,50, 'TEST MESSAGE')
.toBuffer((err, buffer) => err ? reject(err) : resolve(buffer));
});
};
Does not put text on the image -- though it does return the image (and then save it to S3)...
Are the drawing functions of GraphicsMagik included in this layer?
The text was updated successfully, but these errors were encountered: