4.0.0 • Published 2 years ago

node-red-contrib-buffer-to-png v4.0.0

Weekly downloads
-
License
Apache 2.0 licens...
Repository
github
Last release
2 years ago

node-red-contrib-buffer-to-png

Convert a buffer to a png

Install

Run the following command in the root directory of your Node-RED install:

    npm install node-red-contrib-buffer-to-png

or from Manage Palette, search node-red-contrib-buffer-to-png.

Usage

This node should be provided in input :

  • msg.buffer: the buffer to convert. Format: Buffer.
  • msg.filename: the filename for the png file. Format: String.

This node will give an output in msg.payload, with the keys: :

  • png : the converted buffer into Jimp png instance. Format: Jimp png instance.
  • png_buffer : the converted Jimp png instance into buffer. Format: Buffer.
  • png_url : the url where the .png file was saved. Format: String.
  • png_url_path : the url of the folder where the .png file was saved. Format: String.
  • png_filename : the filename of the saved .png file. Format: String.

Contributing

For simple typos and fixes please just raise an issue pointing out our mistakes. If you need to raise a pull request please read our contribution guidelines before doing so.

Copyright and license

Copyright 2022 IBM Corp. under the Apache 2.0 license.

4.0.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.5.0

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago