Improve quality
This commit is contained in:
parent
d539e31c20
commit
0b86665092
1 changed files with 3 additions and 1 deletions
|
@ -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()));
|
log.warn(String.format("Create new image ? %d != %d (w) %d != %d (h) ", currentRenderingContext.width, reuse.getWidth(), currentRenderingContext.height, reuse.getHeight()));
|
||||||
}
|
}
|
||||||
if(transparent) {
|
if(transparent) {
|
||||||
|
// necessary
|
||||||
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888);
|
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888);
|
||||||
} else {
|
} 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;
|
this.bmp = bmp;
|
||||||
|
|
Loading…
Reference in a new issue