enhance: Set bilinear filter to true as recommended

This commit is contained in:
Ahmad Ansori Palembani 2024-05-23 16:11:35 +07:00
parent 020dfba5c3
commit f47fab793f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -70,7 +70,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
targetWidth = (targetHeight / bitmap.height) * bitmap.width
}
val scaledBitmap = Bitmap.createScaledBitmap(bitmap, targetWidth.toInt(), targetHeight.toInt(), false)
val scaledBitmap = Bitmap.createScaledBitmap(bitmap, targetWidth.toInt(), targetHeight.toInt(), true)
bitmap.recycle()
bitmap = scaledBitmap
}