Improve quality

This commit is contained in:
vshcherb 2013-10-18 01:17:23 +02:00
parent d539e31c20
commit 0b86665092

View file

@ -595,9 +595,11 @@ public class MapRenderRepositories {
log.warn(String.format("Create new image ? %d != %d (w) %d != %d (h) ", currentRenderingContext.width, reuse.getWidth(), currentRenderingContext.height, reuse.getHeight()));
}
if(transparent) {
// necessary
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888);
} else {
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.RGB_565);
// better picture ?
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888);
}
}
this.bmp = bmp;