Skip to content

Use webp to minify logo images #3358

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

Merged
merged 2 commits into from
Mar 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed docs/reST/_static/pygame_ce_lofi.png
Binary file not shown.
Binary file added docs/reST/_static/pygame_ce_lofi.webp
Binary file not shown.
Binary file removed docs/reST/_static/pygame_ce_logo.png
Binary file not shown.
Binary file added docs/reST/_static/pygame_ce_logo.webp
Binary file not shown.
Binary file removed docs/reST/_static/pygame_ce_powered.png
Binary file not shown.
Binary file added docs/reST/_static/pygame_ce_powered.webp
Binary file not shown.
Binary file removed docs/reST/_static/pygame_ce_powered_lowres.png
Binary file not shown.
Binary file added docs/reST/_static/pygame_ce_powered_lowres.webp
Binary file not shown.
Binary file removed docs/reST/_static/pygame_ce_tiny.png
Binary file not shown.
Binary file added docs/reST/_static/pygame_ce_tiny.webp
Binary file not shown.
Binary file modified docs/reST/_static/upstream_logos.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/reST/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = '_static/pygame_ce_tiny.png'
html_logo = '_static/pygame_ce_tiny.webp'

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down
22 changes: 11 additions & 11 deletions docs/reST/logos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ The pygame-ce logo and its variants were created by Mega-JC and kadir014 on June

.. container:: fullwidth

.. image:: _static/pygame_ce_logo.png
.. image:: _static/pygame_ce_logo.webp

| `pygame_ce_logo.svg <_static/pygame_ce_logo.svg>`_
| `pygame_ce_logo.png <_static/pygame_ce_logo.png>`_ - 1560 x 800
| `pygame_ce_logo.webp <_static/pygame_ce_logo.webp>`_ - 1560 x 800

.. image:: _static/pygame_ce_lofi.png
.. image:: _static/pygame_ce_lofi.webp

| `pygame_ce_lofi.svg <_static/pygame_ce_lofi.svg>`_
| `pygame_ce_lofi.png <_static/pygame_ce_lofi.png>`_ - 1560 x 800
| `pygame_ce_lofi.webp <_static/pygame_ce_lofi.webp>`_ - 1560 x 800

.. image:: _static/pygame_ce_powered.png
.. image:: _static/pygame_ce_powered.webp

| `pygame_ce_powered.svg <_static/pygame_ce_powered.svg>`_
| `pygame_ce_powered.png <_static/pygame_ce_powered.png>`_ - 1560 x 824
| `pygame_ce_powered.webp <_static/pygame_ce_powered.webp>`_ - 1560 x 824

.. image:: _static/pygame_ce_tiny.png
.. image:: _static/pygame_ce_tiny.webp

| `pygame_ce_tiny.png <_static/pygame_ce_tiny.png>`_ - 214 x 110
| `pygame_ce_tiny.webp <_static/pygame_ce_tiny.webp>`_ - 214 x 110

.. image:: _static/pygame_ce_powered_lowres.png
.. image:: _static/pygame_ce_powered_lowres.webp

| `pygame_ce_powered_lowres.png <_static/pygame_ce_powered_lowres.png>`_ - 101 x 53
| `pygame_ce_powered_lowres.webp <_static/pygame_ce_powered_lowres.webp>`_ - 101 x 53



Expand All @@ -48,7 +48,7 @@ August 29, 2021.

.. container:: fullwidth

| `upstream_logos.zip <_static/upstream_logos.zip>`_ - 699 KB
| `upstream_logos.zip <_static/upstream_logos.zip>`_ - 314 KB

There is a higher resolution layered photoshop image
available `here <https://www.pygame.org/ftp/pygame_ce_logo.psd>`_. *(1.3 MB)*
Expand Down