New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support toFormat('jpg') #814
Conversation
Hello, thanks for this, please can you fix the linting errors. |
Please can you add a unit test for this. |
It seems there is no independent unit test for |
Thanks for the update, please add a test to test/unit/io.js for now (sorry that file is so big, it needs breaking up). |
test/unit/io.js
Outdated
@@ -253,6 +253,21 @@ describe('Input/output', function () { | |||
}); | |||
}); | |||
|
|||
it('Support output to jpg format', function (done) { | |||
sharp(fixtures.inputJpg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth selecting an input image in a format other than JPEG?
Thank you! |
No description provided.