From 0a298f0fceaada766a0b9185fce22d917e4f7cb9 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 12 Apr 2024 15:19:04 +0800 Subject: [PATCH] xj --- .../java/com/finogeeks/mop/api/mop/AppletHandlerModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java index 331d2b2..edae73e 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/AppletHandlerModule.java @@ -158,7 +158,7 @@ public class AppletHandlerModule extends BaseApi { }.getType())); if (bitmap != null) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); - bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos); + bitmap.compress(Bitmap.CompressFormat.PNG, 100, baos); byte[] data = baos.toByteArray(); params.put("bitmap", data); }