Ingvar Stepanyan
39e5741cb2
Fix few more issues detected in MozJPEG wrapper
2020-07-28 16:35:00 +01:00
Ingvar Stepanyan
93cbe557cd
Simplify memory management for other C++ codecs
2020-07-28 16:35:00 +01:00
Ingvar Stepanyan
a95cb740bf
Format C / C++ with Chromium style
2020-05-13 19:39:27 +01:00
Ingvar Stepanyan
1542bfb7fd
Tweak up compile flags
...
- Remove unnecessary `-x c++`.
- Improve rebuild speed by caching:
- Remove `-f` from `autoreconf` to reuse generated configure scripts.
- Remove `--rm` from `docker run` to avoid rebuilding Emscripten stdlib.
- Add `-C` to `./configure` to reuse stored information about `emcc`.
- Remove `rm -rf build` from WebP encoder/decoder.
2020-05-13 19:39:27 +01:00
Jake Archibald
f396a5b784
MozJPEG chroma subsampling and quality ( #235 )
...
* Adding chroma subsampling for mozjpeg
* Adding separate chroma quality.
* Preact sometimes removes the inline styles, this fixes it.
* Simplifying chroma subsample
* Adding comments
2018-11-06 13:46:52 +00:00
Surma
f335246673
Use mozjpeg function to free result ( #207 )
2018-10-14 14:10:21 +01:00
Jake Archibald
8006a1a5e7
Memory view rather than pointers ( #144 ). Part of #141 .
...
* Returning an object seems to work well
* This doesn't work
* This does!
* Better cast?
* Updating usage in Squoosh
2018-08-21 09:27:04 +01:00
Jake Archibald
1ae65dd4a1
Mozjpeg opts ( #140 )
...
* Switching to embind
* Adding options to mozjpeg wasm
* Updating packages
* Ditching enum - causing more problems than it's worth
* Adding mozjpeg options UI
* Forgot about this enum
* Bools just work
2018-08-17 16:25:28 +01:00