Open Meteor0id opened 2 years ago
strip the previous extension on output filename await toGifFromFile(filePath, `${filePath.replace(/\.[^/.]+$/, "")}.gif`, options);
await toGifFromFile(filePath, `${filePath.replace(/\.[^/.]+$/, "")}.gif`, options);
make a pull request please:)
strip the previous extension on output filename
await toGifFromFile(filePath, `${filePath.replace(/\.[^/.]+$/, "")}.gif`, options);