Files
squoosh/codecs
Jake Archibald ef4094885e 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.
2018-08-06 12:42:23 +01:00
..
2018-08-06 12:42:23 +01:00
2018-07-20 10:56:36 +01:00
2018-07-27 14:06:45 +01:00
2018-05-15 17:14:29 +01:00
2018-06-13 23:40:24 +01:00
2018-05-29 15:39:46 +02:00

Codecs

This folder contains a self-contained sub-project for each encoder and decoder that squoosh supplies.

Build

Each subproject can be built using Docker the following commands:

$ npm install
$ npm run build

This will build two files: <codec name>_<enc or dec>.js and <codec name>_<enc or dec>.wasm. It will most likely be necessary to set Module["locateFile"] to sucessfully load the .wasm file. When the .js file is loaded, a global <codec name>_<enc or dec> is created with the same API as an Emscripten Module.

Each codec will document its API in its README.