Skip to content
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

Squash logo images #165

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

Squash logo images #165

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

Comments

@takluyver
Copy link
Member

@takluyver takluyver commented Dec 17, 2018

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

@takluyver takluyver commented Apr 26, 2019

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.