From 792e997a2ea9b2e74c7411ce49e985a1e280b9e2 Mon Sep 17 00:00:00 2001 From: Haleydu <924323178@qq.com> Date: Fri, 4 Dec 2020 12:07:37 +0800 Subject: [PATCH] Fixed big image cutting bug, closed #144 , closed #148 --- .../com/hiroshi/cimoc/fresco/processor/MangaPostprocessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/hiroshi/cimoc/fresco/processor/MangaPostprocessor.java b/app/src/main/java/com/hiroshi/cimoc/fresco/processor/MangaPostprocessor.java index 26663615..b2001cca 100644 --- a/app/src/main/java/com/hiroshi/cimoc/fresco/processor/MangaPostprocessor.java +++ b/app/src/main/java/com/hiroshi/cimoc/fresco/processor/MangaPostprocessor.java @@ -64,6 +64,7 @@ public CloseableReference process(Bitmap sourceBitmap, PlatformBitmapFac try { if (isDone) { if (!jmttIsDone) { + reference = bitmapFactory.createBitmap(mWidth, mHeight, Bitmap.Config.RGB_565); processing(sourceBitmap, reference.get()); } return CloseableReference.cloneOrNull(reference);