skydoves / Cloudy

☁️ Jetpack Compose blur effect library, which falls back onto a CPU-based implementation to support older API levels.
Apache License 2.0
789 stars 28 forks source link

When used for LazyList items app got crashed with - Failed to copy pixels of the given bitmap! #3

Closed KothamireNarendra closed 1 year ago

KothamireNarendra commented 1 year ago

When used for LazyList items app got crashed with - Failed to copy pixels of the given bitmap! Inside sample app you blurred the whole grid instead what I want is to blur individual list item (Basically Image loaded with Coil), How can we do that can you share the sample

orlandev commented 1 year ago

You can use this BlurHash and this component to perform that using coil.

KothamireNarendra commented 1 year ago

@orlandev Wow thanks for help looking awesome

skydoves commented 1 year ago

Hi @KothamireNarendra, check out the Blur Effects Depending on States and you can see the sample codes on this project.

You can consider using the Landscapist-Transformation plugin to use the blur effect for your remote images.

skydoves commented 1 year ago

I am closing this issue for now.