@soupbowl/node-red-sharp 0.1.2

Adds Sharp image library support to Node-RED

npm install @soupbowl/node-red-sharp

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 the options 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)

Node Info

Version: 0.1.2
Updated 6 months, 2 weeks ago
License: MIT
Rating: 5.0 1

Actions

Rate:

Downloads

3 in the last week

Nodes

  • sharp-convert
  • sharp-resize

Keywords

  • node-red

Maintainers