https://github.com/i8beef/node-red-contrib-animate-gif
Node-red node for combining a set of buffers into an animated gif
https://github.com/i8beef/node-red-contrib-animate-gif
Last synced: 7 months ago
JSON representation
Node-red node for combining a set of buffers into an animated gif
- Host: GitHub
- URL: https://github.com/i8beef/node-red-contrib-animate-gif
- Owner: i8beef
- License: mit
- Created: 2019-10-18T02:03:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-28T07:25:21.000Z (almost 5 years ago)
- Last Synced: 2025-10-20T05:06:22.902Z (10 months ago)
- Language: HTML
- Size: 49.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-animate-gif
Node-red node for combining a set of buffers into an animated gif.
## Getting Started
Install directly from your NodeRED's Setting Pallete
or
This assumes you have [node-red](http://nodered.org/) already installed and working, if you need to install node-red see [here](http://nodered.org/docs/getting-started/installation)
```shell
$ cd ~/.node-red
$ npm install node-red-contrib-animate-gif
```
## Usage
This package provides a single node, `animate-gif`, which will be under the "functions" group in the pallete. The node exposes configuration settings for delay between frames, image dimensions, quality, and whether to repeat the loop or not. These settings can be set on the node settings, or on the incoming message.
```js
{
delay: 500,
dimensionX: 100,
dimensionY: 100,
quality: 20,
repeat: true,
payload: [
Buffer(...)
]
}
```