cvzi / darkmodewallpaper

🌓 A live wallpaper for Android that respects dark theme mode 🌇
https://f-droid.org/packages/com.github.cvzi.darkmodewallpaper/
GNU General Public License v3.0
154 stars 11 forks source link

Option to blur the wallpaper #64

Closed vada-pav closed 1 year ago

vada-pav commented 2 years ago

Could you please add the option to blur the wallpaper like Muzei? Some of the wallpapers I have are well suited if blurred.

cvzi commented 2 years ago

I can probably add that function, it doesn't seem to be complicated

For reference the Muzei class: https://github.com/muzei/muzei/blob/main/android-client-common/src/main/java/com/google/android/apps/muzei/util/ImageBlurrer.kt#L28

vada-pav commented 2 years ago

That would be a great addition, thanks for this. Also, if possible, add the blur option to both, day and night mode, options.

cvzi commented 2 years ago

The current version v1.3.1 has the option to blur the wallpaper. You can access it by tapping the preview image and then "contrast & brightness". There is a new slider to blur.

I think the preview that is shown is not very accurate with the blur effect because the size is scaled down, and that changes the blur. You really only see the effect on the whole wallpaper. I may have to add a better preview for it, maybe a small cutout of the wallpaper that is not scaled.

vada-pav commented 2 years ago

I checked this out. Thank you for the feature. However, the amount of blur at the maximum value isn't enough. Blur effect intensity should be more. Also, this feature is hidden under contrast and brightness. Maybe you can add another option just for blur.

cvzi commented 1 year ago

I have increased the maximum value of the blur.