mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Increase white ignore threshold
This commit is contained in:
@@ -16,7 +16,7 @@ export const useFastAverageColor = (
|
|||||||
.getColorAsync(src, {
|
.getColorAsync(src, {
|
||||||
algorithm: aglorithm || 'dominant',
|
algorithm: aglorithm || 'dominant',
|
||||||
ignoredColor: [
|
ignoredColor: [
|
||||||
[255, 255, 255, 255, 45], // White
|
[255, 255, 255, 255, 55], // White
|
||||||
[0, 0, 0, 255, 20], // Black
|
[0, 0, 0, 255, 20], // Black
|
||||||
[0, 0, 0, 0, 20], // Transparent
|
[0, 0, 0, 0, 20], // Transparent
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user