mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Expose keepDuplicateFrames GIF output parameter
This commit is contained in:
@@ -375,6 +375,8 @@ sharp(input)
|
||||
.gif({ reuse: false })
|
||||
.gif({ progressive: true })
|
||||
.gif({ progressive: false })
|
||||
.gif({ keepDuplicateFrames: true })
|
||||
.gif({ keepDuplicateFrames: false })
|
||||
.toBuffer({ resolveWithObject: true })
|
||||
.then(({ data, info }) => {
|
||||
console.log(data);
|
||||
|
||||
Reference in New Issue
Block a user