mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 11:50:19 -06:00
#99 - median cut only
This commit is contained in:
parent
fec19e4660
commit
4b00fde5ac
1 changed files with 2 additions and 4 deletions
|
@ -638,10 +638,8 @@ public class HQSixelEncoder implements SixelEncoder {
|
|||
*
|
||||
* - Otherwise use octree.
|
||||
*/
|
||||
if (colorMap.size() <= numColors) {
|
||||
// TODO: The numColors <= 256 above should not be there. But
|
||||
// apparently my median cut is buggy and only works with 256+
|
||||
// colors. Honestly, is my median cut even doing anything?!
|
||||
if (false && (colorMap.size() <= numColors)) {
|
||||
// DEBUG: For now all we have is median cut.
|
||||
quantizationType = 0;
|
||||
directMap();
|
||||
} else if (true || (colorMap.size() <= numColors * 10)) {
|
||||
|
|
Loading…
Reference in a new issue