oxipng/tests
Ingvar Stepanyan 121558bf5c
Add libdeflater as an option (#203)
libdeflater is a Rust wrapper around
[libdeflate](https://github.com/ebiggers/libdeflate) - an alternative
heavily optimised library for deflate/zlib/gzip compression and
decompression that is intended for situations where upper bounds of the
output are well-known.

In my benchmarks on test files in the repo it has shown to be usually
both slightly faster and providing better compressed output than
cloudflare-zlib, but in some cases showing the opposite, so rather
than swapping defaults, it's currently provided as another option,
similarly to zopfli.

Since it's not strictly better in all cases, I'm not providing median
numbers, but you can check distribution histograms for time and size
differences here (all using `oxipng -o 6 -t 6 -P`):
https://docs.google.com/spreadsheets/d/1WOKgeYZBhLkQvMGAC36snN4azilElzOFhx63RJu0EZY/edit?usp=sharing
2020-03-31 20:24:57 -04:00
..
files Fix decoding interlaced images with height or width <= 2 (#175) 2019-06-27 13:44:34 -04:00
filters.rs Prepare for next release 2019-02-01 17:27:03 -05:00
flags.rs Add libdeflater as an option (#203) 2020-03-31 20:24:57 -04:00
interlaced.rs Make reductions return a new uncompressed image (#158) 2019-01-27 03:22:49 -05:00
lib.rs Prepare for next release 2019-02-01 17:27:03 -05:00
reduction.rs Prepare for next release 2019-02-01 17:27:03 -05:00
regression.rs Interlacing fixes (#182) 2019-07-24 09:16:13 -04:00