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

Can I only display the blurred image always displayed? #1

Closed
ahmed-shehataa opened this issue Feb 4, 2022 · 2 comments
Closed

Can I only display the blurred image always displayed? #1

ahmed-shehataa opened this issue Feb 4, 2022 · 2 comments

Comments

@ahmed-shehataa
Copy link

I'm asking if I can use this library to keep the blurred image displayed because I need to achieve this scenario:

I need to display a blurred image in the background and in the front of it the real image.

@orlandev
Copy link
Owner

No, but you can use the blurhash library which allows you to extract the bitmap from a blurhash;

implementation 'com.github.orlandev:blurhashkt:1.0.1-alpha05'

val blurhash="LEHV6nWB2yk8pyoJadR*.7kCMdnj"
val bitmap = BlurhashDecoder.decode(blurhash, 4, 3)

@ahmed-shehataa
Copy link
Author

Thank you

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