high dpi versions for PNG?
- Dominant language
- Rust
- Stars
- 22
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
:clipboard: **Description**
Hey :) I'm the maintainer of https://github.com/py-cov-action/python-coverage-comment-action which provide comments that look like this (using shields)
But when users receive an email notification for those comments, on gmail, they look like this:
This is because GMail doesn't support SVG.
So I've tried using pngs, and the problem is that with a high dpi display (retina, ...), they look like this:

So I'm wondering if there could be a way to get bigger PNG images (e.g. 2x bigger) for which I could then use with `height=20` and get a pixel-perfect badge as png that would look awesome on Gmail notification too ?
Contributor guide
Research direction
The request concerns higher-DPI PNG output from this Rust raster badge proxy, but it names no source file, test, or entry point. Start by locating the PNG generation path and determine how larger images can preserve the requested rendered height; done means a pixel-perfect high-DPI PNG is available for Gmail notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100