Ensure animated GIF to WebP conversion retains loop #3394

This commit is contained in:
Lovell Fuller
2025-04-23 15:43:58 +01:00
parent 38b6f44611
commit 701143afb3
5 changed files with 26 additions and 13 deletions

View File

@@ -298,7 +298,7 @@ const Sharp = function (input, options) {
withExif: {},
withExifMerge: true,
resolveWithObject: false,
loop: 1,
loop: -1,
delay: [],
// output format
jpegQuality: 80,