Commit Graph

5183 Commits

Author SHA1 Message Date
Andrew Murray
d1505153ee
Merge 5406def0d2 into cda26be10e 2025-04-04 19:10:22 +03:00
Hugo van Kemenade
cda26be10e
Merge pull request #8850 from hugovk/pep639
Replace deprecated classifier with licence expression (PEP 639)
2025-04-04 18:36:02 +03:00
Frankie Dintino
9f654ff748
Fixed conversion of AVIF image rotation property to EXIF orientation (#8866) 2025-04-04 16:41:11 +03:00
Andrew Murray
4d153d66a1 Assert getpixel returns tuple 2025-04-03 19:58:42 +11:00
Andrew Murray
36a536ca1a Assert colors is not None 2025-04-03 19:58:42 +11:00
Andrew Murray
6ee9d5362c Assert image type 2025-04-03 19:58:05 +11:00
Andrew Murray
beab3fae1e Merge branch 'main' into context_manager 2025-04-03 18:15:45 +11:00
Andrew Murray
1103e82d17 Include filename in state 2025-04-02 11:14:58 +11:00
mergify[bot]
7c56b383ff
Merge pull request #8842 from AdianKozlica/image_grab_wayland_kde
Add KDE Wayland support for ImageGrab
2025-04-01 09:38:56 +00:00
mergify[bot]
64178415e6
Merge pull request #8852 from radarhere/save
Only change readonly if saved filename matches opened filename
2025-04-01 09:22:14 +00:00
Andrew Murray
98e74fd7a0
Merge pull request #8516 from radarhere/imagegrab
Allow HWND to be passed to ImageGrab.grab() on Windows
2025-04-01 18:45:03 +11:00
Adian Kozlica
2b62c0beeb
Merge branch 'main' into image_grab_wayland_kde 2025-04-01 09:43:52 +02:00
Andrew Murray
a7537b1b06 Only change readonly if saved filename matches opened filename 2025-04-01 18:31:04 +11:00
wiredfool
5c76e7ec17
Image -> Arrow support (#8330)
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-01 09:10:45 +03:00
Frankie Dintino
7d50816f0a
Add AVIF plugin (decoder + encoder using libavif) (#5201)
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-01 07:13:21 +03:00
Hugo van Kemenade
d8a0cb5db1 Work around pyroma test 2025-03-31 23:04:08 +03:00
Andrew Murray
b1f7ba0a41
Merge pull request #8772 from radarhere/zlib_macos
Revert to zlib on macOS < 10.15
2025-03-31 08:47:49 +11:00
Andrew Murray
81be8d5410
Fixed unclosed file warning (#8847) 2025-03-30 21:16:25 +03:00
Andrew Murray
52acc1cc91 Merge branch 'main' into context_manager 2025-03-30 23:38:55 +11:00
Andrew Murray
ca9f4f8304
Merge branch 'main' into imagegrab 2025-03-30 21:53:23 +11:00
Andrew Murray
55fe987a62 Merge branch 'main' into context_manager 2025-03-30 21:40:25 +11:00
Andrew Murray
14fb62e36c
Assert image type (#8619) 2025-03-30 10:42:46 +03:00
Andrew Murray
7e6a2f68b5 Updated type hints 2025-03-30 12:01:38 +11:00
Adian Kozlica
ec11f7aaed
Merge branch 'main' into image_grab_wayland_kde 2025-03-29 23:51:29 +01:00
Andrew Murray
3abce858c3
Merge branch 'main' into context_manager 2025-03-30 07:25:49 +11:00
Andrew Murray
25653d2f87
Corrected P mode save (#8685) 2025-03-29 18:34:42 +02:00
Andrew Murray
e8a9b56603
Improved connecting discontiguous corners (#8659) 2025-03-29 18:33:51 +02:00
Andrew Murray
6bffa3a9d4
Only read until the offset of the next tile (#8609)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:29:02 +02:00
Andrew Murray
140e426082
Added USE_RAW_ALPHA (#8602)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:27:00 +02:00
Andrew Murray
93cdfeb488
Prevent TIFFRGBAImageBegin from applying image orientation (#8556)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:25:57 +02:00
Andrew Murray
6d42449788
Allow loading of EMF images at a given DPI (#8536)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:25:13 +02:00
Hugo van Kemenade
2579973815
Merge pull request #8506 from radarhere/emf_records
Skip failing records when rendering WMF images
2025-03-29 18:19:10 +02:00
Adian Kozlica
eeb494abf7 Fix formatting 2025-03-28 17:18:09 +01:00
Adian Kozlica
722283e819 Add KDE Wayland support for ImageGrab 2025-03-28 16:43:10 +01:00
Andrew Murray
1cb6c7c347
Parametrize tests (#8838)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-28 14:27:39 +02:00
Andrew Murray
10ccbd7788
If append_images is populated, default save_all to True (#8781)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-27 18:01:09 +02:00
Hugo van Kemenade
095f5992bc
Merge pull request #8826 from radarhere/gimp
Added GimpPaletteFile frombytes() to allow for unlimited parsing
2025-03-27 14:47:29 +02:00
Andrew Murray
3c185d1f69
Do not load image during save if file extension is unknown (#8835)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-27 14:44:27 +02:00
Andrew Murray
cd95e8a4c1 Renamed variable 2025-03-22 09:44:42 +11:00
Andrew Murray
7a1d854c00
Merge branch 'main' into context_manager 2025-03-22 00:44:22 +11:00
Andrew Murray
c7e3158d51 Added explicit test for opening and saving image with string 2025-03-21 20:47:38 +11:00
Andrew Murray
9334bf040e Do not cast unnecessarily 2025-03-21 20:41:52 +11:00
Andrew Murray
8d55054877 Reuse temp path 2025-03-21 20:41:15 +11:00
Andrew Murray
8d440f734b Removed unused argument 2025-03-21 20:39:36 +11:00
Andrew Murray
21ff960c9c Test that an unlimited number of lines is not read by __init__ 2025-03-21 08:51:41 +11:00
Andrew Murray
510bc05577 Added frombytes() to allow for unlimited parsing 2025-03-20 23:12:35 +11:00
Andrew Murray
0888dc02ac Allow for two header fields and a comment 2025-03-20 23:10:09 +11:00
Andrew Murray
6cc5f1f0ad Simplified code 2025-03-19 20:58:40 +11:00
Hugo van Kemenade
e1bf0f647f
Merge pull request #8805 from radarhere/gimp
Start from zero index when reading GimpPaletteFile
2025-03-18 15:32:24 +02:00
Andrew Murray
a1d0d95e78 Assert image type 2025-03-18 23:15:31 +11:00