Commit Graph

3404 Commits

Author SHA1 Message Date
Andrew Murray
237aea414f Use maxsplit 2025-03-06 20:45:49 +11:00
Hugo van Kemenade
5e9eea12f3
Merge pull request #8803 from radarhere/abstract
Use ABCMeta in classes with abstractmethod
2025-03-05 18:15:33 +02:00
Hugo van Kemenade
00593ff3f8
Merge pull request #8780 from radarhere/save_all
Allow encoderconfig and encoderinfo to be set for appended TIFF images
2025-03-05 18:04:28 +02:00
Andrew Murray
d186a2a8d6 Replace NotImplementedError with abstractmethod 2025-03-05 21:50:09 +11:00
Andrew Murray
2309f0fa60 Inherit classes with abstractmethod from ABC 2025-03-05 21:30:24 +11:00
Hugo van Kemenade
a2b13cc02a Call startswith/endswith once with a tuple 2025-03-03 23:57:40 +02:00
Hugo van Kemenade
e4cac21044 Don't use start=0 in range() 2025-03-03 23:57:40 +02:00
Hugo van Kemenade
721a2fe3b1
Merge pull request #8792 from radarhere/xmp
Corrected exif_transpose error when XMP is tuple
2025-03-03 18:44:55 +02:00
Hugo van Kemenade
7700293438
Merge pull request #8793 from radarhere/gd
Fixed loading GD images
2025-03-03 18:43:03 +02:00
Hugo van Kemenade
a4f5feaf74
Merge pull request #8794 from radarhere/outline
Image.core.outline will no longer raise an AttributeError
2025-03-03 18:19:30 +02:00
Hugo van Kemenade
4e550d47f3
Merge pull request #8791 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.15.0
2025-03-03 18:10:42 +02:00
Hugo van Kemenade
1a62ef9855
Merge pull request #8782 from radarhere/imagetk
Removed ImageTk._show
2025-03-03 18:08:13 +02:00
Hugo van Kemenade
989a35830b
Merge pull request #8773 from radarhere/eof
_seek_check already raises an EOFError
2025-03-03 17:36:24 +02:00
Andrew Murray
a1a467bda2 Image.core.outline will no longer raise an AttributeError 2025-03-03 23:55:19 +11:00
Andrew Murray
51183c2204 Fixed loading images 2025-03-03 21:58:29 +11:00
Andrew Murray
4161bb1645 Corrected error when XMP is tuple 2025-03-03 19:10:55 +11:00
Andrew Murray
d6272297fc Ignore override 2025-03-03 14:48:00 +11:00
Andrew Murray
ebc7a17d86 Removed _show 2025-03-03 07:24:13 +11:00
Andrew Murray
5c93145061 Allow encoderconfig and encoderinfo to be set for appended TIFF images 2025-02-28 22:16:52 +11:00
Andrew Murray
3407f765cc Document using encoderinfo on subsequent frames from #8483 2025-02-28 10:28:48 +11:00
Andrew Murray
85f439f575 _seek_check already raises an EOFError 2025-02-25 18:46:22 +11:00
Andrew Murray
ddb238c70d Only set mode when necessary 2025-02-20 07:57:10 +11:00
Hugo van Kemenade
9665eb3972 Replace slice and comparison with endswith 2025-02-17 23:39:33 +02:00
Hugo van Kemenade
1e574e6f8b Replace slice and comparison with startswith 2025-02-17 23:39:33 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif 2025-02-17 13:07:20 +02:00
Andrew Murray
f8566b90eb
Merge pull request #8755 from hugovk/rm-_wedge
Remove debug `Image._wedge`
2025-02-16 04:54:27 +11:00
Hugo van Kemenade
ff960b8841 Remove debug Image._wedge 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
1c18d29c34 Remove unused bdf_slant and bdf_spacing variables 2025-02-15 13:26:06 +02:00
Andrew Murray
8f4bfe1fe5 Only crop when saving with disposal method 2 if transparency is present 2025-02-12 19:12:27 +11:00
Andrew Murray
b59dea60a6 Simplify Python code by receiving tuple from C 2025-02-08 21:07:25 +11:00
Hugo van Kemenade
b57b4e5f2c
Merge pull request #8735 from radarhere/affine 2025-02-06 13:26:24 +02:00
Andrew Murray
41861e8e9f Updated AffineTransform docstring to mention it uses the inverse matrix 2025-02-06 19:26:49 +11:00
Andrew Murray
b19506a499 Simplify Python code by passing tuples to C 2025-02-05 19:12:50 +11:00
Andrew Murray
2810d7c6ba
Merge pull request #8721 from radarhere/justify
Added "justify" align for multiline text
2025-02-04 20:10:39 +11:00
pre-commit-ci[bot]
955d678ca2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:36:01 +00:00
Hugo van Kemenade
793e1fcba2
Merge pull request #8709 from radarhere/seek 2025-01-31 14:11:07 +02:00
Hugo van Kemenade
b03f143df1
Merge pull request #8701 from radarhere/stroke_outside 2025-01-31 13:35:22 +02:00
Hugo van Kemenade
84adbe5da8
Support saving PNG cICP chunk (#8704) 2025-01-31 13:24:08 +02:00
Andrew Murray
10eaff8ac7 Added "justify" align for multiline text 2025-01-29 20:12:45 +11:00
Andrew Murray
7093de46a7 Moved common multiline code into _prepare_multiline_text 2025-01-29 19:42:25 +11:00
Andrew Murray
9a4f39588d Use embedded color for text length in multiline_text 2025-01-29 18:58:53 +11:00
Andrew Murray
8a90975c14 Seek relative to current position 2025-01-22 23:14:34 +11:00
Andrew Murray
427244877b Support saving cICP chunk 2025-01-19 15:09:12 +11:00
Andrew Murray
0318304f9a Do not draw normal text onto stroke text if they are the same color 2025-01-18 21:58:15 +11:00
Andrew Murray
8d9279dd73 Only use outside border of stroke in text() 2025-01-18 21:58:04 +11:00
Andrew Murray
c78d23d547 Moved _close_fp into ImageFile 2025-01-18 21:22:44 +11:00
Andrew Murray
4ff18e03b8 Moved file pointer handling into ImageFile close 2025-01-18 20:57:04 +11:00
Hugo van Kemenade
4f7510b77b
Merge pull request #8689 from radarhere/get_child_images 2025-01-17 22:29:50 +02:00
Andrew Murray
be8e55d28d Added deprecation warning 2025-01-17 18:34:23 +11:00
Hugo van Kemenade
bff83cff59
Merge pull request #8568 from radarhere/fixifd 2025-01-16 16:33:42 +02:00