Commit Graph

5439 Commits

Author SHA1 Message Date
Andrew Murray
a85d3b135d
Only update Python palette when loading an image if rawmode was different (#9309) 2026-01-04 06:20:56 +11:00
Andrew Murray
b8351fde41
Added type hints to map_metadata_keys() (#9337) 2026-01-03 17:08:17 +11:00
Andrew Murray
e924cfd181 Fix unclosed file warning 2026-01-02 21:32:22 +11:00
Andrew Murray
5b677ca1c6 Assert palette is not None 2026-01-02 20:31:47 +11:00
Andrew Murray
b71109d435
Merge branch 'main' into load_palette 2026-01-02 20:21:23 +11:00
Andrew Murray
3baedf2648
Deprecate getdata(), in favour of new get_flattened_data() (#9292) 2026-01-02 10:59:56 +11:00
Hugo van Kemenade
8dee8dd5ba
Add ImageFile context manager (#9367) 2026-01-01 15:50:26 +02:00
Hugo van Kemenade
b2d9bc3c76
Support saving APNG float durations (#9365) 2026-01-01 15:49:03 +02:00
Hugo van Kemenade
f130c10a9c
Allow 1 mode images in MorphOp (#9348) 2026-01-01 15:30:47 +02:00
Andrew Murray
ce11a0c499 Added ImageFile context manager 2026-01-01 20:31:22 +11:00
Andrew Murray
a868c29eb1
Assert fp is not None (#8617) 2026-01-01 20:01:38 +11:00
Andrew Murray
91f219fdcf Support saving float durations 2026-01-01 17:32:59 +11:00
Andrew Murray
d62955031b
Allow for duplicate font variation styles (#9362)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-01 08:53:04 +11:00
Andrew Murray
6b892c495c Merge branch 'main' into imagemorph_get_on_pixels 2025-12-31 23:10:34 +11:00
Andrew Murray
2ebb3e9964
Use different variables for Image and ImageFile instances (#9316) 2025-12-28 23:09:46 +02:00
Andrew Murray
a04c9806b1
Return LUT from LutBuilder build_default_lut() (#9350) 2025-12-28 23:03:47 +02:00
Andrew Murray
a704711404 Allow 1 mode images in apply() and match() 2025-12-23 14:13:51 +11:00
Andrew Murray
9b7200d2b4 Allow 1 mode images in MorphOp get_on_pixels() 2025-12-23 12:50:26 +11:00
Andrew Murray
6a769da21b Corrected variable type 2025-12-11 23:27:29 +11:00
Hugo van Kemenade
6d493aa817
Fix testing good P mode BMP images (#9319) 2025-12-10 22:04:23 +02:00
Andrew Murray
7c3ece07c9 Changed type so that im has fp attribute 2025-12-03 22:46:42 +11:00
Andrew Murray
46ac30aa80 Use different variables for Image and ImageFile instances 2025-12-03 22:46:42 +11:00
Andrew Murray
4024f0287d Assert image type 2025-12-03 22:46:42 +11:00
Andrew Murray
4d511d86ed Changed argument type to match use 2025-12-03 22:46:42 +11:00
Andrew Murray
b3d9ba8e88 Removed unused files 2025-12-02 10:42:14 +11:00
Andrew Murray
47c6aae0ca Fixed testing good P mode BMP images 2025-12-02 10:40:43 +11:00
Hugo van Kemenade
77e16b1030
Apply encoder options when saving multiple PNG frames (#9300) 2025-11-30 22:21:42 +02:00
Hugo van Kemenade
2150f088ed
Read all non-zero transparency from mode 1 PNG images as 255 (#9282) 2025-11-30 22:20:38 +02:00
Hugo van Kemenade
972bb4c39b
Test ImageFont.ImageFont, in case freetype2 is not supported (#9287) 2025-11-30 22:20:15 +02:00
Hugo van Kemenade
c9095cb02a
Support writing IFD, SIGNED_RATIONAL and InkNames TIFF tags (#9276) 2025-11-30 22:14:18 +02:00
Hugo van Kemenade
89795df94f
Use different variables for Image and ImageFile instances (#9268) 2025-11-30 22:11:22 +02:00
Andrew Murray
37da2ba381 Corrected allocating new color to RGBA palette 2025-11-29 17:22:44 +11:00
Andrew Murray
d06c8b3591 Test drawing a new color onto a dirty palette 2025-11-27 13:12:42 +11:00
Andrew Murray
142c1320b2 Apply encoder options when saving multiple PNG frames 2025-11-14 20:08:49 +11:00
Andrew Murray
b3d9bd9950 Test ImageFont.ImageFont, in case freetype2 is not supported 2025-11-03 23:07:15 +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
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
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
b1e2f2e652 Improved coverage 2025-10-22 20:08:22 +11:00
Andrew Murray
e1f4352ce9 Fixed ZeroDivisionError 2025-10-21 23:11:18 +11:00
Andrew Murray
4b90888a7d Added type hints 2025-10-20 19:38:29 +11:00
Andrew Murray
51e3fe45bf Use different variables for Image and ImageFile instances 2025-10-20 19:18:00 +11:00
Andrew Murray
e969fa7aea Correct __getitem__ return type 2025-10-17 06:14:02 +11:00
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