The message queue
This function generates the message when the a static image is used
Buffer representing an image file
A promise which resolves when the processing is done
This function generates the message when the a static image is used
a Buffer representing an image file
A promise which resolves when the processing is done
Clears the message queue
This queues a message in the message queue
the message to append in the message queue
the length of the message queue
Reads an image and returns a promise of JimpArray. It works with gif, jpeg, png and bmp
a filepath to an image or a buffer reprensenting an image
a promse of JimpArray
d.read(msg.buffer).then(result => {
node.send({ payload: result.asBinaryBuffer() });
}).catch(err => {
throw err
})
Generated using TypeDoc
Returns the message queue