Skip to content

Improve error messaging when attempting to rotate multi-page image #3940

@EjDadivas

Description

@EjDadivas

Possible bug

          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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions