Commit Graph

5253 Commits

Author SHA1 Message Date
Andrew Murray
204d11d4da Raise FileNotFoundError when opening an empty path 2025-06-30 22:29:41 +10:00
Hugo van Kemenade
2b39f7581e
Handle IPTC TIFF tags with incorrect type (#8925) 2025-06-30 15:25:19 +03:00
Hugo van Kemenade
e7a53ba19b
Do not update palette for L mode GIF frame (#8924) 2025-06-30 15:24:18 +03:00
Hugo van Kemenade
c22230b761
Use save parameters as encoderinfo defaults (#9001) 2025-06-30 15:13:12 +03:00
Russell Keith-Magee
da10ed1cf3
Add support for iOS (#9030)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 21:46:07 +10:00
Kylian Ronfleux--Corail
be2b4e7864
Fix qtables and quality scaling (#8879)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 20:46:40 +10:00
Andrew Murray
d4162f8505 Updated return type 2025-06-30 18:27:49 +10:00
Hugo van Kemenade
a2fbd58f4b
Read 16-bit McIdas images into I;16B mode to allow for memory mapping (#9046) 2025-06-29 15:38:26 +03:00
Hugo van Kemenade
144890255f
Support ttb multiline text (#8730) 2025-06-28 14:35:13 +03:00
Hugo van Kemenade
d263e3ba13
Fix saving MPO with more than one appended image (#8979) 2025-06-28 14:32:33 +03:00
Andrew Murray
4ac2403532 Read 16-bit images into I;16B mode to allow for memory mapping 2025-06-28 15:48:44 +10:00
Andrew Murray
26ae44e059 Merge branch 'main' into ttb 2025-06-28 13:49:43 +10:00
Andrew Murray
a370209fea
Add match parameter to pytest.warns() (#9038) 2025-06-28 10:29:34 +10:00
Andrew Murray
a0a1ff14c4 Merge branch 'main' into encoderinfo_frames 2025-06-28 01:35:59 +10:00
Andrew Murray
646b4a4ecd
Merge branch 'main' into mpo 2025-06-28 01:20:15 +10:00
Andrew Murray
41129ce1cb
Use list
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-28 01:20:02 +10:00
Hugo van Kemenade
3a66b1d291
Restore original encoderinfo after saving (#8942) 2025-06-27 18:04:43 +03:00
Hugo van Kemenade
935e9e4fbd
Return PixelAccess from first load of ICO and IPTC images (#8922) 2025-06-27 18:02:48 +03:00
Hugo van Kemenade
c96b27711c
Improve justifying text (#8905) 2025-06-27 18:01:25 +03:00
Hugo van Kemenade
3a18e555f0
Assert palette is not None (#8877) 2025-06-27 17:53:55 +03:00
Hugo van Kemenade
3d21c16977
Improve reading XPM images (#8874) 2025-06-27 17:53:34 +03:00
Andrew Murray
ef98b3510e
Fix buffer overflow when saving compressed DDS images (#9041)
Co-authored-by: Eric Soroos <eric-github@soroos.net>
2025-06-28 00:29:58 +10:00
Hugo van Kemenade
958c449b98
Close image after assert
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-06-27 16:17:20 +03:00
Andrew Murray
e783aff688
Improve SgiImagePlugin test coverage (#8896) 2025-06-27 15:32:30 +03:00
Andrew Murray
a61a23d7ae Fixed PT031 2025-06-27 13:00:48 +10:00
Andrew Murray
092e37a56c
Merge branch 'main' into bump-pre-commit 2025-06-27 11:04:44 +10:00
Hugo van Kemenade
1788ab7887
Do not import type checking (#8854) 2025-06-26 18:52:09 +03:00
Hugo van Kemenade
a27731b2af
Improve type hints (#8883) 2025-06-26 18:49:39 +03:00
Hugo van Kemenade
d1894dcd46 Add match parameter to pytest.warns() 2025-06-26 18:12:36 +03:00
Frankie Dintino
3d261a2101
Add AVIF to wheels using only aomenc and dav1d AVIF codecs for reduced size (#8858)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-26 16:21:44 +10:00
Hugo van Kemenade
1e5eb3b29d
Support saving I;16L TIFF images (#9015) 2025-06-25 11:11:47 +01:00
Hugo van Kemenade
8655b7c559
Only check DHT marker for libjpeg-turbo (#9025) 2025-06-25 11:09:55 +01:00
Andrew Murray
78bc045db9
Merge branch 'main' into fromarray_mode 2025-06-21 21:03:37 +10:00
Hugo van Kemenade
13faa4681c
Deprecate saving I mode images as PNG (#9023) 2025-06-21 11:24:28 +01:00
thisismypassport
ef0bab0c65
Support writing QOI images (#9007)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-19 18:16:26 +10:00
Andrew Murray
a4e8d675b4 Only check DHT marker for libjpeg-turbo 2025-06-18 21:59:31 +10:00
Andrew Murray
d23d56e195 Deprecate saving I mode images as PNG 2025-06-17 23:10:15 +10:00
Hugo van Kemenade
01267f9dac
Improve BLP tests (#9020) 2025-06-16 13:00:30 +03:00
Andrew Murray
ce8083e0d8 Match error message 2025-06-14 18:40:03 +10:00
Andrew Murray
59667bbec5 Use *_tofile helpers 2025-06-14 18:39:30 +10:00
Andrew Murray
e6af31e709 Deprecate fromarray mode argument 2025-06-14 16:09:11 +10:00
Andrew Murray
925fe51904 Support saving I;16L images 2025-06-14 12:22:48 +10:00
Andrew Murray
a219e96fd3 Fixed warning 2025-06-14 12:22:29 +10:00
Andrew Murray
8ccdc399df
Remove padding between interleaved PCX palette data (#9005) 2025-06-11 16:19:09 +03:00
Andrew Murray
7f7c27f66a
Start QOI decoding with a zero-initialized array of previously seen pixels (#9008) 2025-06-11 22:56:57 +10:00
Andrew Murray
056dc89a3c
Correct drawing I;16 horizontal lines (#8985) 2025-06-10 15:12:40 +03:00
Hugo van Kemenade
de053fbae0
Handle XMP data from an UNDEFINED TIFF tag (#8997) 2025-06-10 14:57:15 +03:00
Andrew Murray
36cea19532
Do not decode bytes in PPM error message (#8958) 2025-06-10 14:08:29 +03:00
Andrew Murray
646885e546
Parse XMP tag bytes without decoding to string (#8960)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-10 14:06:28 +03:00
Andrew Murray
e65e5bea45 Start decoding with a zero-initialized array of previously seen pixels 2025-06-10 20:30:18 +10:00