Update MenuBuilder.java
This commit is contained in:
parent
522631c135
commit
6547fe3adf
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ public class MenuBuilder {
|
|||
BufferedInputStream bufferedInputStream = new BufferedInputStream(image);
|
||||
Bitmap bmp = BitmapFactory.decodeStream(bufferedInputStream);
|
||||
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
||||
bmp.compress(Bitmap.CompressFormat.PNG, 70, os);
|
||||
bmp.compress(Bitmap.CompressFormat.JPEG, 90, os);
|
||||
return os.toByteArray();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue