phiz_2.43.5.3
Sean 2024-04-12 15:19:04 +08:00
parent 46fb1aa9d0
commit 0a298f0fce
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class AppletHandlerModule extends BaseApi {
}.getType())); }.getType()));
if (bitmap != null) { if (bitmap != null) {
ByteArrayOutputStream baos = new ByteArrayOutputStream(); ByteArrayOutputStream baos = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos); bitmap.compress(Bitmap.CompressFormat.PNG, 100, baos);
byte[] data = baos.toByteArray(); byte[] data = baos.toByteArray();
params.put("bitmap", data); params.put("bitmap", data);
} }