Skip to content

high dpi versions for PNG? #177

@ewjoachim

Description

@ewjoachim

📋 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)

Image

But when users receive an email notification for those comments, on gmail, they look like this:

Image

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:

Image

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions