Commit Graph

4589 Commits

Author SHA1 Message Date
Hugo van Kemenade
20d8095439 Fix: PYI041 Use float instead of int | float 2024-03-23 20:52:50 +02:00
Hugo van Kemenade
6ed952b510 Fix: PYI024 Use typing.NamedTuple instead of collections.namedtuple 2024-03-23 20:52:50 +02:00
mergify[bot]
759630fbaf
Merge pull request #7891 from radarhere/kmeans
Raise ValueError if kmeans is negative
2024-03-22 22:02:42 +00:00
Andrew Murray
47040c7b35 Test positive and zero kmeans 2024-03-22 23:53:07 +11:00
Andrew Murray
3004c46683 Block saving TIFF tag OSUBFILETYPE using libtiff 2024-03-22 23:43:55 +11:00
Andrew Murray
171e497e05 Raise ValueError if kmeans is negative 2024-03-22 17:36:04 +11:00
Hugo van Kemenade
ca973709a0
Merge pull request #7882 from radarhere/ppm 2024-03-21 18:24:54 +02:00
Hugo van Kemenade
9d3c8d54b4
Merge pull request #7870 from radarhere/j2k_pclr 2024-03-21 18:24:45 +02:00
Hugo van Kemenade
3bbc865afc
Merge pull request #7872 from radarhere/webp_alpha_quality 2024-03-21 18:20:40 +02:00
Andrew Murray
3ba8eb3b7e Raise a ValueError for negative values when loading P1-P3 PPM images 2024-03-16 12:29:21 +11:00
Andrew Murray
d2453250f1 Fixed joined corners for rounded_rectangle() non-integer dimensions 2024-03-15 23:58:07 +11:00
Andrew Murray
64c8c27271 Added alpha_quality argument when saving 2024-03-13 18:55:29 +11:00
Andrew Murray
f128d47e15 Added reading of JPEG2000 palettes 2024-03-12 19:30:23 +11:00
Andrew Murray
54d329b192 Merge branch 'main' into import 2024-03-12 12:01:50 +11: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