improve bitmap quality
This commit is contained in:
1 parent
8d2df9b8a9
commit
1fd0a60fe1
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user