Commit Graph

5536 Commits

Author SHA1 Message Date
Hugo van Kemenade
0802206cfc
Update free-threading CI (#9625) 2026-05-14 15:02:56 +03:00
Hugo van Kemenade
3f74d08263
Remove default sep="="
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-05-14 14:05:55 +03:00
Hugo van Kemenade
e9855d1705
Remove unused params
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-05-13 13:30:01 +03:00
Andrew Murray
381e264e18 Consistently use "coordinates" instead of "co-ordinates"
Co-authored-by: mokashang <mokashang@users.noreply.github.com>
2026-05-13 19:13:21 +10:00
Hugo van Kemenade
4dc442fb01 Don't force PYTHON_GIL=0, instead fail if anything re-enables 2026-05-12 23:45:03 +03:00
Andrew Murray
3ce681240f
Use _accept check in WebP _open (#9605) 2026-05-12 12:11:38 +10:00
Andrew Murray
24696af889
Increase AVIF test epsilon for riscv64 (#9606) 2026-05-08 19:50:29 +10:00
Andrew Murray
c234720aca Convert Exif to dictionary before checking 2026-05-03 13:26:42 +03:00
Hugo van Kemenade
82614324ed
Raise error if PNG transparency has incorrect type or length when saving (#9536) 2026-05-03 13:25:49 +03:00
Hayato Ikoma
7e4ca8b3ab
Correct integer overflow in 16-bit resampling (#9480)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-05-02 14:36:20 +10:00
Andrew Murray
a908c62460 Skip test_1 for Ghostscript 10.06.0 2026-04-25 13:19:01 +10:00
Andrew Murray
53800d4fcf
Raise ValueError if ImageOps border has unsupported format (#9426) 2026-04-24 21:10:05 +10:00
Andrew Murray
9867b51d89 Catch subprocess.CalledProcessError in test_grab_x11 2026-04-21 07:51:50 +10:00
Andrew Murray
d7d2df8ab2 Correct feature name 2026-04-06 09:39:23 +10:00
Andrew Murray
17612be407 Skip test if FreeType is not available 2026-04-05 12:57:01 +10:00
Andrew Murray
1dd1c9a3e5 Replace custom class with TextIOWrapper 2026-04-04 19:33:07 +11:00
Andrew Murray
7f3751d498 Remove type hint ignore 2026-04-04 19:29:11 +11:00
Andrew Murray
e58c67347a Raise error if transparency is incorrect type or length when saving 2026-04-03 22:19:52 +11:00
Hugo van Kemenade
cf6de8ca9b
Reject non-numeric elements inside list coords (#9526) 2026-04-01 22:50:45 +11:00
Andrew Murray
f5e893e46e Seek raises OverFlowError on 32-bit 2026-04-01 09:46:09 +11:00
Andrew Murray
d9035515f2
Merge branch 'main' into psd_size 2026-04-01 08:42:16 +11:00
Hugo van Kemenade
3bf614e4b8
Raise an error if the trailer chain loops back on itself (#9519) 2026-04-01 08:03:15 +11:00
Hugo van Kemenade
6dfc2be807
Allow None extents in C setimage() (#9504) 2026-03-31 22:02:41 +03:00
Hugo van Kemenade
2c2c2a1eae
Add ImageText.Text.wrap() to wrap text (#9286) 2026-03-31 21:49:22 +03:00
Andrew Murray
cc22efda7a Parametrize tests 2026-03-31 21:42:16 +03:00
Andrew Murray
b2a16f0dbe Copy offset check from C into Python 2026-03-31 21:42:16 +03:00
Andrew Murray
591ce38ca5 Skip OverflowError on Windows Python 3.10 2026-03-31 21:42:16 +03:00
Andrew Murray
4bada07dc6 Avoid overflow by not adding extents together 2026-03-31 21:42:16 +03:00
Andrew Murray
09c585dc21 Cleanup .spider extension in the same test where it is added 2026-03-31 22:02:23 +11:00
Andrew Murray
1f74a55be2
Run tests in parallel via tox for 3.5x speedup (#9516) 2026-03-31 21:58:13 +11:00
Hugo van Kemenade
228a85e56e Safer test_file_spider teardown under pytest-xdist 2026-03-31 11:22:11 +03:00
Hugo van Kemenade
8d801bcafa
Image will never be None (#9512) 2026-03-30 18:49:06 +03:00
Hugo van Kemenade
7406b371ca
Raise EOFError when seeking too far in PSD (#9388) 2026-03-30 18:34:08 +03:00
Hugo van Kemenade
ded95a6c3d
Raise error if ImageGrab subprocess gives non-zero returncode (#9321) 2026-03-30 18:33:05 +03:00
Hugo van Kemenade
b2e3f788f9
Allow for different palette entry sizes when correcting BMP pixel data offset (#9472) 2026-03-30 16:06:55 +03:00
Andrew Murray
007974d35b Ignore EXTRASAMPLES tag from separate planes image when saving 2026-03-30 20:04:39 +11:00
Andrew Murray
84cb30d7a7 For separate planar configuration, ignore unspecified extra components 2026-03-30 19:42:07 +11:00
Andrew Murray
7ef54f6bfd Image will never be None
Co-authored-by: jorenham <jhammudoglu@gmail.com>
2026-03-29 19:40:16 +11:00
Andrew Murray
a69b4ec228 Merge branch 'main' into wrap 2026-03-28 22:44:21 +11:00
Andrew Murray
9f3f6de109 Allow None extents in C setimage 2026-03-28 18:31:49 +11:00
Hugo van Kemenade
754c7ea3a0 PERF203 and fixes 2026-03-27 14:18:37 +02:00
Hugo van Kemenade
9a358fa289 PERF402 and fixes 2026-03-27 14:18:37 +02:00
Andrew Murray
9568bceeb8
Catch struct.error (#9505) 2026-03-27 21:22:28 +11:00
Hugo van Kemenade
43e4ebe037
Do not use palette from grayscale or bilevel colorspace when reading JPEG2000 images (#9468) 2026-03-26 15:33:18 +02:00
Hugo van Kemenade
051fb0b995
If TGA v2 extension area specifies no alpha, fill alpha channel (#9478) 2026-03-26 15:32:35 +02:00
Andrew Murray
67c0767b64 If Photoshop blocks are truncated, do not raise struct.error 2026-03-26 23:43:35 +11:00
Andrew Murray
f551ecdc43 If Makernote is truncated, do not raise struct.error 2026-03-26 23:43:35 +11:00
Andrew Murray
33d62fc8a1 Added error messages 2026-03-25 23:11:59 +11:00
Andrew Murray
43bc816e88
Merge branch 'main' into jpeg2000_l 2026-03-21 23:44:44 +11:00
Andrew Murray
0d7f5077a7 If v2 extension area specifies no alpha, fill alpha channel 2026-03-21 23:43:26 +11:00