Andrew Murray
|
9f4195752d
|
Added type hints (#8867)
|
2025-04-03 13:24:37 +03:00 |
|
Andrew Murray
|
8dbbce624f
|
Compare absolute path of filename
|
2025-04-02 12:16:25 +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 |
|
Andrew Murray
|
f673f3e543
|
Close file handle on error (#8846)
|
2025-03-30 21:16:50 +03:00 |
|
Andrew Murray
|
4236b583a1
|
Do not import TYPE_CHECKING
|
2025-03-30 22:16:16 +11:00 |
|
pre-commit-ci[bot]
|
d2683e052f
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2025-03-30 11:13:51 +00:00 |
|
Andrew Murray
|
80d5b421eb
|
Do not import type checking
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2025-03-30 22:13:21 +11:00 |
|
Andrew Murray
|
ca9f4f8304
|
Merge branch 'main' into imagegrab
|
2025-03-30 21:53:23 +11:00 |
|
Adian Kozlica
|
ec11f7aaed
|
Merge branch 'main' into image_grab_wayland_kde
|
2025-03-29 23:51:29 +01:00 |
|
Andrew Murray
|
bce83ac800
|
Enable mmap on PyPy (#8840)
|
2025-03-29 18:36:36 +02:00 |
|
Andrew Murray
|
25653d2f87
|
Corrected P mode save (#8685)
|
2025-03-29 18:34:42 +02:00 |
|
Andrew Murray
|
03dc994baa
|
Check that _fp type is not DeferredError before use (#8640)
|
2025-03-29 18:30:30 +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
|
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 |
|
Andrew Murray
|
e685e2833e
|
Do not create temporary file if no utility is available
|
2025-03-29 18:27:02 +11: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
|
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
|
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
|
acd8548f6e
|
Removed FIXME
|
2025-03-20 22:36:59 +11:00 |
|
Andrew Murray
|
ba2c4291ea
|
Updated comment
|
2025-03-19 19:22:15 +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 |
|
Hugo van Kemenade
|
74fec91d33
|
Merge pull request #8807 from radarhere/dxt1
Support saving DDS images with pixel formats
|
2025-03-18 15:31:38 +02:00 |
|
Andrew Murray
|
841ba163fd
|
If every tile covers the image, only use the last offset
|
2025-03-18 00:21:08 +11:00 |
|
Andrew Murray
|
cd11792c15
|
Added BC5 saving
|
2025-03-17 07:55:25 +11:00 |
|
Andrew Murray
|
b0315cc603
|
Added BC2 loading and saving
|
2025-03-17 07:55:24 +11:00 |
|
Andrew Murray
|
f1a61a1e76
|
Added DXT3 saving
|
2025-03-17 07:55:24 +11:00 |
|
Andrew Murray
|
9f619b814f
|
Added BC3 loading and saving
|
2025-03-17 07:55:24 +11:00 |
|
Andrew Murray
|
9430bbe5a1
|
Added DXT5 saving
|
2025-03-17 07:55:24 +11:00 |
|
Andrew Murray
|
3dbd0e57ba
|
Added DXT1 encoding
|
2025-03-17 07:55:24 +11:00 |
|
Andrew Murray
|
669a288beb
|
Convert all entries to bytes at once
|
2025-03-17 07:52:51 +11:00 |
|
Andrew Murray
|
ca0c940cb1
|
Do not add palette entries when reading other lines
|
2025-03-17 07:52:51 +11:00 |
|
Andrew Murray
|
6e597a1ca7
|
Do not force palette length to be 256
|
2025-03-17 07:52:51 +11:00 |
|
Andrew Murray
|
1f6fd3b994
|
Only convert to int if there are enough items
|
2025-03-17 07:52:51 +11:00 |
|
Andrew Murray
|
e1cd9ad5ac
|
Use maxsplit
|
2025-03-17 07:52:51 +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 |
|
Andrew Murray
|
f056c259a7
|
Support ttb multiline text
|
2025-02-06 22:30:09 +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 |
|
Andrew Murray
|
c67ed4678b
|
Moved strings inside debug statement
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2025-01-16 23:48:44 +11:00 |
|
Andrew Murray
|
a922126ed7
|
Assert fp is not None
|
2025-01-13 07:57:50 +11:00 |
|
Andrew Murray
|
34762ded75
|
Assert JpegIFByteCount is int
|
2025-01-13 07:57:28 +11:00 |
|
Andrew Murray
|
5ad98e7abb
|
Moved get_child_images()
|
2025-01-13 07:54:43 +11:00 |
|
Andrew Murray
|
64bfdff6c8
|
Only F mode starts with F
|
2025-01-10 21:51:33 +11:00 |
|
Hugo van Kemenade
|
af3b904233
|
Merge pull request #8663 from radarhere/bigtiff
|
2025-01-08 19:15:31 +02:00 |
|
Hugo van Kemenade
|
01792cbff0
|
Merge pull request #8652 from radarhere/tile
|
2025-01-08 19:03:31 +02:00 |
|
Hugo van Kemenade
|
a9dcac0f31
|
Merge pull request #8660 from HarmvandenBrand/tiff_plugin_error_msg
|
2025-01-08 18:59:31 +02:00 |
|
Hugo van Kemenade
|
5654c863bf
|
Merge pull request #8639 from radarhere/jfif_dpi
|
2025-01-08 18:45:09 +02:00 |
|
Hugo van Kemenade
|
6bce9aa461
|
Merge pull request #8645 from radarhere/mozjpeg
|
2025-01-08 18:44:21 +02:00 |
|
Andrew Murray
|
a8381c619d
|
Allow upgrading LONG to LONG8
|
2025-01-07 21:51:00 +11:00 |
|
Andrew Murray
|
618339e2d2
|
Allow saving multiple frames as BigTIFF
|
2025-01-07 21:51:00 +11:00 |
|
Andrew Murray
|
73a383fa72
|
Use rawmode instead of splitting and merging
|
2025-01-05 06:11:54 +11:00 |
|
Andrew Murray
|
bd56a95659
|
Use namedtuple _replace
|
2025-01-05 05:30:14 +11:00 |
|
Harm.van.den.brand@alliander.com
|
036db2da87
|
OSError caused by decode error should use string argument to be in line with rest of module
|
2025-01-03 12:50:19 +01:00 |
|
Marc Mueller
|
1678f7f215
|
Add overloads for exif_transpose
|
2025-01-02 17:38:21 +01:00 |
|
Andrew Murray
|
57786a252b
|
11.2.0.dev0 version bump
|
2025-01-02 19:04:18 +11:00 |
|
Andrew Murray
|
4c1aed801e
|
11.1.0 version bump
|
2025-01-02 16:00:59 +11:00 |
|
Andrew Murray
|
6b75e06875
|
Do not reread start of header in decoder
|
2025-01-01 22:58:04 +11:00 |
|
Andrew Murray
|
b89cc09944
|
Corrected BLP1 alpha depth handling
|
2025-01-01 12:22:55 +11:00 |
|
Andrew Murray
|
8d78cfcc5a
|
Added return types
|
2025-01-01 09:10:16 +11:00 |
|
Andrew Murray
|
06e02cc1d9
|
Added compile-time mozjpeg feature flag
|
2024-12-31 21:44:57 +11:00 |
|
Andrew Murray
|
8bdcadcbe9
|
Renamed argument to big_tiff
|
2024-12-31 10:16:00 +11:00 |
|
Andrew Murray
|
2ac383028a
|
Allow saving as BigTIFF
|
2024-12-31 01:26:13 +11:00 |
|
Andrew Murray
|
7d5ccffae3
|
Merge pull request #8629 from radarhere/makernote
Restored Makernote as a deprecated enum
|
2024-12-30 21:52:04 +11:00 |
|
Andrew Murray
|
050caa9cae
|
Restored Makernote as a deprecated enum
|
2024-12-30 21:14:23 +11:00 |
|
Andrew Murray
|
7cee64ad1b
|
Use endswith
|
2024-12-30 19:45:46 +11:00 |
|
Andrew Murray
|
167ed55d8b
|
Use elif
|
2024-12-30 19:37:38 +11:00 |
|
Hugo van Kemenade
|
171531cb67
|
Merge pull request #8635 from radarhere/exif_ifd
|
2024-12-29 21:36:15 +02:00 |
|
Hugo van Kemenade
|
743256f80b
|
Merge pull request #8633 from radarhere/jfif_unit
|
2024-12-29 20:45:20 +02:00 |
|
Andrew Murray
|
9368a86397
|
Keep new IFDs when converting EXIF to bytes
|
2024-12-29 07:43:47 +11:00 |
|
Hugo van Kemenade
|
41a89ea2dd
|
Merge pull request #8622 from radarhere/jpeg2000_comment
|
2024-12-28 13:05:26 +02:00 |
|
Andrew Murray
|
8945875c6c
|
Populate DPI from JFIF cm density
|
2024-12-28 21:28:44 +11:00 |
|
Andrew Murray
|
f10e9f42d3
|
Do not use temporary file in grabclipboard() on macOS
|
2024-12-28 14:29:29 +11:00 |
|
Hugo van Kemenade
|
86d396a124
|
Merge pull request #8555 from radarhere/exif
|
2024-12-27 21:45:00 +02:00 |
|
Hugo van Kemenade
|
2c3395f262
|
Merge pull request #8553 from radarhere/tile
|
2024-12-27 21:43:38 +02:00 |
|
Hugo van Kemenade
|
4df23c0f26
|
Merge pull request #8535 from radarhere/tiff
|
2024-12-27 21:40:12 +02:00 |
|
Hugo van Kemenade
|
99ee337e07
|
Merge pull request #8529 from radarhere/tiff_tags
|
2024-12-27 21:35:02 +02:00 |
|
Hugo van Kemenade
|
f42d1c1b04
|
Merge pull request #8483 from radarhere/xmp
|
2024-12-27 21:30:54 +02:00 |
|
Hugo van Kemenade
|
510c84ad03
|
Merge pull request #8476 from radarhere/jpeg_state
|
2024-12-27 21:29:17 +02:00 |
|
Andrew Murray
|
622722f295
|
Corrected loadImageSeries type hint
|
2024-12-26 20:04:27 +11:00 |
|
Andrew Murray
|
dd410e4b32
|
Added reading of J2K comments
|
2024-12-26 10:51:45 +11:00 |
|
Andrew Murray
|
0e3f51dec6
|
Merge pull request #8613 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.14.0
|
2024-12-22 15:11:09 +11:00 |
|
Hugo van Kemenade
|
1146190d75
|
Merge pull request #8615 from radarhere/exiftags
|
2024-12-22 00:34:42 +02:00 |
|
Andrew Murray
|
5fe80e1c48
|
Use hex values more consistently
|
2024-12-22 07:30:59 +11:00 |
|
Andrew Murray
|
b99a00f44f
|
Updated MakerNote IFD capitalization
|
2024-12-22 07:24:08 +11:00 |
|
Andrew Murray
|
08e1f9ebc1
|
Lint fixes
|
2024-12-21 13:06:09 +11:00 |
|
Andrew Murray
|
cf4110ff06
|
Replace constants with enums (#8611)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
|
2024-12-20 15:55:44 +02:00 |
|
Andrew Murray
|
cbc55c4621
|
Raise ValueError when WMF inch is zero (#8600)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
|
2024-12-18 08:08:51 +02:00 |
|
Andrew Murray
|
0ca832cfa5
|
Merge branch 'main' into xmp
|
2024-12-17 18:43:00 +11:00 |
|
Hugo van Kemenade
|
2c120b53f6
|
Merge pull request #8579 from radarhere/tiff_debug
Do not describe raw data as a table
|
2024-12-16 15:16:41 +02:00 |
|
Hugo van Kemenade
|
e40033dfc4
|
Merge pull request #8494 from radarhere/gif_palette
Improved handling of RGBA palettes when saving GIF images
|
2024-12-16 15:10:17 +02:00 |
|
Andrew Murray
|
01bc487ff4
|
Merge branch 'main' into zlib-ng
|
2024-12-14 19:06:00 +11:00 |
|
Andrew Murray
|
3ce33a253a
|
self.tile is not None
|
2024-12-03 20:14:03 +11:00 |
|