1.0.0 • Published 12 months ago
@forkprince/dumpy v1.0.0
Among Us: Dumpy (GIF)
A simple GIF generator to create animated "Dumpy Among Us" GIFs, forked from Commandtechno/dumpy.
Installation
npm install @forkprince/dumpyUsage
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
12 months ago