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

Improving LQIP #20

Open
transitive-bullshit opened this issue Aug 23, 2020 · 2 comments
Open

Improving LQIP #20

transitive-bullshit opened this issue Aug 23, 2020 · 2 comments

Comments

@transitive-bullshit
Copy link

Hey 👋

Thanks for your amazing work on lqip.

I wanted to share lqip-modern, an improved version of LQIP that uses sharp.

The results are more consistent, smaller, and faster than the version currently contained in this library (detailed comparison), but I wouldn't have been able to get to this point without this lib.

Would you be interested in updating this library to use the approach in lqip-modern and/or merging our efforts?

@hi-hai
Copy link

hi-hai commented Aug 24, 2020

Thanks for the suggestion. You did a good job. However, as we need to be compatible w/ non-webp support browsers. The modern jpg file is less clear than the LQIP generated one. So prolly we will stay on the current one.

@transitive-bullshit
Copy link
Author

@Hailite appreciate the feedback 😄 Note that you can set the outputFormat to jpeg if you want.

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

No branches or pull requests

2 participants