sharp(await fileItem.toBuffer(), { animated: true })
.resize(imgMaxWidth)
.rotate(rotateVal)
.toFormat("gif")
.gif({
loop: 0,
force: true
})
.toFile(gifFileAssetPath, (err, info) => {
console.log('### err GIF:', err)
console.log('### info GIF:', info)
})
When I try to rotate the GIF it only shows the first frame.