Major changes
- Use
github.com/davidbyttow/govips
for encoding WebP and AVIF images makes it about 5x faster than previous versions by @BennyThink and @n0vad3v - Quality set to 100 will use Lossless encode mode by @n0vad3v
invalid checksum
problem described in #137 has been solved- No need to install
libaom-dev
anymore , now we needlibvips-dev
Benchmark
Our internal tests shows nearly 5x faster than previous versions using prefetch.
github.com/davidbyttow/govips
Prefetching... 100% |███████████████████████████████████████████████████████| (219/219, 9 it/s)
Prefetch completeY(^_^)Y in 23.350871663s
github.com/chai2010/webp
Prefetching... 100% |█████████████████████████████████████████████████████| (219/219, 2 it/s)
Prefetch completeY(^_^)Y in 1m49.868976512s
Minor changes
- Bump golang.org/x/image from 0.6.0 to 0.7.0 by @dependabot in #187
- Bump github.com/valyala/fasthttp from 1.45.0 to 1.46.0 by @dependabot in #188
- Bump github.com/valyala/fasthttp from 1.46.0 to 1.47.0 by @dependabot in #189
Full Changelog: 0.5.1...0.6.0