Commit Graph

4828 Commits

Author SHA1 Message Date
Hugo van Kemenade
416f02338b
Remove unused modes (#9275) 2025-11-30 22:12:22 +02:00
Hugo van Kemenade
4a733e5092
Correct allocating new color to RGBA palette (#9313) 2025-11-30 21:57:22 +02:00
Hugo van Kemenade
65c32ecca4
retina -> Retina 2025-11-30 21:55:59 +02:00
Andrew Murray
37da2ba381 Corrected allocating new color to RGBA palette 2025-11-29 17:22:44 +11:00
Andrew Murray
6a9960e8c1 Only update Python palette if rawmode was different to the mode 2025-11-25 23:40:34 +11:00
Andrew Murray
cce73b1e89 Close image on ImageFont exception 2025-11-19 21:52:21 +11:00
Andrew Murray
142c1320b2 Apply encoder options when saving multiple PNG frames 2025-11-14 20:08:49 +11:00
Andrew Murray
8fbb801275
Add Apache-2.0 notice to IcoImagePlugin (#8947) 2025-11-10 21:56:10 +11:00
Andrew Murray
921a470506 Simplified code 2025-11-06 18:24:10 +11:00
Andrew Murray
dfd24ba615 Read all non-zero transparency from mode 1 images in the same way 2025-10-30 22:03:39 +11:00
Hugo van Kemenade
e36e67081a
Simplify code now that I;16* modes are the only IMAGING_TYPE_SPECIAL (#9263) 2025-10-27 15:19:54 +02:00
Hugo van Kemenade
b90a00eccb
Remove BytesIO from DdsImagePlugin (#9273) 2025-10-27 15:16:27 +02:00
Hugo van Kemenade
cc4ca5bf17
Added type hints (#9269) 2025-10-24 16:56:36 +03:00
Hugo van Kemenade
148a19eee4
Fix ZeroDivisionError in DdsImagePlugin (#9272) 2025-10-24 16:44:46 +03:00
Hugo van Kemenade
a63ba0e3b6
Correct __getitem__ return type (#9264) 2025-10-24 16:42:14 +03:00
Andrew Murray
82cdaa456c Support writing SIGNED_RATIONAL tag types 2025-10-24 03:55:45 +11:00
Andrew Murray
ddd4f00720 Support writing IFD tag types 2025-10-23 20:03:14 +11:00
Andrew Murray
b04d8792f5 Support writing InkNames 2025-10-23 08:53:00 +11:00
Andrew Murray
109ee1569d Removed I;32L rawmode 2025-10-22 22:24:15 +11:00
Andrew Murray
208bbe95f9 Remove I;32L and I;32B modes 2025-10-22 22:22:00 +11:00
Andrew Murray
b1e2f2e652 Improved coverage 2025-10-22 20:08:22 +11:00
Andrew Murray
7d6f2ce90b Removed BytesIO 2025-10-21 23:35:17 +11:00
Andrew Murray
e1f4352ce9 Fixed ZeroDivisionError 2025-10-21 23:11:18 +11:00
Andrew Murray
e90bb1559c Rearranged code 2025-10-20 21:00:29 +11:00
Andrew Murray
4b90888a7d Added type hints 2025-10-20 19:38:29 +11:00
Hugo van Kemenade
76f04b46c5
Fix warnings (#9257) 2025-10-17 21:18:10 +03:00
Andrew Murray
e969fa7aea Correct __getitem__ return type 2025-10-17 06:14:02 +11:00
Andrew Murray
ae43b36030 Simplified code now that I;16* modes are the only IMAGING_TYPE_SPECIAL 2025-10-16 20:55:56 +11:00
Yan-Ke Guo
424168b69c
Merge branch 'main' into main 2025-10-16 09:46:04 +08:00
Hugo van Kemenade
3620d48459 12.1.0.dev0 version bump 2025-10-15 21:28:16 +03:00
Hugo van Kemenade
693df7b42c 12.0.0 version bump 2025-10-15 20:06:44 +03:00
Andrew Murray
c680ff029f
Merge branch 'main' into main 2025-10-15 22:31:20 +11:00
Andrew Murray
3eecafd62c Fixed warning 2025-10-15 22:19:38 +11:00
mergify[bot]
5dddb2ce94
Use enums for Modes and RawModes in C (#9256) 2025-10-15 10:58:36 +00:00
mergify[bot]
e7b72a3bbd
Add ImageText (#9098) 2025-10-15 10:49:52 +00:00
mergify[bot]
864d4b6e09
Shift bits before making value negative (#9255) 2025-10-15 10:21:37 +00:00
Andrew Murray
e533ccccfc Merge branch 'main' into imagetext 2025-10-15 19:38:38 +11:00
Andrew Murray
95a85dc669 Use snake case 2025-10-15 19:38:30 +11:00
Andrew Murray
4889863139 Renamed ImageText class to Text 2025-10-15 19:38:25 +11:00
Andrew Murray
4fbe28a3a2 Merge branch 'main' into mode_enums 2025-10-15 19:25:58 +11:00
Andrew Murray
78b0e06dbb Shift bits before making value negative 2025-10-15 19:07:21 +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
7a6664d70b
Added four private SGI TIFF tags (#9245) 2025-10-15 11:01:35 +03: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
Hugo van Kemenade
1e5237af77
Removed unused access for I;32L and I;32B (#9238) 2025-10-15 10:50:51 +03:00
Andrew Murray
55a4901bba Removed BGR;15 and BGR;16 modes 2025-10-14 20:34:03 +11:00
Andrew Murray
a591000055 Removed BGR;24 and BGR;32 2025-10-14 20:31:42 +11:00
Andrew Murray
2caa504991 ImagingHistogramInstance can use two bands 2025-10-14 18:57:26 +11:00
Andrew Murray
e36bf768c5 Added four private SGI tags 2025-10-12 15:58:22 +11:00
Andrew Murray
c874256132 Support saving variable length rational TIFF tags by default 2025-10-12 07:08:52 +11:00
Hugo van Kemenade
9fd4af55f7
Remove Pillow version from PDF comment (#9176) 2025-10-10 16:54:06 +03:00
Hugo van Kemenade
ef8d5d3c2a
Support saving variable length rational TIFF tags (#9111) 2025-10-10 16:40:37 +03:00
Andrew Murray
5d3086b01f Removed unused access for I;32L and I;32B 2025-10-10 22:44:09 +11:00
wiredfool
bd6e70fccd Check against mode 1 instead of input mode for Chops.c 2025-10-10 12:42:58 +01:00
Hugo van Kemenade
396755ed1b
Test largest CUR cursor (#9191) 2025-10-10 12:58:15 +03:00
Hugo van Kemenade
274a65b5d0
Do not unnecessarily update FLI __offset (#9184) 2025-10-10 12:56:14 +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
Andrew Murray
a2ef220b32 Cast before additional shifting 2025-10-09 21:01:42 +11:00
Andrew Murray
1d4cda65cf Cast to UINT32 before shifting bits 2025-10-09 21:01:17 +11:00
Hugo van Kemenade
6b4bb79b44
Use _ensure_mutable() (#9200) 2025-10-08 19:22:04 +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
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
610d564aea
Merge branch 'main' into main 2025-09-16 19:43:34 +10:00
Andrew Murray
3a580e0f79 Use _ensure_mutable 2025-09-09 21:04:16 +10:00
Andrew Murray
bf18e5fe8b Assert fp is not None 2025-09-05 20:10:27 +10:00
Andrew Murray
a529797857 Assert fp is not None 2025-09-05 20:04:50 +10:00
Andrew Murray
476b122ae4 Simplified code 2025-09-05 20:00:04 +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
29309e4637
Remove unused code (#9114) 2025-09-04 13:46:44 +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
c0004726d6
Improve WalImageFile test coverage (#9189) 2025-09-04 13:37:39 +03:00
Hugo van Kemenade
c1538aca21
Update raqm to 0.10.3 (#9137) 2025-09-04 13:35:19 +03:00
Andrew Murray
e0da1a62ec Use walrus operator 2025-09-04 08:10:31 +10:00
Andrew Murray
877707379b Deprecate Image._show 2025-09-03 22:38:37 +10:00
Andrew Murray
e73b5ff4cd Do not unnecessarily update __offset 2025-09-03 19:35:01 +10:00
Andrew Murray
72c067af29 Check all reserved bytes in header 2025-09-03 19:23:26 +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
57a5f76e6d Removed unused split 2025-09-02 21:09:07 +10:00
pre-commit-ci[bot]
31eee6e5f7
[pre-commit.ci] pre-commit autoupdate (#9180) 2025-09-02 07:57:54 +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
Andrew Murray
b33254f370
Merge branch 'main' into mode_enums 2025-08-28 08:36:22 +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