Commit Graph

17377 Commits

Author SHA1 Message Date
Hugo van Kemenade
e08e1f8340
Merge pull request #7804 from twolife/fix_flc 2024-02-22 11:05:15 +02:00
Andrew Murray
383ac4fca0 Fixed reading PNG iCCP compression method 2024-02-22 19:50:36 +11:00
Sébastien Noel
e45477e507 fix FLI/FLC decoder for files with a prefix chunk 2024-02-22 09:13:48 +01:00
Andrew Murray
b8722f3431
Merge pull request #7819 from nulano/docs-all
Build docs for Python changes
2024-02-22 11:50:57 +11:00
mergify[bot]
c0e2117ff3
Merge pull request #7822 from radarhere/type_hints
Added py.typed to support type checking
2024-02-21 12:38:33 +00:00
Andrew Murray
9115529856 Added "Typing :: Typed" classifier 2024-02-21 21:42:04 +11:00
Andrew Murray
097cf182fc Added py.typed to support type checking 2024-02-21 21:26:37 +11:00
Andrew Murray
c322a2f633 Use maximum frame size in IHDR chunk when saving 2024-02-21 19:39:29 +11:00
Andrew Murray
b9d3c21bf6
Merge pull request #7816 from radarhere/type_hints
Added type hints to additional tests
2024-02-21 09:24:53 +11:00
Andrew Murray
7200f47d31 Renamed argument 2024-02-21 08:11:01 +11:00
Hugo van Kemenade
481ed446e2 Set "COVERAGE_CORE: sysmon" for faster tests on 3.12+ 2024-02-20 22:40:00 +02:00
Nulano
10712be53d Build docs for Python changes 2024-02-20 21:21:10 +01:00
Andrew Murray
83433d89a1
Merge pull request #23 from nulano/imagefont
Show how to use anchors to align text in ImageFont deprecations
2024-02-20 21:55:07 +11:00
Andrew Murray
56a02b76eb
Corrected image path
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2024-02-20 21:37:40 +11:00
Andrew Murray
64579510c0 Updated alt text 2024-02-20 21:37:06 +11:00
Andrew Murray
a655d7606e Simplified type hints 2024-02-20 21:27:30 +11:00
Andrew Murray
e39765d755 Added type hints 2024-02-20 15:41:20 +11:00
Andrew Murray
380bc1766b
Merge pull request #7813 from hugovk/requirements-mypy
Install mypy from requirements file
2024-02-20 08:17:37 +11:00
Hugo van Kemenade
531b1e1b9a Remove outdated installation warnings 2024-02-19 22:50:06 +02:00
Nulano
7490aee836 Show how to use anchors to align text in imagefont deprecations 2024-02-19 20:18:18 +01:00
Hugo van Kemenade
fe1edb1e0f Install mypy from requirements file
So Renovate can update it on a schedule
2024-02-19 16:48:44 +02:00
Andrew Murray
0692ad8cdd Updated giflib on macOS to 5.2.2 2024-02-19 23:29:58 +11:00
Andrew Murray
55d0289a7d Added image to illustrate size vs bbox 2024-02-19 17:08:21 +11:00
Hugo van Kemenade
e1c5d57d50
Merge pull request #7810 from radarhere/tidelift 2024-02-18 23:48:06 +02:00
Andrew Murray
b6fdf2e9e7 Updated package name for Tidelift 2024-02-19 07:54:58 +11:00
Hugo van Kemenade
9a8248a751
Merge pull request #7808 from radarhere/type_hints
Removed mypy excludes
2024-02-18 21:44:03 +02:00
Hugo van Kemenade
ebc57945e3
Merge pull request #7744 from radarhere/unused 2024-02-17 11:38:14 +02:00
Andrew Murray
96fc60d5d2 Removed mypy excludes 2024-02-17 20:21:25 +11:00
Andrew Murray
4ea1ad03c3
Merge branch 'main' into unused 2024-02-17 18:23:04 +11:00
Hugo van Kemenade
c194d6e9c8
Merge pull request #7807 from radarhere/type_hints
Added type hints to additional tests
2024-02-17 09:18:42 +02:00
Hugo van Kemenade
80d4fc14b8
Merge pull request #7786 from radarhere/type_hints_imageops
Added type hints to ImageOps
2024-02-17 09:16:27 +02:00
Hugo van Kemenade
e5415f37d6
Merge pull request #7805 from radarhere/windows
Pin Python 3.13 on Windows to a3
2024-02-17 09:06:07 +02:00
Andrew Murray
5ff7d926fd Added type hints 2024-02-17 15:00:38 +11:00
Andrew Murray
1a108281b9 Removed unused code 2024-02-17 14:04:00 +11:00
Andrew Murray
617b9cbc00 Describe difference between size and bbox 2024-02-17 11:50:48 +11:00
Andrew Murray
d3b974b786 Use font in ImageDraw examples 2024-02-17 11:19:32 +11:00
Andrew Murray
5c858d75e4 Added type hints 2024-02-17 10:45:52 +11:00
Andrew Murray
26e0f6df56 Pin Python 3.13 on Windows to a3 2024-02-17 10:18:54 +11:00
Andrew Murray
3199c0ea40 Decoder and encoders subclass PyDecoder and PyEncoder 2024-02-15 20:24:08 +11:00
Andrew Murray
912a33f5e9
Merge pull request #7795 from radarhere/type_hints
Use IO[bytes] in type hints
2024-02-15 20:23:43 +11:00
Andrew Murray
21e5d5d082 Use palette when loading 2024-02-14 09:17:22 +11:00
Andrew Murray
818500b329 Raise an error if map depth is unknown 2024-02-14 07:10:44 +11:00
Andrew Murray
63987b7aba Set mode to L if palette is missing 2024-02-14 06:55:13 +11:00
Andrew Murray
47eaf0937f Use IO[bytes] in type hints 2024-02-13 22:26:23 +11:00
Andrew Murray
50e9a92c98
Merge pull request #7794 from radarhere/type_hints
Added type hints to additional tests
2024-02-13 22:22:24 +11:00
Andrew Murray
8acacffb70
Merge branch 'main' into webp-get-next-without-gil 2024-02-13 21:33:15 +11:00
Andrew Murray
3374e91d5e
Merge pull request #7750 from hugovk/type-hints-replace-io.BytesIO
Replace `io.BytesIO` in type hints
2024-02-13 21:29:52 +11:00
Andrew Murray
4ce06aac3b Added type hints 2024-02-12 23:01:44 +11:00
Andrew Murray
cdecb3da91
Merge pull request #7793 from radarhere/type_hints_test_image
Added remaining type hints to Tests/test_image_*.py
2024-02-12 23:01:19 +11:00
Andrew Murray
ea0240bf2d
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-12 19:12:08 +11:00