From 6547fe3adf24f8a9a3a8386032d741d115cb647d Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 25 Jan 2021 19:16:11 +0100 Subject: [PATCH] Update MenuBuilder.java --- OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java index 41a7abbf27..aa41508f7d 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java @@ -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(); }