mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 13:54:25 +00:00
test: Remove bad test case, colorcount(1)
This commit is contained in:
@@ -41,7 +41,7 @@ const showColorsForImage = function(image, section) {
|
||||
|
||||
// getPalette(img)
|
||||
let paletteHTML = '';
|
||||
let colorCounts = [null, 1, 2, 3, 5, 7, 10, 20];
|
||||
let colorCounts = [2, 3, 5, 7, 10, 20];
|
||||
colorCounts.forEach((count) => {
|
||||
let start = Date.now();
|
||||
let result = colorThief.getPalette(image, count);
|
||||
|
||||
Reference in New Issue
Block a user