Skip to content

Commit 29fa677

Browse files
authored
Merge pull request #7963 from radarhere/example
2 parents e62f479 + 34b3cb5 commit 29fa677

20 files changed

+36
-36
lines changed

docs/deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Previously, the ``size`` methods returned a ``height`` that included the vertica
286286
offset of the text, while the new ``bbox`` methods distinguish this as a ``top``
287287
offset.
288288

289-
.. image:: ./example/size_vs_bbox.png
289+
.. image:: ./example/size_vs_bbox.webp
290290
:alt: In bbox methods, top measures the vertical distance above the text, while bottom measures that plus the vertical distance of the text itself. In size methods, height also measures the vertical distance above the text plus the vertical distance of the text itself.
291291
:align: center
292292

docs/example/anchors.png

-9.5 KB
Binary file not shown.

docs/example/anchors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ def test(anchor: str) -> Image.Image:
2626
d.line(((x * 200, y * 100), (x * 200, (y + 1) * 100)), "black", 3)
2727
if y != 0:
2828
d.line(((x * 200, y * 100), ((x + 1) * 200, y * 100)), "black", 3)
29-
im.save("docs/example/anchors.png")
29+
im.save("docs/example/anchors.webp")
3030
im.show()

docs/example/anchors.webp

6.2 KB
Loading

docs/example/image_thumbnail.png

-18.8 KB
Binary file not shown.

docs/example/image_thumbnail.webp

2.5 KB
Loading

docs/example/imageops_contain.png

-18.8 KB
Binary file not shown.

docs/example/imageops_contain.webp

2.5 KB
Loading

docs/example/imageops_cover.png

-37.9 KB
Binary file not shown.

docs/example/imageops_cover.webp

4.07 KB
Loading

0 commit comments

Comments
 (0)