• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / metoffice-uk-weather-overlays / 23667653341

27 Mar 2026 09:10PM UTC coverage: 9.592% (+0.3%) from 9.252%
23667653341

push

github

web-flow
feat: replace PNG with WebP for image output (#63)

* feat: replace PNG with WebP for image output

This change transitions the image storage format from PNG to WebP to
leverage better compression. It also generalizes the internal image
processing logic by renaming the package structure.

- Rename `internal/png` to `internal/imageprocessing`.
- Add `github.com/chai2010/webp` dependency for encoding.
- Update `api_server.go` regex and redirects to support `.webp`.
- Refactor `PipelineStage` and processing stages to use the new
  package structure.
- Remove redundant `Bounds` field from the `PngImage` struct,
  calculating it dynamically from the `image.Image` instead.

* refactor: rename PngImage to ProcessedImage

Rename the `PngImage` struct to `ProcessedImage` to better reflect its
role as a generic container within the processing pipeline.

- Update `PipelineStage` interface and all stage implementations.
- Decouple naming from specific image formats.
- Remove `temp.go` development scratchpad.

0 of 37 new or added lines in 7 files covered. (0.0%)

47 of 490 relevant lines covered (9.59%)

0.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cmd/api_server.go


Build SHA Not Found

The commit SHA "9997b6889100f5474d26969ff1c982f8210654b4" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc