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

Enhancement: Blurhash Support #429

Closed
tanwarjigyasu opened this issue Nov 30, 2023 · 0 comments · Fixed by #435
Closed

Enhancement: Blurhash Support #429

tanwarjigyasu opened this issue Nov 30, 2023 · 0 comments · Fixed by #435
Labels
enhancement New feature

Comments

@tanwarjigyasu
Copy link
Contributor

tanwarjigyasu commented Nov 30, 2023

Hey there consumet devs, I wanted to say that it would be pretty good if you guys could add blurhash support for images in consumet.

It generates a short string that could be used to display blur image until the actual image is loaded thus improves user experience unlike normal loaders or shimmer effects.

So it would be great if you guys could add an extra value named hash in the data returned. It could be done with the help of blurhash npm package. Just make a canvas to get image data and provide it to encode method of npm package.

I originally thought of doing it in my code but it is preferred to be done in backend as doing it client side again takes time for the image to load which makes the overall meaning of it useless.

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

Successfully merging a pull request may close this issue.

1 participant