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

Support image optimization #40

Open
ascorbic opened this issue Jul 15, 2021 · 1 comment
Open

Support image optimization #40

ascorbic opened this issue Jul 15, 2021 · 1 comment

Comments

@ascorbic
Copy link
Contributor

sharp supports several features that can optimize the filesize of output images. These can give significant improvements, but can be very expensive operations so should not be the default. The options are palette for png, and a number of options for jpeg that are enabled with the mozjpeg option.

@pi0
Copy link
Member

pi0 commented Jul 15, 2021

Hi @ascorbic. Thanks for the suggestion. Sure we currently use quality and progressive. Do you mind making a PR for further optimizations?

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

No branches or pull requests

2 participants