Skip to content

Squash logo images #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
takluyver opened this issue Dec 17, 2018 · 1 comment
Closed

Squash logo images #165

takluyver opened this issue Dec 17, 2018 · 1 comment

Comments

@takluyver
Copy link
Member

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.

@takluyver
Copy link
Member Author

Done in #201, #202 and #203.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant