Lint: Optimize images to reduce file size by 1.5-2x for free (#2542)

* Lint: Optimize images to reduce file size by 25-50% for free

* Lint: Switch PEPs with SVGs over to using them and remove old PNGs
This commit is contained in:
CAM Gerlach 2022-04-23 08:03:16 -05:00 committed by GitHub
parent 9cbbc2d452
commit 28a5eb386a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -440,7 +440,7 @@ an API can replace version 1.
The possible paths of the status of PEPs are as follows:
.. image:: pep-0001-process_flow.png
.. image:: pep-0001/process_flow.svg
:class: invert-in-dark-mode
:alt: PEP process flow diagram

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -384,7 +384,7 @@ smaller after any transition that creates a fold. The values returned
by ``tzname()`` and ``dst()`` may or may not depend on the value of
the ``fold`` attribute depending on the kind of the transition.
.. image:: pep-0495-fold-2.png
.. image:: pep-0495-fold.svg
:align: center
:width: 60%
:class: invert-in-dark-mode
@ -410,7 +410,7 @@ local time that falls in a gap, the rules in effect before the
transition should be used if ``fold=0``. Otherwise, the rules in
effect after the transition should be used.
.. image:: pep-0495-gap.png
.. image:: pep-0495-gap.svg
:align: center
:width: 60%
:class: invert-in-dark-mode

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 47 KiB