1.0.0 • Published 11 months ago

@forkprince/dumpy v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Among Us: Dumpy (GIF)

A simple GIF generator to create animated "Dumpy Among Us" GIFs, forked from Commandtechno/dumpy.

Installation

npm install @forkprince/dumpy

Usage

const dumpy = require("@forkprince/dumpy");
const fs = require("fs/promises");

const buffer = await dumpy("https://cdn.discordapp.com/emojis/839575637051703296.png", {
    size: 16,
    speed: 10,
    resolution: 512
});

await fs.writeFile("dumpy.gif", buffer);

Options

  • size (Number)
    The number of rows and columns in the animation grid. The higher the value, the larger the grid (Default: 10).

  • speed (Number)
    Delay between frames in milliseconds. A lower value will create faster animations (Default: 10).

  • resolution (Number)
    The output width and height of the GIF in pixels. A higher value results in better quality (Default: 1080).

1.0.0

11 months ago