Skip to content

fix: Animated GIF to WEBP using a Sharp stream is not animated anymore#2369

Merged
lovell merged 1 commit intolovell:masterfrom
AcrylicShrimp:fix-animated-options
Sep 15, 2020
Merged

fix: Animated GIF to WEBP using a Sharp stream is not animated anymore#2369
lovell merged 1 commit intolovell:masterfrom
AcrylicShrimp:fix-animated-options

Conversation

@AcrylicShrimp
Copy link
Copy Markdown
Contributor

Fixes #2362.

Copy link
Copy Markdown
Owner

@lovell lovell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this PR. There's one small comment about the tests that will need addressing but otherwise this is good to merge.

});
});

it('should work with streams when only animated is set', function (done) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all test environments will have *magick available - please can you wrap these two GIF output tests with:

if (sharp.format.magick.output.buffer) { ... }
fix: Skip the gif tests that requires magick if it's not possible.
@AcrylicShrimp
Copy link
Copy Markdown
Contributor Author

Thank you for feedback! I applied what you said, could you review it's ok for now?

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 15, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling f1521c5 on AcrylicShrimp:fix-animated-options into 76dcddf on lovell:master.

Copy link
Copy Markdown
Owner

@lovell lovell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@lovell lovell merged commit 08a2965 into lovell:master Sep 15, 2020
@lovell lovell added this to the v0.26.1 milestone Sep 15, 2020
lovell added a commit that referenced this pull request Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants