Skip to content

Squash logo images #165

@takluyver

Description

@takluyver

Some projects have pretty large logo images (e.g. yt, xarray, psi4 & fecon235 are over 100 KB each). We display quite a lot of logos on the page, so the total data to transfer can add up.

It would be good to find the maximum dimensions logos are shown at, double it for high-dpi displays, and scale larger logos down to that size. I imagine this is easily scriptable if you're used to Pillow or ImageMagick.

This could even be set up as a Github bot to run automatically when new logos are added (@Carreau ?), but a script in the repository to run manually would work as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions