Commit Graph

5443 Commits

Author SHA1 Message Date
mergify[bot]
e7b72a3bbd
Add ImageText (#9098) 2025-10-15 10:49:52 +00:00
mergify[bot]
994a9def5d
Install arro3 dependencies when type checking (#9254) 2025-10-15 09:37:01 +00:00
Andrew Murray
e533ccccfc Merge branch 'main' into imagetext 2025-10-15 19:38:38 +11:00
Andrew Murray
4889863139 Renamed ImageText class to Text 2025-10-15 19:38:25 +11:00
Hugo van Kemenade
5ee57e4c83
Support saving variable length rational TIFF tags by default (#9241) 2025-10-15 11:06:57 +03:00
Hugo van Kemenade
1148b7af72
Check return types (#9045) 2025-10-15 11:06:20 +03:00
Andrew Murray
ef323ab7d7 Install dependencies when type checking 2025-10-15 18:58:55 +11:00
Hugo van Kemenade
9e3a70a514
Band names for arrow exported images (#9099) 2025-10-15 10:56:32 +03:00
Hugo van Kemenade
9042234052
If pasting an image onto itself at a lower position, copy from bottom (#8882) 2025-10-15 10:51:31 +03:00
Andrew Murray
014f421221 Removed assert 2025-10-14 08:48:22 +11:00
Andrew Murray
416fb81074
Removed shebang lines and executable flags (#9179)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-10-12 13:19:34 +03:00
Andrew Murray
c874256132 Support saving variable length rational TIFF tags by default 2025-10-12 07:08:52 +11:00
wiredfool
52413cf0dc
Update Tests/test_arro3.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-10-11 08:25:07 +01:00
Andrew Murray
a66d0d1f05 Assert getpalette does not return None 2025-10-11 14:48:13 +11:00
Andrew Murray
755ebb8307 Assert getcolors does not return None 2025-10-11 14:48:01 +11:00
Andrew Murray
76ab80f10b Assert getpixel returns tuple 2025-10-11 14:48:01 +11:00
wiredfool
b4fe17cecf More typey lint 2025-10-10 15:39:47 +01:00
wiredfool
13e4e587e6 added import-not-found ignores, removed call-overload ignores 2025-10-10 15:34:11 +01:00
Andrew Murray
324258ca7a Split parametrization 2025-10-10 15:19:25 +01:00
Hugo van Kemenade
c47b8badb3
Assert image type (#8845) 2025-10-10 16:43:14 +03:00
Hugo van Kemenade
ef8d5d3c2a
Support saving variable length rational TIFF tags (#9111) 2025-10-10 16:40:37 +03:00
Hugo van Kemenade
7cb074f095
Test GD transparency (#9196) 2025-10-10 12:59:22 +03:00
Hugo van Kemenade
10c674510f
Test mode when saving PPM images (#9195) 2025-10-10 12:58:56 +03:00
Hugo van Kemenade
8e3784f37b
Test unsupported BMP bitfields layout (#9193) 2025-10-10 12:58:45 +03:00
Hugo van Kemenade
396755ed1b
Test largest CUR cursor (#9191) 2025-10-10 12:58:15 +03:00
Hugo van Kemenade
71e6660f5d
Fill alpha channel when quantizing RGB images (#9133) 2025-10-10 12:50:38 +03:00
Hugo van Kemenade
8c42abd946
Allow RGBA palettes to work with ImageOps.expand() (#9138) 2025-10-10 12:48:12 +03:00
Hugo van Kemenade
c22e7af885
Fixed loading rotated PCD images (#9177) 2025-10-10 12:45:28 +03:00
Hugo van Kemenade
797d83f818
Seek past BeginBinary data when parsing EPS metadata (#9211) 2025-10-08 19:20:58 +03:00
Andrew Murray
6d19b8adef Do not allow negative offset with memory mapping 2025-10-08 17:08:39 +11:00
Hugo van Kemenade
c807f6508b
Clear C image when MPO frame image size changes (#9208) 2025-10-05 11:53:06 +03:00
Andrew Murray
762bdce34f
Merge branch 'main' into rgba_pa 2025-10-04 18:58:00 +10:00
Hugo van Kemenade
3ced6ca78f
Load image palette into Python after converting to PA (#9152) 2025-10-04 11:02:35 +03:00
Hugo van Kemenade
a2e2939240
Check all reserved bytes in FLI header (#9183) 2025-10-04 11:02:10 +03:00
Hugo van Kemenade
5a5c51c7a2
Limit length of read operation in ImageFont._load_pilfont_data() (#9181) 2025-10-04 11:01:36 +03:00
Andrew Murray
e2a8e217da Removed _expand() 2025-09-29 23:18:47 +10:00
Andrew Murray
ce8d05484b Use naturally created image 2025-09-21 07:44:47 +10:00
Andrew Murray
9ba1029d51 Clear C image when MPO frame image size changes 2025-09-21 07:44:47 +10:00
Andrew Murray
222933df54 Seek past BeginBinary data when parsing metadata 2025-09-21 07:44:31 +10:00
Andrew Murray
92e671d797 Updated tests for FreeType 2.14.1 2025-09-20 20:15:20 +10:00
Andrew Murray
b90fe802ce Test transparency 2025-09-07 12:49:10 +10:00
Andrew Murray
7d379842c1 Test saving unsupported mode 2025-09-07 12:28:20 +10:00
Andrew Murray
4469ee0fc0 Test saving P4 images 2025-09-07 12:25:56 +10:00
Andrew Murray
2bf482230d Test unsupported BMP bitfields layout 2025-09-05 23:43:47 +10:00
Andrew Murray
d4ed512bec Use monkeypatch 2025-09-05 23:14:52 +10:00
Andrew Murray
067569790b Test largest cursor 2025-09-05 20:11:02 +10:00
Andrew Murray
bf18e5fe8b Assert fp is not None 2025-09-05 20:10:27 +10:00
Hugo van Kemenade
ba04d58851
Only deprecate fromarray mode for changing data types (#9063) 2025-09-04 16:43:21 +03:00
Hugo van Kemenade
bd63c4fdba
Deprecate Image._show (#9186) 2025-09-04 13:57:15 +03:00
Hugo van Kemenade
9e73e6e8db
Always check XMLPacket value (#9113) 2025-09-04 13:49:01 +03:00
Hugo van Kemenade
25db48254a
Rename variable to not shadow import (#9124) 2025-09-04 13:47:30 +03:00
Hugo van Kemenade
ae65315e78
Fix reading RGB and CMYK IPTC images (#9088) 2025-09-04 13:41:03 +03:00
Hugo van Kemenade
84c04b01da
Revert "Removed unused code" (#9185) 2025-09-04 13:37:47 +03:00
Andrew Murray
cfca02a759 Improved WAL test coverage 2025-09-04 08:27:52 +10:00
Andrew Murray
877707379b Deprecate Image._show 2025-09-03 22:38:37 +10:00
Andrew Murray
abf088fae5 Updated comment 2025-09-03 21:52:27 +10:00
Andrew Murray
caede14465 Revert "Removed unused code"
This reverts commit 0e22b0ca6c.
2025-09-03 21:46:54 +10:00
Andrew Murray
72c067af29 Check all reserved bytes in header 2025-09-03 19:23:26 +10:00
Andrew Murray
0e22b0ca6c Removed unused code 2025-09-03 18:33:52 +10:00
Andrew Murray
caacd38e1b Raise mode error before reading 2025-09-02 21:32:13 +10:00
Andrew Murray
485d9884cf Limit length of read operation 2025-09-02 21:24:57 +10:00
Andrew Murray
1c70e716ce
Merge branch 'main' into fromarray_mode 2025-09-01 08:30:22 +10:00
Andrew Murray
c7a268e5a5
ImageMorph operations must have length 1 (#9102) 2025-09-01 08:23:30 +10:00
Andrew Murray
c6915f717f rotate() will use "angle % 360" 2025-08-29 07:43:51 +10:00
Andrew Murray
05a6010311 Fixed loading rotated PCD images 2025-08-29 07:35:18 +10:00
Hugo van Kemenade
35f23fb78c
Set correct size for rotated PCD images after opening (#9086) 2025-08-27 17:59:10 +03:00
Hugo van Kemenade
801f7adb3c
Simplify check for GBR width and height (#9089) 2025-08-27 17:58:03 +03:00
Hugo van Kemenade
146d03c250
Fix ZeroDivisionError in ImageStat (#9105) 2025-08-27 17:45:55 +03:00
Hugo van Kemenade
a74e4fa9a5
When deleting EXIF IFD tag, delete IFD data (#9083) 2025-08-27 17:43:19 +03:00
Hugo van Kemenade
9a2c5160f2
Allow alpha_composite to use LA images (#9066) 2025-08-27 17:42:50 +03:00
Hugo van Kemenade
f9db7a3d08
Add has_feature_version helper (#9172) 2025-08-26 11:27:20 +03:00
Andrew Murray
f80ac8d6b8 Check version independently 2025-08-22 19:16:38 +10:00
Andrew Murray
54f4a346ef Added has_feature_version 2025-08-22 19:06:19 +10:00
Andrew Murray
84122a20c7 Replaced print with assert 2025-08-22 18:29:25 +10:00
Andrew Murray
ba66fec3d2 When converting RGBA to PA, use RGB to P quantization 2025-08-15 23:39:33 +10:00
Andrew Murray
0ae2611b44 Copy C palette when merging 2025-08-15 23:22:14 +10:00
Andrew Murray
6d974b61d6 Load image palette into Python after converting to PA 2025-08-15 14:37:31 +10:00
Andrew Murray
35c92308ad Allow RGBA palettes to work with expand() 2025-08-06 11:41:26 +10:00
Andrew Murray
0465627f0c Fill alpha channel when quantizing RGB images 2025-08-05 13:00:33 +10:00
Andrew Murray
fcdeb6404e Merge branch 'main' into imagetext 2025-08-02 22:18:51 +10:00
Andrew Murray
94a32628f3 Merge branch 'main' into fromarray_mode 2025-08-02 22:15:13 +10:00
Hugo van Kemenade
2ab301dcc9
Drop support for Python 3.9 (#9119)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-08-02 12:02:20 +00:00
Andrew Murray
0620daf860 Renamed variable to not shadow import 2025-08-02 13:10:18 +10:00
Andrew Murray
27a7582b35 Moved imports into TYPE_CHECKING 2025-08-02 11:40:35 +10:00
Andrew Murray
5fc0cf19c6
Merge branch 'main' into pyarrow_band_names 2025-08-01 10:25:14 +10:00
Russell Keith-Magee
98d6c3bf88
Restore pyroma test for iOS (#9116)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-08-01 10:22:28 +10:00
Hugo van Kemenade
162836a004
Use correct bands for two band histograms (#9054) 2025-07-31 14:40:57 +03:00
Hugo van Kemenade
9a37051bc6
Improve features test coverage (#9077) 2025-07-31 14:37:29 +03:00
Hugo van Kemenade
54de16836b
Remove WebP feature handling (#9096) 2025-07-31 13:30:42 +03:00
Andrew Murray
a6acc67660 Always check XMLPacket value 2025-07-26 21:00:26 +10:00
Andrew Murray
7afbafd1e2 Support saving variable length rational TIFF tags 2025-07-26 19:21:50 +10:00
Luke Granger-Brown
ec6d5efe4d
Deprecate ImageCmsProfile product_name and product_info (#8995)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-07-26 17:33:11 +10:00
Andrew Murray
63163d065d Removed WebP feature handling 2025-07-24 19:34:46 +10:00
Andrew Murray
969e468749 Allow ImageDraw text() to use ImageText 2025-07-24 19:34:30 +10:00
Andrew Murray
24681a3927 Added ImageText 2025-07-24 19:34:29 +10:00
Andrew Murray
103a5a0b59 Fixed ZeroDivisionError 2025-07-24 19:33:15 +10:00
Andrew Murray
f4d86e4f44 Use teardown_method 2025-07-24 07:27:39 +10:00
wiredfool
9e415c7876 A way to make nested arrays in nano arrow but detouring through a buffer 2025-07-21 17:24:52 +02:00
wiredfool
c07fe6e943 Added flat image metadata tests
This metadata is available in nanoarrow, but not pyarrow or arro3
2025-07-21 11:33:14 +02:00
wiredfool
7d2abbdcf9 lint. 2025-07-21 11:22:45 +02:00