diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt index 558e83f98cbe..9de3e9b1c2bc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/ImageUtil.kt @@ -302,7 +302,7 @@ object ImageUtil { ): ByteArrayInputStream { val height = imageBitmap.height val width = imageBitmap.width - val result = Bitmap.createBitmap(width / 2, height * 2, Bitmap.Config.ARGB_8888) + val result = Bitmap.createBitmap(width / 2, height, Bitmap.Config.ARGB_8888) val canvas = Canvas(result) progressCallback?.invoke(98) canvas.drawBitmap(imageBitmap, Rect(if (!secondHalf) 0 else width / 2, 0, if (secondHalf) width else width / 2, height), result.rect, null)