phiz_2.43.5.3
parent
46fb1aa9d0
commit
0a298f0fce
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue