From ef4094885e46a62e3d3f44431f73e8cbbf1f5ba0 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Mon, 6 Aug 2018 12:42:23 +0100 Subject: [PATCH] Easter egg (#123) * lol zx quant * Adding ZX option * Improving colour selection so we don't end up with the same colour twice. Also fixing a bug with the colour conflict resolution. * Putting it behind a konami code * Better comments * Adding comment * Removing unnecessary malloc. --- codecs/imagequant/example.html | 10 +- codecs/imagequant/imagequant.c | 165 ++++++++++++++++++++++ codecs/imagequant/imagequant.js | 2 +- codecs/imagequant/imagequant.wasm | Bin 58721 -> 62147 bytes codecs/imagequant/package-lock.json | 2 +- src/codecs/imagequant/Quantizer.worker.ts | 8 +- src/codecs/imagequant/options.tsx | 36 ++++- src/codecs/imagequant/quantizer.ts | 2 + src/lib/util.ts | 22 +++ 9 files changed, 238 insertions(+), 9 deletions(-) diff --git a/codecs/imagequant/example.html b/codecs/imagequant/example.html index e9b622a84..a1e27885c 100644 --- a/codecs/imagequant/example.html +++ b/codecs/imagequant/example.html @@ -1,4 +1,9 @@ +