Commit Graph

4559 Commits

Author SHA1 Message Date
Hugo van Kemenade
3cdd49f31f
Merge pull request #7801 from radarhere/codecs 2024-03-11 17:38:12 +02:00
Hugo van Kemenade
d8c8075061
Merge pull request #7797 from radarhere/tga_palette 2024-03-11 17:37:20 +02:00
Hugo van Kemenade
f543b034bd
Merge pull request #7798 from radarhere/ico 2024-03-11 17:36:31 +02:00
Hugo van Kemenade
e09366307c
Merge pull request #7748 from radarhere/test_font_leaks 2024-03-11 17:35:26 +02:00
Andrew Murray
91eb69c6b2 Fixed typo 2024-03-04 06:37:56 +11:00
Andrew Murray
b7f39076a1
Merge pull request #7846 from radarhere/type_hints
Added type hints to additional tests
2024-03-03 21:33:08 +11:00
Andrew Murray
d6a3f89e27 Open 16-bit grayscale PNGs as I;16 2024-03-02 15:39:43 +11:00
Andrew Murray
6d78d42769 Added type hints 2024-03-02 13:12:17 +11:00
Yay295
c4234800a0
parametrize test_seek_mode functions 2024-03-01 08:47:50 -06:00
Andrew Murray
a20abff5e4
Merge pull request #7709 from lajiyuan/main
Handle truncated chunks at the end of PNG images
2024-03-01 22:25:28 +11:00
Hugo van Kemenade
1b25019a27
Merge pull request #7779 from radarhere/gif
Match mask size to pasted image size in GifImagePlugin
2024-03-01 12:14:05 +02:00
Yay295
e6785576b1
add typing to test_p_from_rgb_rgba()
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-26 08:47:30 -06:00
Yay295
fe85947f16
use single string for parameter names instead of tuple of strings
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-02-26 07:47:13 -06:00
Yay295
ece34104cb parametrize test_p_from_rgb_rgba() 2024-02-26 01:02:25 -06:00
Hugo van Kemenade
e08e1f8340
Merge pull request #7804 from twolife/fix_flc 2024-02-22 11:05:15 +02: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
7200f47d31 Renamed argument 2024-02-21 08:11:01 +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
4ea1ad03c3
Merge branch 'main' into unused 2024-02-17 18:23:04 +11: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
3199c0ea40 Decoder and encoders subclass PyDecoder and PyEncoder 2024-02-15 20:24:08 +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
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
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
ea0240bf2d
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-12 19:12:08 +11:00
Andrew Murray
3f6422b512 Added type hints 2024-02-12 09:28:53 +11:00
Andrew Murray
29dd02509d Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-11 22:02:55 +11:00
Andrew Murray
463c368211
Simplified code
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-07 21:02:34 +11:00
Andrew Murray
159fc068ca Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-07 20:50:36 +11:00
Andrew Murray
cdc498e6f3 Added type hints 2024-02-07 19:16:28 +11:00
Andrew Murray
91645f9eff Lint fix 2024-02-07 10:19:00 +11:00
Hugo van Kemenade
811dd15ca5
Merge pull request #7769 from radarhere/type_hints 2024-02-06 23:12:26 +02:00
Andrew Murray
65cb0b0487 Added _typing.Coords 2024-02-06 07:49:43 +11:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
Andrew Murray
5a8e7dda79 Added type hints 2024-02-05 20:36:34 +11:00
Andrew Murray
95255536cf Merge branch 'main' into type_hints 2024-02-05 19:29:27 +11:00
Andrew Murray
dfb48ff297 Match mask size to pasted image size 2024-02-05 19:16:15 +11:00
Andrew Murray
d8f52f58be
Merge branch 'main' into main 2024-02-05 08:56:25 +11:00
Andrew Murray
2515938cdd Simplified type hints 2024-02-02 19:04:22 +11:00
Andrew Murray
58554de0c8
Merge branch 'main' into main 2024-02-01 00:06:05 +11:00
FangFuxin
b8769d1cf5
Update Tests/test_file_png.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-31 21:02:50 +08:00
Andrew Murray
530512f699
Merge branch 'main' into type-hints-replace-io.BytesIO 2024-01-31 22:58:53 +11:00
Andrew Murray
bb1fece57a Added type hints 2024-01-31 21:55:32 +11:00
Hugo van Kemenade
4a4b90c365
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Andrew Murray
5efa2ade22 Added test 2024-01-31 19:10:33 +11:00