Skip to content
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

Added support for configuring 'failOnError' for Sharp engine #5

Merged
merged 1 commit into from
Sep 21, 2021
Merged

Added support for configuring 'failOnError' for Sharp engine #5

merged 1 commit into from
Sep 21, 2021

Conversation

paras20xx
Copy link
Contributor

For allowing/blocking some corrupt images, one may want to configure failOnError option of the Sharp library.

eg: Some Samsung devices may generate partially invalid JPEG files. Reference: lovell/sharp#1578

The change in this PR, along with appropriate changes in express-processimage library would allow handling of such images.

@papandreou papandreou merged commit b1932c0 into papandreou:master Sep 21, 2021
@papandreou
Copy link
Owner

Thanks! Released in 0.11.0

@paras20xx
Copy link
Contributor Author

Thank you 😁

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 93.451% when pulling f67e55b on paras20xx:master into ec467a0 on papandreou:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants