Skip to content

drawText doesn't appear to work with this layer #43

Description

@jfederer

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions