@soupbowl/node-red-sharp
v0.1.2
Published
Adds Sharp image library support to Node-RED
Downloads
15
Readme
Sharp in Node-RED
A gradual attempt to add Sharp functionality into Node-RED.
⚠️ This is very early stages and should be considered pre-alpha - do not use in production systems and expect changes to procedures.
Nodes
Node arguments can be specified by the flow, or input directly to the node.
sharp-convert
Input a msg.payload
of an image buffer object, and you can convert an image.
supported configuration:
- Format
- Options (as
msg.sharpOptions
, supporting theoptions
from the docs)
sharp-resize
Input a msg.payload
of an image buffer object, and it will attempt to resize the image.
Supported configuration:
- Dimensions (width & height)
- Fill type (fit & position)