Skip to content

Latest commit

 

History

History
executable file
·
31 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

executable file
·
31 lines (20 loc) · 1.13 KB

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)