Commit Graph

4583 Commits

Author SHA1 Message Date
Andrew Murray
fd80b2e1d9 Moved sample data inside test 2024-03-21 18:46:09 +11:00
Andrew Murray
75a206bf58 Added conversion from RGB to RGBa and La 2024-03-20 08:57:06 -05:00
Yay295
d30404fede
use dummy var name for unused parts of unpacked tuple
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-20 08:55:05 -05:00
Yay295
680f387bc2 enable bgr modes for image bytes tests 2024-03-11 12:07:34 -05:00
Yay295
12d626a6bb add typing to image bytes tests 2024-03-11 12:00:13 -05:00
Yay295
79c9b2b261 autosize TestImageBytes.sample_bytes 2024-03-11 11:37:48 -05:00
Yay295
43f3c822a7 use tuple of tuples for image mode info 2024-03-11 11:37:48 -05:00
Yay295
a626ff0e60 add tests using the bytes Image class methods 2024-03-11 11:37:45 -05:00
Yay295
87ed513f91 support "RGBa" and "La" in hopper() test helper 2024-03-11 11:30:59 -05:00
Hugo van Kemenade
9ad22fc96a
Merge pull request #7753 from radarhere/eps 2024-03-11 17:51:29 +02:00
Hugo van Kemenade
94f319cd35
Merge pull request #7706 from radarhere/psd 2024-03-11 17:51:06 +02:00
Hugo van Kemenade
93bf9912e2
Merge pull request #7788 from radarhere/gif_disposal 2024-03-11 17:48:13 +02:00
Hugo van Kemenade
1b6e68eaae
Merge pull request #7823 from radarhere/png_iccp 2024-03-11 17:42:22 +02:00
Hugo van Kemenade
4e92ee0818
Merge pull request #7840 from radarhere/write_undefined 2024-03-11 17:41:13 +02:00
Hugo van Kemenade
89d8be5b94
Merge pull request #7821 from radarhere/apng 2024-03-11 17:38:48 +02:00
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
Andrew Murray
b80b30d2fd
Merge branch 'main' into png_iccp 2024-02-29 22:58:15 +11:00
Andrew Murray
904b8e549c Allow writing IFDRational to UNDEFINED tag 2024-02-28 21:07:15 +11: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
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
c322a2f633 Use maximum frame size in IHDR chunk when saving 2024-02-21 19:39:29 +11: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