Merge "Reduce number of maximum clusters" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
358a76f7e4
@@ -189,7 +189,7 @@ public final class WallpaperColors implements Parcelable {
|
||||
} else {
|
||||
palette = Palette
|
||||
.from(bitmap, new CelebiQuantizer())
|
||||
.maximumColorCount(256)
|
||||
.maximumColorCount(5)
|
||||
.resizeBitmapArea(MAX_WALLPAPER_EXTRACTION_AREA)
|
||||
.generate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user