improve bitmap quality
This commit is contained in:
parent
8d2df9b8a9
commit
1fd0a60fe1
@ -322,7 +322,7 @@ public final class CoverBitmap {
|
||||
float scale = Math.min((float)width / sourceWidth, (float)height / sourceHeight);
|
||||
sourceWidth *= scale;
|
||||
sourceHeight *= scale;
|
||||
return Bitmap.createScaledBitmap(source, sourceWidth, sourceHeight, false);
|
||||
return Bitmap.createScaledBitmap(source, sourceWidth, sourceHeight, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user