Skip to content

Commit

Permalink
Fixed big image cutting bug, closed #144 , closed #148
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleydu committed Dec 4, 2020
1 parent 1795435 commit 792e997
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public CloseableReference<Bitmap> 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);
Expand Down

0 comments on commit 792e997

Please sign in to comment.