wip
This commit is contained in:
parent
b74036ef8d
commit
1d77bb3b22
1 changed files with 2 additions and 2 deletions
|
@ -495,7 +495,7 @@ function decimate(input, palette, n, inputError) {
|
||||||
//decimated = [0, 0x36, 0x0f, 0x86];
|
//decimated = [0, 0x36, 0x0f, 0x86];
|
||||||
|
|
||||||
let reserved = [0]; // black
|
let reserved = [0]; // black
|
||||||
//reserved = [0, 15]; // black, white
|
reserved = [0, 15]; // black, white
|
||||||
//reserved = [0, 5, 10, 15]; // grayscale
|
//reserved = [0, 5, 10, 15]; // grayscale
|
||||||
//reserved = [0, 0x48, 0x78, 15]; // vaporwave
|
//reserved = [0, 0x48, 0x78, 15]; // vaporwave
|
||||||
//reserved = [0, 0x3c, 0x78, 15]; // red/blue/white
|
//reserved = [0, 0x3c, 0x78, 15]; // red/blue/white
|
||||||
|
@ -545,7 +545,7 @@ function decimate(input, palette, n, inputError) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
decimated.sort((a, b) => a - b);
|
decimated = decimated.sort((a, b) => a - b);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue