Updated blur strength factor

This commit is contained in:
Anthonyy232 committed 2024-08-28 13:54:01 -07:00
1 parent 7b75db3437
commit 9563bf2057
1 file changed
+1 -1
@@ -202,7 +202,7 @@ fun darkenBitmap(source: Bitmap, percent: Int): Bitmap {
*/
fun blurBitmap(source: Bitmap, percent: Int): Bitmap {
return try {
val factor = percent.toFloat().div(100f) * 10
val factor = percent.toFloat().div(100f) * 20f
Toolkit.blur(source, factor.toInt())
} catch (e: Exception) {
Log.e("WallpaperUtil", "Error darkening bitmap: $e")