webp-sh / webp_server_go

Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.
https://docs.webp.sh
GNU General Public License v3.0
1.79k stars 174 forks source link

feat: automatic load pages in animated images #231

Closed STRRL closed 1 year ago

STRRL commented 1 year ago

close https://github.com/webp-sh/webp_server_go/issues/229

references:

STRRL commented 1 year ago

Hi @n0vad3v PTAL :heart:

codecov[bot] commented 1 year ago

Codecov Report

Merging #231 (15418f9) into master (9efead2) will decrease coverage by 3.15%. The diff coverage is 78.05%.

@@            Coverage Diff             @@
##           master     #231      +/-   ##
==========================================
- Coverage   83.57%   80.43%   -3.15%     
==========================================
  Files           6        6              
  Lines         542      639      +97     
==========================================
+ Hits          453      514      +61     
- Misses         61       85      +24     
- Partials       28       40      +12     
Impacted Files Coverage Δ
encoder.go 67.56% <69.56%> (-9.58%) :arrow_down:
helper.go 82.35% <74.60%> (-6.42%) :arrow_down:
router.go 93.16% <95.00%> (+3.47%) :arrow_up:
config.go 100.00% <100.00%> (ø)
prefetch.go 100.00% <100.00%> (ø)
webp-server.go 79.20% <100.00%> (+2.03%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more