Skip to content

A Jetpack Compose library based on BlurHash algorithm to add blur like effects for images in android that uses size reduction to load the blurred image faster.

License

Notifications You must be signed in to change notification settings

MortezaNedaei/Compose-BlurHash

Repository files navigation

Compose BlurHash

A library based on BlurHash algorithm to add blur like effects for images in android that uses size reduction to load the blurred image faster in jetpack compose.

Usage

repositories {
    mavenCentral()
}
implementation("io.github.mortezanedaei:blurhash-compose:1.0.0")

Releases

Releases

How it works

It encodes the given image into a generated BlurHash string using BlurHashEncoder and then decodes it using BlurHashDecoder to generate blurred bitmap of the image to show the image.

Example

AsyncBlurImage(imageUrl = IMAGE_URL)

About

A Jetpack Compose library based on BlurHash algorithm to add blur like effects for images in android that uses size reduction to load the blurred image faster.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages