Hugo van Kemenade
ba5f81fb6b
Add support for Python 3.14 ( #9120 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-07-30 22:23:39 +10:00
renovate[bot]
bae97e1a2b
Update dependency cibuildwheel to v3.1.2 ( #9118 )
2025-07-30 21:50:45 +10:00
Hugo van Kemenade
8ec31431cb
Drop support for PyPy3.10 ( #9112 )
2025-07-28 22:34:58 +03:00
Andrew Murray
98d38a3bff
Updated libpng to 1.6.50 ( #9058 )
2025-07-28 18:52:06 +10:00
Andrew Murray
53b6d57b73
Drop support for PyPy3.10
2025-07-26 19:39:54 +10:00
renovate[bot]
7dbcb32cbe
Update cygwin/cygwin-install-action action to v6 ( #9108 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-07-26 19:32:57 +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
Hugo van Kemenade
640f55a655
Update for pyroma 5.0 ( #9093 )
2025-07-24 12:25:04 +03:00
Andrew Murray
f4d86e4f44
Use teardown_method
2025-07-24 07:27:39 +10:00
Andrew Murray
a39d14648b
Updated manifest
2025-07-16 13:54:43 +10:00
Andrew Murray
a426eb55af
Remove file after test completion
2025-07-16 13:54:33 +10:00
Andrew Murray
91bbeb5dcb
Revert iOS change until the test runs again
2025-07-16 13:54:13 +10:00
wiredfool
d56032047d
Add parallel compile from pybind11 ( #8990 )
2025-07-15 18:26:13 +02:00
Hugo van Kemenade
5e26d2fa2c
Improve WmfImagePlugin test coverage ( #9090 )
2025-07-15 09:16:08 +03:00
renovate[bot]
638eb1b999
Update dependency mypy to v1.17.0 ( #9092 )
2025-07-15 13:23:40 +10:00
Hugo van Kemenade
71d495add8
Improve DdsImagePlugin test coverage ( #9091 )
2025-07-14 23:40:29 +03:00
Andrew Murray
7516805121
Improved DDS test coverage
2025-07-14 19:29:27 +10:00
Andrew Murray
d85fa7a247
Improved WmfImagePlugin test coverage
2025-07-13 16:13:44 +10:00
Hugo van Kemenade
d80cf0ee1b
Improve ImageMath test coverage ( #9087 )
2025-07-11 20:35:36 +03:00
Andrew Murray
a8bb7579dc
Improved ImageMath test coverage
2025-07-11 21:06:30 +10:00
Hugo van Kemenade
7b1ba29b5b
Remove unused _save_cjpeg ( #9084 )
2025-07-11 10:58:56 +03:00
Hugo van Kemenade
3c4fe62c1e
Update libwebp to 1.6.0 ( #9082 )
2025-07-11 10:46:17 +03:00
Andrew Murray
985544d557
Do not disable libwebpexamples
2025-07-11 13:28:08 +10:00
Andrew Murray
722c130b31
Restored URL
...
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-07-11 13:12:38 +10:00
Andrew Murray
d88986a184
Link transitive dependencies
...
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-07-11 12:53:43 +10:00
Andrew Murray
50dde1c125
Remove unused _save_cjpeg
2025-07-10 23:19:16 +10:00
Andrew Murray
6c12d188db
Updated libwebp to 1.6.0
2025-07-10 22:33:31 +10:00
Hugo van Kemenade
d74fdc4b5d
Ensure dynamic libjpeg libraries are not linked ( #9081 )
2025-07-10 11:06:32 +03:00
Russell Keith-Magee
2af930b2f7
Ensure dynamic libjpeg libraries are not linked.
2025-07-10 12:07:38 +08:00
Hugo van Kemenade
329d6a6a62
Remove reference to libtiff 3.x ( #9072 )
2025-07-08 20:01:35 +03:00
Hugo van Kemenade
3e5df07b34
Fix unclosed file warning ( #9065 )
2025-07-08 19:57:09 +03:00
Hugo van Kemenade
d58f4d5f1f
Added "Colors" to concepts ( #9067 )
2025-07-08 19:56:53 +03:00
Andrew Murray
cbd47d8609
Removed handling of deprecated WebP features
2025-07-08 23:07:07 +10:00
Andrew Murray
c9cf688ee7
Removed ImageDraw.getdraw hints deprecation section
2025-07-08 21:10:26 +10:00
renovate[bot]
2195faf0dc
Update dependency cibuildwheel to v3.0.1 ( #9075 )
2025-07-08 13:44:13 +10:00
Andrew Murray
06f5cd1dde
Restored manylinux2014 wheels ( #9059 )
2025-07-08 11:31:03 +10:00
Hugo van Kemenade
27d47b3abf
[pre-commit.ci] pre-commit autoupdate ( #9073 )
2025-07-07 23:43:15 +03:00
Andrew Murray
e88f312029
Fix unclosed file warning
2025-07-08 06:38:16 +10:00
Andrew Murray
4cfef00574
Added "Colors" to concepts
2025-07-08 06:37:03 +10:00
pre-commit-ci[bot]
14b0cebfc1
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.0 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.2 )
- [github.com/PyCQA/bandit: 1.8.5 → 1.8.6](https://github.com/PyCQA/bandit/compare/1.8.5...1.8.6 )
- [github.com/pre-commit/mirrors-clang-format: v20.1.6 → v20.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v20.1.6...v20.1.7 )
- [github.com/python-jsonschema/check-jsonschema: 0.33.1 → 0.33.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.33.1...0.33.2 )
- [github.com/woodruffw/zizmor-pre-commit: v1.9.0 → v1.11.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.9.0...v1.11.0 )
2025-07-07 17:16:48 +00:00
Hugo van Kemenade
44a553a0a2
Pyroma now supports PEP 639 ( #9064 )
2025-07-07 19:12:30 +03:00
Hugo van Kemenade
ef129003d9
Update macOS tested Pillow versions ( #9068 )
2025-07-07 16:23:04 +03:00
Andrew Murray
756dd04705
Removed reference to libtiff 3.x
2025-07-07 19:09:39 +10:00
Andrew Murray
a84458ffbd
Revert "Work around pyroma test"
...
This reverts commit d8a0cb5db1
.
2025-07-07 18:57:58 +10:00
Hugo van Kemenade
dcd202568a
Remove deprecations for Pillow 12.0.0 ( #9053 )
2025-07-07 11:49:02 +03:00
Andrew Murray
dc9e0cf326
Thanks, folks! ( #9056 )
2025-07-07 09:48:39 +10:00
Andrew Murray
1ee91f22ba
Updated macOS tested Pillow versions
2025-07-05 22:51:02 +10:00
Jeffrey A. Clark
77f3a091b8
Setup nit: "fork" should be lowercased ( #9055 )
2025-07-01 10:54:12 -04:00
Andrew Murray
f2417d8b39
Added release notes
2025-07-02 00:00:21 +10:00
Andrew Murray
0e3aac1ed1
Updated deprecation timeline
2025-07-02 00:00:21 +10:00
Andrew Murray
92bafe6b88
Removed support for FreeType <= 2.9.0
2025-07-02 00:00:21 +10:00
Andrew Murray
aaf217cea0
Removed ICNS (width, height, scale) sizes
2025-07-02 00:00:21 +10:00
Andrew Murray
9fbc255ce5
Removed non-image modes in ImageCms
2025-07-02 00:00:21 +10:00
Andrew Murray
b4bc43fed2
Removed ImageCms constants and versions()
2025-07-02 00:00:21 +10:00
Andrew Murray
4301c1fde6
Removed ImageMath eval and options parameters
2025-07-02 00:00:21 +10:00
Andrew Murray
0a29d6392a
Removed IptcImageFile helper functions
2025-07-02 00:00:21 +10:00
Andrew Murray
9c9449af34
Removed support for LibTIFF < 4
2025-07-02 00:00:16 +10:00
Andrew Murray
a7e00fba8b
Removed ImageDraw.getdraw hints parameter
2025-07-01 23:57:50 +10:00
Andrew Murray
88018c1c2d
Removed id and unsafe_ptrs
2025-07-01 23:57:50 +10:00
Andrew Murray
cce39084f5
Removed specific WebP feature checks
2025-07-01 23:57:50 +10:00
Andrew Murray
b72b8dd84d
Removed JpegImageFile.huffman_ac and JpegImageFile.huffman_dc
2025-07-01 23:57:50 +10:00
Andrew Murray
1800e580d2
Removed ImageFile raise_oserror()
2025-07-01 23:57:50 +10:00
Andrew Murray
5d4a05465d
Removed Image isImageType()
2025-07-01 23:57:50 +10:00
Andrew Murray
583f0a50d5
Removed BGR;15, BGR;16 and BGR;24 modes
2025-07-01 23:57:46 +10:00
Jeffrey A. Clark
d4ef93150f
Thanks, folks!
...
As a general rule I think we should acknowledge when significant
contribtions come from outside the core team. We know the core team
does a lot of work (thank you!) but it's not always obvious when
significant contributions come from outside the core team.
In the old change log, we had ACKs via `[radarhere]` syntax which I
miss. I don't expect we'll start using the old change log again but
maybe we can make a note in the release notes to include such ACKs as
needed and appropriate.
2025-07-01 09:25:32 -04:00
Jeffrey A. Clark
0cd2d3b24b
Setup nit: "fork" should be lowercased
2025-07-01 09:10:20 -04:00
Andrew Murray
37cd041e5e
12.0.0.dev0 version bump
2025-07-01 19:25:23 +10:00
Andrew Murray
89f1f4626a
11.3.0 version bump
2025-07-01 17:41:24 +10:00
Andrew Murray
f2de251c76
Updated check script paths ( #9052 )
2025-07-01 15:17:56 +10:00
Hugo van Kemenade
84855d11c8
Raise FileNotFoundError when opening an empty path ( #9048 )
2025-06-30 17:48:44 +03:00
Andrew Murray
204d11d4da
Raise FileNotFoundError when opening an empty path
2025-06-30 22:29:41 +10:00
Hugo van Kemenade
2b39f7581e
Handle IPTC TIFF tags with incorrect type ( #8925 )
2025-06-30 15:25:19 +03:00
Hugo van Kemenade
e7a53ba19b
Do not update palette for L mode GIF frame ( #8924 )
2025-06-30 15:24:18 +03:00
Hugo van Kemenade
c22230b761
Use save parameters as encoderinfo defaults ( #9001 )
2025-06-30 15:13:12 +03:00
Russell Keith-Magee
da10ed1cf3
Add support for iOS ( #9030 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 21:46:07 +10:00
Kylian Ronfleux--Corail
be2b4e7864
Fix qtables and quality scaling ( #8879 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 20:46:40 +10:00
Andrew Murray
d4162f8505
Updated return type
2025-06-30 18:27:49 +10:00
Hugo van Kemenade
a2fbd58f4b
Read 16-bit McIdas images into I;16B mode to allow for memory mapping ( #9046 )
2025-06-29 15:38:26 +03:00
Hugo van Kemenade
144890255f
Support ttb multiline text ( #8730 )
2025-06-28 14:35:13 +03:00
Hugo van Kemenade
c084bd7d95
Use unpacking ( #9044 )
2025-06-28 14:33:10 +03:00
Hugo van Kemenade
d263e3ba13
Fix saving MPO with more than one appended image ( #8979 )
2025-06-28 14:32:33 +03:00
Andrew Murray
4ac2403532
Read 16-bit images into I;16B mode to allow for memory mapping
2025-06-28 15:48:44 +10:00
Andrew Murray
26ae44e059
Merge branch 'main' into ttb
2025-06-28 13:49:43 +10:00
Andrew Murray
ed82f4d235
Use unpacking
2025-06-28 10:57:23 +10:00
Andrew Murray
5732a86cc6
Use snake case
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-28 10:52:25 +10:00
Andrew Murray
a370209fea
Add match
parameter to pytest.warns()
( #9038 )
2025-06-28 10:29:34 +10:00
Andrew Murray
69c0c422c8
Increase pytest verbosity ( #9040 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-28 10:29:01 +10:00
Andrew Murray
a0a1ff14c4
Merge branch 'main' into encoderinfo_frames
2025-06-28 01:35:59 +10:00
Andrew Murray
646b4a4ecd
Merge branch 'main' into mpo
2025-06-28 01:20:15 +10:00
Andrew Murray
41129ce1cb
Use list
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-28 01:20:02 +10:00
Hugo van Kemenade
3a66b1d291
Restore original encoderinfo after saving ( #8942 )
2025-06-27 18:04:43 +03:00
Hugo van Kemenade
935e9e4fbd
Return PixelAccess from first load of ICO and IPTC images ( #8922 )
2025-06-27 18:02:48 +03:00
Hugo van Kemenade
c96b27711c
Improve justifying text ( #8905 )
2025-06-27 18:01:25 +03:00
Hugo van Kemenade
ba37249ab7
Set color table fourth channel to zero for 1 and L mode when saving BMP ( #8889 )
2025-06-27 18:00:06 +03:00
Hugo van Kemenade
3a18e555f0
Assert palette is not None ( #8877 )
2025-06-27 17:53:55 +03:00
Hugo van Kemenade
3d21c16977
Improve reading XPM images ( #8874 )
2025-06-27 17:53:34 +03:00
Andrew Murray
d07aa6fd17
Added release notes for #9041 ( #9042 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-28 00:30:22 +10:00
Andrew Murray
ef98b3510e
Fix buffer overflow when saving compressed DDS images ( #9041 )
...
Co-authored-by: Eric Soroos <eric-github@soroos.net>
2025-06-28 00:29:58 +10:00
Hugo van Kemenade
958c449b98
Close image after assert
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-06-27 16:17:20 +03:00
Andrew Murray
e783aff688
Improve SgiImagePlugin test coverage ( #8896 )
2025-06-27 15:32:30 +03:00
Hugo van Kemenade
6aff8fcc18
Fix PT031 ( #135 )
2025-06-27 14:30:41 +03:00
Andrew Murray
a61a23d7ae
Fixed PT031
2025-06-27 13:00:48 +10:00
Andrew Murray
092e37a56c
Merge branch 'main' into bump-pre-commit
2025-06-27 11:04:44 +10:00
Hugo van Kemenade
1788ab7887
Do not import type checking ( #8854 )
2025-06-26 18:52:09 +03:00
Hugo van Kemenade
cb061f7269
Update ruff pre-commit ID ( #8994 )
2025-06-26 18:50:17 +03:00
Hugo van Kemenade
a27731b2af
Improve type hints ( #8883 )
2025-06-26 18:49:39 +03:00
Hugo van Kemenade
d1894dcd46
Add match parameter to pytest.warns()
2025-06-26 18:12:36 +03:00
Hugo van Kemenade
234875bf90
Update Ruff hook from legacy
2025-06-26 17:56:26 +03:00
Hugo van Kemenade
b9afe18646
Bump pre-commit hooks
2025-06-26 17:56:26 +03:00
Frankie Dintino
3d261a2101
Add AVIF to wheels using only aomenc and dav1d AVIF codecs for reduced size ( #8858 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-26 16:21:44 +10:00
Andrew Murray
23ed906b62
Removed default limit of 4
2025-06-25 22:00:36 +10:00
Andrew Murray
ecd264fffc
Use "parallel" config setting and 4 as defaults
2025-06-25 21:43:03 +10:00
Hugo van Kemenade
46d969168e
Use PEP 489 multi-phase initialization ( #8983 )
2025-06-25 11:32:37 +01:00
Andrew Murray
a549c5528a
Merge branch 'main' into pybind11
2025-06-25 20:31:48 +10:00
Hugo van Kemenade
1e5eb3b29d
Support saving I;16L TIFF images ( #9015 )
2025-06-25 11:11:47 +01:00
Hugo van Kemenade
8655b7c559
Only check DHT marker for libjpeg-turbo ( #9025 )
2025-06-25 11:09:55 +01:00
Hugo van Kemenade
8cf8b0dde0
Do not call sys.executable in ImageShow in PyInstaller application ( #9028 )
2025-06-25 10:46:46 +01:00
Hugo van Kemenade
c704f43288
Deprecate fromarray mode argument ( #9018 )
2025-06-25 10:44:39 +01:00
Hugo van Kemenade
0450f99596
Search for libtiff library file first on Windows and macOS ( #9034 )
2025-06-25 10:42:00 +01:00
Andrew Murray
e1ee8afc7d
Search for libtiff library file first on Windows and macOS
2025-06-25 10:42:09 +10:00
Andrew Murray
acd8b0c2ac
Fix libtiff cleanup ( #9002 )
2025-06-25 09:09:31 +10:00
Hugo van Kemenade
129267bc82
Use percent formatting for _dbg calls ( #9035 )
2025-06-24 18:37:07 +01:00
Andrew Murray
18f8af78d3
Pass strings or tuples of strings to _dbg
2025-06-24 20:35:09 +10:00
Andrew Murray
1557585411
Use percent formatting
2025-06-24 20:29:38 +10:00
Andrew Murray
2954964cd2
Removed ImageCmsProfile._set method ( #9032 )
...
Co-authored-by: Luke Granger-Brown <git@lukegb.com>
2025-06-23 07:05:43 +10:00
Andrew Murray
ae02518314
Use same AVIF URL when fetching dependency ( #8871 )
2025-06-22 22:08:51 +10:00
Hugo van Kemenade
f8d53fb8e6
Added Python 3.14 macOS x86-64 wheels ( #9031 )
2025-06-22 09:36:57 +01:00
Andrew Murray
78bc045db9
Merge branch 'main' into fromarray_mode
2025-06-21 21:03:37 +10:00
Hugo van Kemenade
13faa4681c
Deprecate saving I mode images as PNG ( #9023 )
2025-06-21 11:24:28 +01:00
Andrew Murray
216dc4ca60
Added Python 3.14 macOS x86-64 wheels
2025-06-21 19:12:23 +10:00
Andrew Murray
f937dd27cd
Do not call sys.executable in PyInstaller application
2025-06-20 23:44:30 +10:00
Andrew Murray
2316c930f9
Removed default argument
2025-06-19 22:46:09 +10:00
thisismypassport
ef0bab0c65
Support writing QOI images ( #9007 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-19 18:16:26 +10:00
renovate[bot]
92de1db067
Update dependency mypy to v1.16.1 ( #9026 )
2025-06-19 11:12:40 +10:00
Andrew Murray
79e0b0b6ad
Allow for custom stacklevel in deprecations
2025-06-18 22:19:20 +10:00
Andrew Murray
a4e8d675b4
Only check DHT marker for libjpeg-turbo
2025-06-18 21:59:31 +10:00
Andrew Murray
d23d56e195
Deprecate saving I mode images as PNG
2025-06-17 23:10:15 +10:00
Hugo van Kemenade
4d0ebb040a
Add release notes for #8912 and #8969 ( #9019 )
2025-06-16 13:25:43 +03:00
Andrew Murray
7b5e11deb7
Updated heading
2025-06-16 20:06:53 +10:00
Andrew Murray
c19afb9430
Use names
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-16 20:05:34 +10:00
Hugo van Kemenade
ef683e9d78
Simplify C error handling ( #9021 )
2025-06-16 13:01:46 +03:00
Hugo van Kemenade
01267f9dac
Improve BLP tests ( #9020 )
2025-06-16 13:00:30 +03:00
Hugo van Kemenade
850271a912
Fix warning ( #9016 )
2025-06-16 12:57:45 +03:00
Andrew Murray
8309962926
Replaced ImagingError_OSError with PyErr_SetString
2025-06-16 08:19:27 +10:00
Andrew Murray
cb433ad00a
Replaced ImagingError_Clear with PyErr_Clear
2025-06-16 08:15:08 +10:00
Andrew Murray
ce8083e0d8
Match error message
2025-06-14 18:40:03 +10:00
Andrew Murray
59667bbec5
Use *_tofile helpers
2025-06-14 18:39:30 +10:00
Hugo van Kemenade
222b86222e
Update libpng to 1.6.49 ( #9014 )
2025-06-14 10:24:58 +03:00
Andrew Murray
3ac1edf6da
Added release notes for #8912
2025-06-14 17:13:02 +10:00
Andrew Murray
27ce12bb7a
Added release notes for #8969
2025-06-14 16:44:42 +10:00
Andrew Murray
e6af31e709
Deprecate fromarray mode argument
2025-06-14 16:09:11 +10:00
Andrew Murray
5aa09cd107
Updated libpng to 1.6.49
2025-06-14 12:23:01 +10:00
Andrew Murray
925fe51904
Support saving I;16L images
2025-06-14 12:22:48 +10:00
Andrew Murray
4ba97d1327
Removed entries for non-existent modes
2025-06-14 12:22:48 +10:00
Andrew Murray
a219e96fd3
Fixed warning
2025-06-14 12:22:29 +10:00
Hugo van Kemenade
a3d91cb0ce
CI: Require Python >= 3.13.5 on Windows ( #9017 )
2025-06-14 12:21:31 +10:00
Andrew Murray
2e5117305b
Add Python 3.14 beta wheels ( #9012 )
2025-06-13 18:59:32 +10:00
Hugo van Kemenade
3841db0252
Fix: Invalid skip selector: 'pp39-*'
2025-06-13 00:08:52 +03:00
Hugo van Kemenade
aca0e57126
Add 3.14 to CI targets
2025-06-12 23:47:28 +03:00
Hugo van Kemenade
4a1eea8466
Add Python 3.14 beta wheels
2025-06-12 23:47:28 +03:00
Hugo van Kemenade
a76dca9c45
Test Python 3.14t on macOS and Linux ( #9011 )
2025-06-12 19:26:11 +03:00
Hugo van Kemenade
5996dbdc3a
Update dependency cibuildwheel to v3 ( #9010 )
2025-06-12 19:13:45 +03:00
Andrew Murray
9bffc015e6
Use pypy.exe if it exists
2025-06-12 23:52:51 +10:00
Andrew Murray
b9aac77003
Test Python 3.14t
2025-06-12 22:48:27 +10:00
Andrew Murray
d2295c0843
Do not activate virtualenv
2025-06-12 18:53:35 +10:00
renovate[bot]
b65a7acf25
Update dependency cibuildwheel to v3
2025-06-11 13:20:34 +00:00
Andrew Murray
8ccdc399df
Remove padding between interleaved PCX palette data ( #9005 )
2025-06-11 16:19:09 +03:00
Andrew Murray
7f7c27f66a
Start QOI decoding with a zero-initialized array of previously seen pixels ( #9008 )
2025-06-11 22:56:57 +10:00
Andrew Murray
3eb893f0c1
Updated libjpeg-turbo to 3.1.1 ( #9009 )
2025-06-11 13:56:28 +03:00
Andrew Murray
056dc89a3c
Correct drawing I;16 horizontal lines ( #8985 )
2025-06-10 15:12:40 +03:00
Hugo van Kemenade
ff624fe1e6
Reduce number of bytes read for PCX header ( #9004 )
2025-06-10 15:01:02 +03:00
Andrew Murray
d7a45cc250
ImageFont does not handle multiline text ( #9000 )
2025-06-10 14:57:37 +03:00
Hugo van Kemenade
de053fbae0
Handle XMP data from an UNDEFINED TIFF tag ( #8997 )
2025-06-10 14:57:15 +03:00
Andrew Murray
36cea19532
Do not decode bytes in PPM error message ( #8958 )
2025-06-10 14:08:29 +03:00
Andrew Murray
646885e546
Parse XMP tag bytes without decoding to string ( #8960 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-10 14:06:28 +03:00
Andrew Murray
e65e5bea45
Start decoding with a zero-initialized array of previously seen pixels
2025-06-10 20:30:18 +10:00
Andrew Murray
b844007cdc
Clear TIFF core image if memory mapping was used for last load ( #8962 )
2025-06-10 17:03:31 +10:00
Andrew Murray
6bd55684e0
Only accept missing tkinter when building wheels on Windows ( #8981 )
2025-06-10 09:00:08 +03:00
Andrew Murray
7b163cc35d
Use mask in C when drawing wide polygon lines ( #8984 )
2025-06-10 11:46:12 +10:00
Hugo van Kemenade
05636dca17
Simplify code ( #8863 )
2025-06-09 19:33:55 +03:00
Andrew Murray
7341e70f6b
Reduced number of bytes read for header
2025-06-09 12:21:53 +10:00
Andrew Murray
313969cf0b
Removed unnecessary seek
2025-06-09 12:21:49 +10:00
Andrew Murray
ef1f90fe1c
Check for equality rather than inequality
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-06-09 09:06:08 +10:00
Hugo van Kemenade
8e5a15bab7
Call startswith once with a tuple ( #8998 )
2025-06-08 19:19:53 +02:00
Andrew Murray
0bb99e5561
Use save parameters as encoderinfo defaults
2025-06-07 15:08:16 +10:00
Andrew Murray
04c984f2f2
Removed duplicate code
2025-06-07 11:29:11 +10:00
Andrew Murray
89c38258dc
Assert getcolors() does not return None
2025-06-07 11:13:30 +10:00
Andrew Murray
a3da70e76e
Assert load() does not return None
2025-06-07 11:13:30 +10:00
Andrew Murray
cba096b4a9
Assert pixel data is tuple
2025-06-07 11:13:12 +10:00
Andrew Murray
33460d2f82
Assert _getmp() does not return None
2025-06-07 11:09:38 +10:00
Andrew Murray
0d1edba311
Assert tile args is tuple
2025-06-07 11:09:38 +10:00
renovate[bot]
f3b05d6fab
Update dependency mypy to v1.16.0 ( #8991 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-07 11:07:21 +10:00
Andrew Murray
9d5ea827e4
Call startswith once with a tuple
2025-06-05 18:16:05 +10:00
Andrew Murray
f03c23683e
Trim whitespace from end when parsing XMP data
2025-06-04 20:08:58 +10:00
Andrew Murray
cb077a16c8
Handle UNDEFINED XMP data
2025-06-04 20:07:13 +10:00
Hugo van Kemenade
1bf32ae892
Fix test ( #8996 )
2025-06-04 09:06:09 +02:00
Andrew Murray
eb0256acc0
Fixed test
2025-06-03 22:44:26 +10:00
Andrew Murray
fa7413904b
Updated ruff ID
2025-06-03 14:13:22 +10:00
pre-commit-ci[bot]
070e1eba62
[pre-commit.ci] pre-commit autoupdate ( #8993 )
2025-06-03 14:08:24 +10:00
Andrew Murray
95603e9717
Use ImageFile.MAXBLOCK in tobytes() ( #8906 )
2025-06-02 20:14:11 +10:00
Andrew Murray
892fd2c2af
Removed unreachable code ( #8918 )
2025-06-01 15:41:48 +10:00
Eric Soroos
b931402046
add pybind11 elsewhere so mypy can find it
2025-05-31 15:14:17 +02:00
wiredfool
2059e06005
Add parallel compile from pybind11
2025-05-31 14:46:07 +02:00
Hugo van Kemenade
d730e60078
Update Ubuntu CI targets ( #8988 )
2025-05-31 10:52:59 +02:00
Hugo van Kemenade
598066d9e1
Stop testing deprecated Windows Server 2019 runner image ( #8989 )
2025-05-31 07:12:50 +02:00
Andrew Murray
9327e425ba
Stop testing deprecated Windows Server 2019
2025-05-31 12:02:16 +10:00
Andrew Murray
bc4138f169
ubuntu-latest now uses Ubuntu 24.04
2025-05-31 11:48:49 +10:00
仓鼠
3944db288a
Update MinGW package names ( #8987 )
2025-05-31 11:10:45 +10:00
wiredfool
256f6ea1c1
Valgrind Memory Leak Checking ( #8954 )
2025-05-30 14:28:40 +01:00
wiredfool
f34b4a1806
Add parallel test target, using pytest-xdist ( #8972 )
2025-05-30 13:28:09 +01:00
wiredfool
0ba69613c9
Add support for flat uint8 arrow arrays for multi channel images ( #8908 )
2025-05-30 13:11:09 +01:00
wiredfool
22d6265063
Updated docstring ( #8943 )
2025-05-30 13:06:47 +01:00
wiredfool
e16f387bdf
Mention that tobytes() with the raw encoder uses Pack.c ( #8878 )
2025-05-30 13:01:19 +01:00
wiredfool
506691729a
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:40:35 +01:00
wiredfool
399b6c1045
Update Makefile
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:40:07 +01:00
wiredfool
98cf15e9e4
Update depends/docker-test-valgrind-memory.sh
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:35:13 +01:00
wiredfool
6a60b2e6dd
Remove Tests/ path arg, this is already configured
2025-05-30 10:27:11 +01:00
Andrew Murray
62da23bf83
Removed polygon from DRAW struct
2025-05-29 18:27:22 +10:00
Andrew Murray
fcac6e7896
Removed hasAlpha argument
2025-05-29 18:27:17 +10:00
Andrew Murray
2ee2a1496d
Simplified code
2025-05-29 18:26:09 +10:00
Andrew Murray
5000c83bcc
Use multi-phase initialization
2025-05-28 23:50:18 +10:00
Andrew Murray
5b854b2332
Merge branch 'main' into valgrind-leakcheck
2025-05-28 08:27:57 +10:00
Andrew Murray
5a04b9581b
Run slow tests on valgrind, but without timeout ( #8975 )
2025-05-28 08:20:35 +10:00
Hugo van Kemenade
06e618c470
Removed CMAKE_POLICY_VERSION_MINIMUM=3.5 for libavif ( #8973 )
2025-05-27 17:18:20 +03:00
Hugo van Kemenade
90f115cd33
Reduced number of bytes read in WMF header ( #8964 )
2025-05-27 17:17:15 +03:00
Andrew Murray
bcc6e42bf8
Fixed saving MPO with more than one appended image
2025-05-27 21:08:58 +10:00
Andrew Murray
0eef5e20ef
Merge pull request #29 from wiredfool/tiff_mmap
...
Mark the image read-only in the C layer if it's created from a read only buffer
2025-05-27 09:12:43 +10:00
wiredfool
eff667a861
Mark the image read-only in the C layer if it's created from a read only buffer
2025-05-26 08:15:13 +10:00
Hugo van Kemenade
086e05f42f
Do not build against libavif < 1 ( #8969 )
2025-05-25 23:29:21 +03:00
Hugo van Kemenade
bce93319a9
Updated libpng to 1.6.48 ( #8940 )
2025-05-25 14:14:56 +03:00
Andrew Murray
041acf1344
Clear core image if memory mapping was used for last load
2025-05-25 15:00:47 +10:00
Andrew Murray
6096f335c1
Merge branch 'main' into valgrind-leakcheck
2025-05-24 15:41:48 +10:00
Andrew Murray
bcf1f85b30
Merge branch 'main' into parallel-test
2025-05-24 12:03:59 +10:00
Andrew Murray
57b77bde96
Removed CMAKE_POLICY_VERSION_MINIMUM=3.5
2025-05-24 11:55:18 +10:00
Andrew Murray
a4f477565a
Merge branch 'main' into fix_arrow_8907
2025-05-24 10:34:05 +10:00
Andrew Murray
5c2cabfa6c
Merge branch 'main' into avif
2025-05-24 10:30:29 +10:00
Andrew Murray
4eb89f8e5b
Reduced number of bytes read for header
2025-05-24 10:24:42 +10:00
Andrew Murray
e018dc99fa
Updated libpng to 1.6.48
2025-05-24 08:51:51 +10:00
Hugo van Kemenade
7e4d8e2f55
Updated Ghostscript to 10.5.1 ( #8939 )
2025-05-23 19:17:35 +03:00
Hugo van Kemenade
038ca7f3cc
Updated harfbuzz to 11.2.1 ( #8937 )
2025-05-23 19:17:23 +03:00
Hugo van Kemenade
97aa25ac6b
Updated libavif to 1.3.0 ( #8949 )
2025-05-23 19:17:07 +03:00
Eric Soroos
4d0678ca33
Add parallel test target, using pytest-xdist
2025-05-23 16:35:57 +02:00
pre-commit-ci[bot]
c63db77db3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-05-23 13:37:05 +00:00
Eric Soroos
60a1a20536
add timeouts to two more tests
2025-05-23 15:35:23 +02:00
wiredfool
edfc2caf62
Merge radarhere/fix_arrow_8907
...
* edit of elt typ
2025-05-23 11:04:55 +01:00
Andrew Murray
6807bd3d70
Added type hints
2025-05-23 11:04:08 +01:00
wiredfool
9526d949b0
Update Tests/test_pyarrow.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-23 10:58:28 +01:00
wiredfool
2603a249df
Update depends/docker-test-valgrind-memory.sh
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-23 10:57:03 +01:00
Andrew Murray
7824d2f8c6
Update rust when building libavif
2025-05-23 08:48:38 +10:00
Andrew Murray
45d1c4162b
Do not build against libavif < 1
2025-05-22 15:55:43 +10:00
pre-commit-ci[bot]
c35082b619
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-05-17 08:48:02 +00:00
Eric Soroos
20b49a332b
Remove timeout as the specific reason,
...
pytest-timeout doesn't raise a timeout error.
2025-05-17 10:45:43 +02:00
Eric Soroos
ff50e30d3e
Fix memory leak in text_layout_raqm on 0 length string
2025-05-16 12:47:22 +02:00
Eric Soroos
6391f2c207
Merge remote-tracking branch 'upstream/main' into valgrind-leakcheck
...
* Some failing tests are on main but not last released version
2025-05-16 12:14:37 +02:00
Eric Soroos
f1957b49b2
Xfail timouts in Valgrind tests
...
* ensure that the env variable is set in the makefile
2025-05-16 12:08:45 +02:00
Eric Soroos
2d506f6f5a
correct target
2025-05-15 22:06:35 +02:00
Eric Soroos
a6b8b3af77
executable
2025-05-15 22:04:14 +02:00
Eric Soroos
218f055865
Add github workflow/test-script
2025-05-15 21:59:02 +02:00
Eric Soroos
d5449d5760
Guess so.
2025-05-15 21:11:31 +02:00
Eric Soroos
fb126af7a6
Adding pytest-valgrind install
2025-05-15 21:10:48 +02:00
Andrew Murray
efa2288643
Updated libavif to 1.3.0
2025-05-15 08:38:33 +10:00
Eric Soroos
7aa6a61d43
Wrap Makefile
2025-05-13 23:50:52 +02:00
Eric Soroos
789631c60c
Fix memory leak when JpegEncode returns an error.
2025-05-13 23:31:09 +02:00
Eric Soroos
f792e0b1ef
Fix memory leak
...
* Return after setting the error for advanced features without
libraqm. Not returning here leads to an alloc that's never freed.
2025-05-13 22:48:36 +02:00
Eric Soroos
e2e40c5456
Fix memory leak in TiffEncode
...
* If setimage errors out, the tiff client state was not freed.
2025-05-13 22:33:27 +02:00
Eric Soroos
a9bcd7db88
Fix leak of destination image in ImagingUnsharpMask when an error occurs
2025-05-13 19:50:55 +02:00
Eric Soroos
eaab435403
Fix leak in webp_encode
...
* Free the output buffer on webp encode error
2025-05-13 10:58:37 +02:00
Eric Soroos
84b88a9fbc
Suppress all python level leaks for now
2025-05-13 10:58:12 +02:00
Eric Soroos
fdfba982c8
fix memory leak in arrow schema
2025-05-13 10:28:09 +02:00
Eric Soroos
4984c45da2
valgrind memory leak check
2025-05-13 10:27:38 +02:00
Andrew Murray
c64a7b5098
Updated harfbuzz to 11.2.1
2025-05-13 07:41:00 +10:00
Eric Soroos
74ab5ac4cd
Fix memory leak in arrow export using array structure
2025-05-12 00:27:56 +02:00
Andrew Murray
78887f6114
Corrected comment
2025-05-09 23:52:18 +10:00
Hugo van Kemenade
3c71559804
Improve support for Python 3.14 ( #8948 )
2025-05-08 19:43:29 +03:00
Andrew Murray
215069af5d
Added support for Python 3.14
2025-05-08 22:39:31 +10:00
Andrew Murray
71a916ad53
Do not install PyQt6 on Python 3.14
2025-05-08 22:13:49 +10:00
Andrew Murray
c7193f74fc
Updated error message
2025-05-08 20:10:34 +10:00
pre-commit-ci[bot]
d02f786873
[pre-commit.ci] pre-commit autoupdate ( #8944 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-05-08 19:16:40 +10:00
Andrew Murray
4d56b90f38
Updated docstring
2025-05-05 07:12:20 +10:00
Andrew Murray
0e292a80c8
Restore original encoderinfo after saving
2025-05-03 00:52:35 +10:00
Andrew Murray
2245fd09de
Updated Ghostscript to 10.5.1
2025-04-30 07:54:07 +10:00
Hugo van Kemenade
07df26aa5d
Refactor docs Makefile
( #8933 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-04-29 22:37:45 +10:00
Hugo van Kemenade
e23f017af1
Allow loading ImageFile state from Pillow < 11.2.1 ( #8938 )
2025-04-29 15:05:10 +03:00
Andrew Murray
47bebfc801
Allow loading state from Pillow < 11.2.1
2025-04-29 14:57:10 +10:00
Jeffrey A. Clark
c2f1b981b7
Add template for quarterly release issue ( #8932 )
2025-04-28 11:52:00 -04:00
Andrew Murray
dbe538a130
Updated template name
2025-04-28 06:19:18 +10:00
Andrew Murray
f1d5cdaa07
Use sentence case
2025-04-28 06:17:47 +10:00
Jeffrey A. Clark
e140027262
Move checklist to issue template
2025-04-27 15:45:40 -04:00
Jeffrey A. Clark
e6ff42303b
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-27 15:38:02 -04:00
Jeffrey A. Clark
1eba198b62
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-27 15:37:56 -04:00
Jeffrey A. Clark
fcaffa2229
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-27 15:37:50 -04:00
Jeffrey A. Clark
6881863eab
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-27 15:37:42 -04:00
Hugo van Kemenade
6a63907341
Remove outdated comment ( #8929 )
2025-04-27 18:16:34 +03:00
Andrew Murray
6f672191ad
Branch uses .x
2025-04-27 22:30:35 +10:00
Jeffrey A. Clark
0205fb4fa2
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-27 08:21:57 -04:00
Jeffrey A. Clark
8ab3bc469e
Update .github/ISSUE_TEMPLATE/RELEASE.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-27 08:21:48 -04:00
renovate[bot]
da9d5522f7
Update dependency cibuildwheel to v2.23.3 ( #8931 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-27 21:35:08 +10:00
Jeffrey A. Clark
4c2227758e
Add template for quarterly release issue
2025-04-27 07:09:53 -04:00
Andrew Murray
225182414c
libavif below 1.0 is not supported
2025-04-25 17:14:13 +10:00
Andrew Murray
3bd55822cd
Handle IPTC TIFF tags with incorrect type
2025-04-24 13:26:58 +10:00
Andrew Murray
d8afcb762f
Do not update palette for L mode frame
2025-04-23 23:09:08 +10:00
Andrew Murray
1e365d8c72
Return PixelAccess on first load
2025-04-23 21:10:54 +10:00
Andrew Murray
7a48a9fae0
Do not load image more than once
2025-04-23 20:34:53 +10:00
wiredfool
45e24e429f
Rearrance so black doesn't screw up the formatting
2025-04-21 10:54:00 +01:00
wiredfool
bc4b664b70
Add integer range tests
2025-04-21 10:46:45 +01:00
wiredfool
ce204f47f4
lint
2025-04-21 10:37:32 +01:00
wiredfool
6bf791a3e7
Use a named tuple for the packed parameters
2025-04-21 10:27:49 +01:00
Andrew Murray
58e48745cc
Add list of third-party plugins ( #8910 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-21 12:14:08 +03:00
Hugo van Kemenade
8f123cd692
Update redirected URL ( #8919 )
2025-04-21 12:13:25 +03:00
Hugo van Kemenade
348589a367
Docs: use sentence case for headers ( #8914 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-21 19:03:31 +10:00
Hugo van Kemenade
d03ce3d235
Docs: remove unused Makefile targets ( #8917 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-21 18:22:03 +10:00
Andrew Murray
8fe7a7aaf8
Update redirected URL
2025-04-21 17:32:47 +10:00
Adian Kozlica
4402797b35
Add support for Grim in Wayland sessions ImageGrab ( #8912 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-04-21 12:36:40 +10:00
Hugo van Kemenade
03e7871afd
Add make [-C docs] htmllive
to rebuild and reload HTML files ( #8913 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-04-20 00:18:01 +03:00
Hugo van Kemenade
d546233be4
Remove indentation from lists ( #8915 )
2025-04-19 22:50:57 +03:00
Andrew Murray
cf48bbf0c4
Removed indentation from list
2025-04-19 20:26:03 +10:00
Hugo van Kemenade
eb0395442c
Merge pull request #8904 from radarhere/harfbuzz
2025-04-18 14:29:58 +03:00
Andrew Murray
00ae9dda35
Changed harfbuzz buildtype to minsize
2025-04-18 18:49:11 +10:00
wiredfool
ac500460df
lint
2025-04-17 22:22:31 +01:00
wiredfool
c729d4e208
Test uint32 array creation -> image32 images
2025-04-17 22:16:27 +01:00
wiredfool
3d77723a0c
Added arrow support for a flat array of 4*uint8 for image32 modes
2025-04-17 21:42:42 +01:00
Andrew Murray
bc05a88ce6
Anchor left when justifying words
2025-04-17 20:56:02 +10:00
Andrew Murray
b955cee725
Do not justify last line
2025-04-17 19:36:52 +10:00
Andrew Murray
cccc07269a
Do not justify a single word
2025-04-17 19:23:24 +10:00
Andrew Murray
ccc4668d4e
Updated harfbuzz to 11.1.0
2025-04-17 08:04:34 +10:00
Andrew Murray
3d4119521c
Close file pointer earlier ( #8895 )
2025-04-16 18:49:57 +03:00
Andrew Murray
f630ec097b
Build Windows arm64 wheels on arm64 runner ( #8898 )
2025-04-16 14:05:08 +03:00
Andrew Murray
6ea7dc8eea
Add Fedora 42 ( #8899 )
2025-04-16 10:06:52 +03:00
Andrew Murray
507fefbce4
Python 3.13 is tested on Arch ( #8894 )
2025-04-15 14:02:35 +03:00
Andrew Murray
bd39801a7b
Merge pull request #8893 from python-pillow/doc-fix
...
Move XV Thumbnails to read only section
2025-04-15 12:16:17 +10:00
Jeffrey A. Clark
8b1777b999
Move XV Thumbnails to read only section
2025-04-14 14:51:01 -04:00
Andrew Murray
4716bb7818
Update macOS tested Pillow versions ( #8890 )
2025-04-13 16:59:05 +03:00
Andrew Murray
c6434dbbbc
Set color table fourth channel to zero for 1 and L mode when saving
2025-04-13 23:00:06 +10:00
Hugo van Kemenade
1299039ec4
Merge pull request #8887 from radarhere/fedora
...
Removed Fedora 40
2025-04-13 11:27:27 +03:00
Andrew Murray
5294021438
Removed Fedora 40
2025-04-13 09:26:06 +10:00
Hugo van Kemenade
f9083264ff
11.3.0.dev0 version bump
2025-04-12 20:56:35 +03:00
Hugo van Kemenade
339bc5db93
11.2.1 version bump
2025-04-12 19:55:46 +03:00
Hugo van Kemenade
857b8846ea
Merge pull request #8885 from radarhere/releasenotes
2025-04-12 19:32:07 +03:00
Hugo van Kemenade
7a0092f207
Remove incomplete 11.2.0 release, bill as 11.2.1 instead
2025-04-12 18:56:38 +03:00
Hugo van Kemenade
d52c2db317
Do not include libavif in wheels
2025-04-12 18:30:08 +03:00
Andrew Murray
8dafc38371
Added 11.2.1 release notes
2025-04-12 19:24:35 +10:00
Andrew Murray
07d7800248
Removed release notes update
2025-04-12 19:08:45 +10:00
Andrew Murray
04909483a7
Remove GPL v2 license ( #8884 )
2025-04-12 10:29:06 +03:00
Hugo van Kemenade
774d0aedce
Merge pull request #8868 from radarhere/xz_upgrade
...
Updated xz to 5.8.1
2025-04-12 10:27:17 +03:00
Hugo van Kemenade
d1e27fc86c
Merge pull request #8870 from radarhere/harfbuzz_upgrade
...
Updated harfbuzz to 11.0.1
2025-04-12 10:20:59 +03:00
Andrew Murray
b2945ec2aa
Test truncated header
2025-04-10 22:07:55 +10:00
Andrew Murray
dce9608961
Test unknown colour and missing colour key
2025-04-10 21:59:04 +10:00
Andrew Murray
af52060e97
Mention that tobytes() with the raw encoder uses Pack.c
2025-04-10 20:45:53 +10:00
Andrew Murray
34efaaddf3
Improved type hints
2025-04-10 18:57:58 +10:00
Andrew Murray
6512a8e371
Test not enough image data
2025-04-10 18:57:58 +10:00
Andrew Murray
395bd6bd12
Allow more than 256 colours
2025-04-10 18:57:58 +10:00
Andrew Murray
89ac20d2b9
Allow more than 1 character per pixel
2025-04-10 18:57:58 +10:00
Andrew Murray
7b459a8524
Improved reading XPM images
2025-04-10 18:57:58 +10:00
Andrew Murray
75d3f1d3bd
Assert palette is not None
2025-04-10 18:41:12 +10:00
Andrew Murray
c8d98d56a0
Added avif to config settings ( #8875 )
2025-04-10 09:21:48 +03:00
Hugo van Kemenade
5b1a64c53c
[pre-commit.ci] pre-commit autoupdate
2025-04-10 09:20:41 +03:00
Andrew Murray
6b5f8d768d
Do not include libavif in wheels
2025-04-10 13:55:02 +10:00
Andrew Murray
179ae9d395
Disable building harfbuzz tests
2025-04-08 22:05:29 +10:00
Andrew Murray
8b7d72440e
Specify both C and Cpp
2025-04-08 20:15:45 +10:00
Hugo van Kemenade
8c4510cb23
Fix clang-format: Configuration file(s) do(es) not support C
2025-04-07 22:25:12 +03:00
pre-commit-ci[bot]
a5a8ece5d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-04-07 17:17:36 +00:00
pre-commit-ci[bot]
f6eb2e7fa5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.4 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.7 → v20.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.7...v20.1.0 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.2 → 0.32.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.2...0.32.1 )
- [github.com/woodruffw/zizmor-pre-commit: v1.4.1 → v1.5.2](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.4.1...v1.5.2 )
- [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24.1 )
2025-04-07 17:17:00 +00:00
Andrew Murray
82bccf70a0
Added XZ_CLMUL_CRC:BOOL=OFF to allow Windows x86 to use xz 5.8.1
2025-04-06 11:10:05 +10:00
Andrew Murray
1db27be6a0
Use same URL as wheels-dependencies.sh
2025-04-05 16:09:12 +11:00
Andrew Murray
1ba32fce48
Updated harfbuzz to 11.0.1
2025-04-05 15:44:46 +11:00
Hugo van Kemenade
cda26be10e
Merge pull request #8850 from hugovk/pep639
...
Replace deprecated classifier with licence expression (PEP 639)
2025-04-04 18:36:02 +03:00
Frankie Dintino
9f654ff748
Fixed conversion of AVIF image rotation property to EXIF orientation ( #8866 )
2025-04-04 16:41:11 +03:00
Andrew Murray
61d3dd9e83
Updated xz to 5.8.1, except on Windows x86
2025-04-04 22:12:54 +11:00
Andrew Murray
9f4195752d
Added type hints ( #8867 )
2025-04-03 13:24:37 +03:00
renovate[bot]
8691112a2c
Update scientific-python/upload-nightly-action action to v0.6.2 ( #8865 )
2025-04-03 13:23:36 +03:00
Andrew Murray
2d452c82e5
Removed condition that is always true ( #8862 )
2025-04-03 13:17:54 +03:00
Andrew Murray
7e15c54cad
Use multibuild build_github ( #8861 )
2025-04-02 15:53:14 +03:00
Hugo van Kemenade
92eb58ef15
Merge pull request #8859 from radarhere/filename
...
Include filename in ImageFile state
2025-04-02 15:51:49 +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
Andrew Murray
867c4772c2
Do not import type checking
2025-04-01 20:23:16 +11: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
c19482f888
Merge pull request #8853 from radarhere/arrow
...
Added release notes for #8330
2025-04-01 19:28:41 +11:00
Andrew Murray
f205a45f44
Added release notes for #8330
2025-04-01 19:10:11 +11: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
Andrew Murray
869aa5843c
Merge pull request #8851 from radarhere/tiff
...
Allow cmake<4 when building libavif and libtiff
2025-04-01 18:30:45 +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
Andrew Murray
348bf6550d
Allow cmake<4 when building libavif
2025-04-01 16:33:55 +11:00
Andrew Murray
8141221201
Allow cmake<4 when building libtiff
2025-04-01 16:28:07 +11: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
999d9a7f0c
Updated xz to 5.8.0 on manylinux2014 by removing po4a dependency ( #8848 )
2025-04-01 07:09:09 +03:00
Hugo van Kemenade
d8a0cb5db1
Work around pyroma test
2025-03-31 23:04:08 +03:00
Hugo van Kemenade
e995eef424
Replace deprecated classifier with licence expression (PEP 639)
2025-03-31 23:04:08 +03:00
Andrew Murray
b1f7ba0a41
Merge pull request #8772 from radarhere/zlib_macos
...
Revert to zlib on macOS < 10.15
2025-03-31 08:47:49 +11:00
Andrew Murray
f673f3e543
Close file handle on error ( #8846 )
2025-03-30 21:16:50 +03:00
Andrew Murray
81be8d5410
Fixed unclosed file warning ( #8847 )
2025-03-30 21:16:25 +03:00
Andrew Murray
25af4f1841
Added release notes
2025-03-31 00:32:35 +11:00
Andrew Murray
b4a480ff2c
Corrected documentation
2025-03-31 00:31:56 +11:00
mergify[bot]
60b5131e9f
Merge pull request #8844 from radarhere/import
...
Do not import TYPE_CHECKING
2025-03-30 12:34:51 +00: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
Andrew Murray
14fb62e36c
Assert image type ( #8619 )
2025-03-30 10:42:46 +03:00
Adian Kozlica
feaded9d41
Merge pull request #2 from radarhere/image_grab_wayland_kde
...
Updated documentation
2025-03-30 03:16:59 +02:00
Andrew Murray
382c3ab10d
spectacle may also be used on Linux
2025-03-30 11:16:05 +11:00
Adian Kozlica
ec11f7aaed
Merge branch 'main' into image_grab_wayland_kde
2025-03-29 23:51:29 +01:00
Adian Kozlica
2f672935eb
Merge pull request #1 from radarhere/image_grab_wayland_kde
...
Do not create temporary file if no utility is available
2025-03-29 23:44:12 +01:00
Andrew Murray
e053be3412
Updated version
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-03-30 07:27:30 +11: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
e8a9b56603
Improved connecting discontiguous corners ( #8659 )
2025-03-29 18:33:51 +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
93cdfeb488
Prevent TIFFRGBAImageBegin from applying image orientation ( #8556 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:25:57 +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
Hugo van Kemenade
2579973815
Merge pull request #8506 from radarhere/emf_records
...
Skip failing records when rendering WMF images
2025-03-29 18:19:10 +02:00
Andrew Murray
ae52f9f37d
Added release notes for #8781 and #8837 ( #8843 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 15:21:51 +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
1cb6c7c347
Parametrize tests ( #8838 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-28 14:27:39 +02: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
e1f0def839
Updated xz to 5.8.0, except on manylinux2014 ( #8836 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-27 14:43:07 +02:00
Andrew Murray
fecb53b4b9
Merge pull request #8837 from radarhere/bcn_decode
...
Do not convert BC1 LUT to UINT32
2025-03-27 23:13:33 +11:00
Andrew Murray
295a5e9bd7
Do not convert BC1 LUT to UINT32
2025-03-27 21:36:17 +11:00
Andrew Murray
b8abded99b
Change back to actions/setup-python ( #8833 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-25 15:31:49 +02:00
Andrew Murray
b6b6eae996
Merge pull request #8832 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.23.2
2025-03-25 13:10:44 +11:00
renovate[bot]
14d495a519
Update dependency cibuildwheel to v2.23.2
2025-03-25 00:41:03 +00:00
Andrew Murray
053b5790e1
Added media_white_point ( #8829 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-24 15:22:21 +02:00
Andrew Murray
bca693bd82
Updated harfbuzz to 11.0.0 ( #8830 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-24 08:33:45 +02:00
Hugo van Kemenade
af09976a5f
Merge pull request #8825 from radarhere/fixme
...
Removed FIXME
2025-03-21 22:09:16 +02:00
Hugo van Kemenade
478ccb4e69
Merge pull request #8823 from radarhere/test_fp
...
Simplified test code
2025-03-21 15:04:21 +02:00
Andrew Murray
c7e3158d51
Added explicit test for opening and saving image with string
2025-03-21 20:47:38 +11:00
Andrew Murray
9334bf040e
Do not cast unnecessarily
2025-03-21 20:41:52 +11:00
Andrew Murray
8d55054877
Reuse temp path
2025-03-21 20:41:15 +11:00
Andrew Murray
8d440f734b
Removed unused argument
2025-03-21 20:39:36 +11:00
Andrew Murray
21ff960c9c
Test that an unlimited number of lines is not read by __init__
2025-03-21 08:51:41 +11: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
Hugo van Kemenade
e66ebb6428
Merge pull request #8822 from radarhere/comment
...
Updated comment
2025-03-19 16:13:37 +02:00
Hugo van Kemenade
b40bcab6dd
Merge pull request #8824 from radarhere/dds_docs
...
Added release notes for #8807
2025-03-19 15:18:23 +02:00
Andrew Murray
700d36f2d2
Added release notes for #8807
2025-03-20 00:11:18 +11:00
Andrew Murray
6cc5f1f0ad
Simplified code
2025-03-19 20:58:40 +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
Hugo van Kemenade
039ecaca62
Merge pull request #8820 from radarhere/tiff_timeout
...
If every TIFF tile covers the image, only use the last offset
2025-03-18 15:20:21 +02:00
Hugo van Kemenade
eec43cfbc0
Merge pull request #8817 from radarhere/typo
...
DXT3 images are read in RGBA mode
2025-03-17 21:33:06 +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
6c7917d7a6
Revert to zlib on macOS < 10.15
2025-03-17 07:54:47 +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
33ce0140fb
Merge pull request #8806 from radarhere/fli
...
Improved FliImagePlugin test coverage
2025-03-16 17:06:53 +02:00
Hugo van Kemenade
2748b91100
Merge pull request #8819 from radarhere/qemu
...
Use docker/setup-qemu-action
2025-03-16 15:02:50 +02:00
Andrew Murray
7767e83e6c
Use action to setup qemu
2025-03-16 22:24:13 +11:00
Andrew Murray
9953256bbf
Revert "Use Ubuntu 22.04 for 24.04 ppc64le and s390x"
...
This reverts commit e31441fc41
.
2025-03-16 22:12:14 +11:00
Andrew Murray
004bb0e8ee
Merge pull request #8818 from python-pillow/renovate/cibuildwheel-2.x
2025-03-16 08:21:44 +11:00
renovate[bot]
db30ef7423
Update dependency cibuildwheel to v2.23.1
2025-03-15 19:49:03 +00:00
Andrew Murray
7b725a8fc4
DXT3 images are read in RGBA mode
2025-03-15 13:04:26 +11:00
Andrew Murray
5efcaa4603
Updated Ghostscript to 10.5.0 ( #8814 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-14 08:50:28 +02:00
Andrew Murray
d97441cb86
Install libtiff-dev ( #8816 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-14 08:49:59 +02:00
Andrew Murray
4b9d9f55cd
Updated libtiff to 4.7.0 ( #8812 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-12 00:59:25 +02:00
Andrew Murray
b965116982
Merge pull request #8810 from hugovk/renovate-cron
...
Replace deprecated Renovate schedule with cron syntax
2025-03-11 11:00:29 +11:00
Hugo van Kemenade
a38d4d2583
Replace deprecated Renovate schedule with cron syntax
2025-03-10 22:44:13 +01:00
Andrew Murray
baa299a6f4
Moved code outside of context manager
2025-03-08 09:56:23 +11:00
Andrew Murray
5575c1d072
Test missing frame size
2025-03-08 09:56:00 +11:00
Andrew Murray
e946c7b14a
Test using _seek to skip frames ( #8804 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-06 17:42:10 +02:00
Andrew Murray
5ba72a9b54
Merge pull request #8800 from radarhere/path_lists
...
Allow coords to be sequence of lists
2025-03-05 19:15:55 +02: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
c23bf05201
Merge pull request #8797 from radarhere/pcx
...
Improved PcxImagePlugin test coverage
2025-03-05 18:08:26 +02:00
Hugo van Kemenade
ebdfca329e
Merge pull request #8786 from radarhere/openjpeg
...
Support reading grayscale JPEG2000 images with 4 channels
2025-03-05 18:07:20 +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
Hugo van Kemenade
5f36c9af43
Merge pull request #8801 from radarhere/match
...
Use match argument
2025-03-05 17:16:21 +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
Andrew Murray
7552893792
Merge pull request #8799 from hugovk/flake8-pie
...
Call `startswith`/`endswith` once with a tuple, and `range` without `start=0`
2025-03-05 19:12:35 +11:00
Andrew Murray
3607d1ade3
Use match argument
2025-03-05 00:03:37 +11:00
Andrew Murray
c0b5d013f6
Test bad image size and unknown PCX mode
2025-03-04 22:19:06 +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
1f4beb4a5c
Lint with flake8-pie
2025-03-03 23:57:40 +02:00
Andrew Murray
c7ed097dd1
Merge pull request #8783 from radarhere/bdf
...
Improved BdfFontFile test coverage
2025-03-04 08:29:33 +11:00
Andrew Murray
5ce8929ed4
Updated test name
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-03-04 07:48:12 +11:00
Hugo van Kemenade
5187b54235
Merge pull request #8795 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-03-03 20:40:28 +02:00
Hugo van Kemenade
0c9a3a7019
Merge pull request #8770 from radarhere/harfbuzz
...
Updated harfbuzz to 10.4.0
2025-03-03 19:17:41 +02:00
pre-commit-ci[bot]
c1703f5330
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.9 )
- [github.com/PyCQA/bandit: 1.8.2 → 1.8.3](https://github.com/PyCQA/bandit/compare/1.8.2...1.8.3 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.31.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.1...0.31.2 )
- [github.com/woodruffw/zizmor-pre-commit: v1.3.0 → v1.4.1](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.3.0...v1.4.1 )
- [github.com/tox-dev/pyproject-fmt: v2.5.0 → v2.5.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.5.0...v2.5.1 )
2025-03-03 17:15:48 +00:00
Hugo van Kemenade
4efc096c7d
Merge pull request #8788 from radarhere/jpeg_comment
...
JPEG comments are from the COM marker
2025-03-03 18:47:21 +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
17c7beffd8
Merge branch 'main' into harfbuzz
2025-03-03 17:41:34 +02:00
Hugo van Kemenade
8e8b94ada4
Merge pull request #8764 from radarhere/libpng
...
Updated libpng to 1.6.47
2025-03-03 17:40:33 +02:00
Hugo van Kemenade
04438f46fd
Merge pull request #8742 from radarhere/lcms2
...
Updated lcms2 to 2.17
2025-03-03 17:40:24 +02:00
Hugo van Kemenade
f89952cb04
Merge pull request #8778 from radarhere/mingw
...
Revert "Do not install libimagequant"
2025-03-03 17:38:47 +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
Hugo van Kemenade
7145057ef8
Merge pull request #8767 from radarhere/ftex
...
Only set mode when necessary in FtexImagePlugin
2025-03-03 17:35:36 +02:00
Hugo van Kemenade
952d6e9a61
Merge pull request #8766 from radarhere/ftex_test
...
Improved FtexImagePlugin test coverage
2025-03-03 17:35:03 +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
renovate[bot]
2d97521aa3
Update dependency mypy to v1.15.0
2025-03-03 02:38:52 +00:00
Andrew Murray
92cc9bf902
Support reading grayscale images with 4 channels
2025-03-03 08:46:20 +11:00
Andrew Murray
ebc7a17d86
Removed _show
2025-03-03 07:24:13 +11:00
Hugo van Kemenade
5d52ede584
Merge pull request #8789 from hugovk/wheels-pypy3.11
...
Build PyPy3.11 wheel for macOS 10.15 x86_64
2025-03-02 14:34:23 +02:00
Andrew Murray
c60682af67
JPEG comments are from the COM marker
2025-03-02 22:34:58 +11:00
Hugo van Kemenade
db4534a8cf
Build PyPy3.11 wheel for macOS 10.15 x86_64
2025-03-02 12:00:46 +02:00
Andrew Murray
bcdb688233
Merge pull request #8785 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.23.0
2025-03-02 09:11:34 +11:00
renovate[bot]
397f8c752b
Update dependency cibuildwheel to v2.23.0
2025-03-01 20:50:23 +00:00
Andrew Murray
ff4f5d4cb6
Test ValueError
2025-03-01 21:41:30 +11:00
Andrew Murray
d6b94421d0
Updated harfbuzz to 10.4.0
2025-03-01 11:37:49 +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
153fd4801c
Revert "Do not install libimagequant"
...
This reverts commit 1e115987af
.
2025-02-27 22:24:48 +11:00
Andrew Murray
85f439f575
_seek_check already raises an EOFError
2025-02-25 18:46:22 +11:00
Hugo van Kemenade
d7d48df9af
Merge pull request #8771 from radarhere/fontfile
2025-02-22 17:27:55 +02:00
Andrew Murray
ae7c4920c9
Test that subsequent compile() calls do not change anything
2025-02-22 08:09:44 +11:00
Andrew Murray
ddb238c70d
Only set mode when necessary
2025-02-20 07:57:10 +11:00
Andrew Murray
ae6bb4cac2
Test invalid texture compression format
2025-02-19 23:28:25 +11:00
Hugo van Kemenade
769a14dca5
Merge pull request #8765 from radarhere/mpo
2025-02-19 12:39:25 +02:00
Andrew Murray
dc94d1d8bb
Test opening file with plugin directly
2025-02-19 18:27:05 +11:00
Hugo van Kemenade
1496d87d3a
Merge pull request #8763 from radarhere/sphinx
...
Update Sphinx to 8.2 to remove nitpick ignore
2025-02-19 08:29:53 +02:00
Andrew Murray
4415b4ad36
Updated libpng to 1.6.47
2025-02-19 08:47:04 +11:00
Hugo van Kemenade
1126733edf
Merge pull request #8762 from radarhere/sun
2025-02-18 20:59:37 +02:00
Andrew Murray
b096018fdd
Update Sphinx to 8.2 to remove nitpick ignore
2025-02-18 22:27:13 +11:00
Andrew Murray
5d40e6aead
Test RGBX raw mode
2025-02-18 20:48:04 +11:00
Andrew Murray
4b7e75be2d
Test errors
2025-02-18 20:47:17 +11:00
Andrew Murray
fe1cab6ea0
Merge pull request #8761 from hugovk/slice-startswith
...
Replace slice and comparison with `startswith`/`endswith`
2025-02-18 18:41:42 +11:00
mergify[bot]
f6d227e128
Merge pull request #8760 from radarhere/px
...
Corrected type check
2025-02-17 22:05:00 +00: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
Andrew Murray
322e121a92
Corrected type check
2025-02-18 07:56:11 +11:00
Andrew Murray
fa58313c41
Merge pull request #8759 from radarhere/tar
...
Improve TarIO test coverage
2025-02-18 07:40:50 +11:00
Hugo van Kemenade
17541258c0
Merge pull request #8618 from radarhere/px
2025-02-17 13:30:17 +02:00
Hugo van Kemenade
a254b8cfeb
Merge pull request #8741 from radarhere/type
2025-02-17 13:29:44 +02:00
Hugo van Kemenade
0e333bf0dc
Merge pull request #8738 from radarhere/pkg_config
2025-02-17 13:28:21 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif
2025-02-17 13:07:20 +02:00
Andrew Murray
1ac527a9e1
Merge pull request #8758 from hugovk/pypy3.11
...
Add PyPy3.11 to CI
2025-02-17 22:00:20 +11:00
Andrew Murray
19010bb301
Use match
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:49:08 +11:00
Andrew Murray
017b16b803
Removed argument
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:48:09 +11:00
Hugo van Kemenade
15e4c1a724
Fix ShellCheck
2025-02-17 12:19:44 +02:00
Andrew Murray
152d982644
Test missing subfile
2025-02-17 20:20:45 +11:00
Andrew Murray
9762c9e30e
Test unexpected end of tar file
2025-02-17 20:20:02 +11:00
Hugo van Kemenade
216690ff17
Add PyPy3.11 to CI
2025-02-16 21:29:54 +02:00
Hugo van Kemenade
8a3c4f5965
Merge pull request #8757 from mgorny/pycapi-compat-pypy311
2025-02-16 21:23:43 +02:00
Michał Górny
0fbe1860c4
Update pythoncapi_compat.h
to fix building with PyPy3.11
...
Update `pythoncapi_compat.h` to upstream commit
c84545f0e1e21757d4901f75c47333d25a3fcff0, which includes fixes necessary
for Pillow to build against PyPy3.11. Otherwise, it fails due to
duplicate declarations:
```
In file included from src/encode.c:28:
src/thirdparty/pythoncapi_compat.h:295:1: error: static declaration of ‘PyThreadState_GetInterpreter’ follows non-static declaration
295 | PyThreadState_GetInterpreter(PyThreadState *tstate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pypy3.11/Python.h:80,
from src/encode.c:26:
/usr/include/pypy3.11/pystate.h:35:33: note: previous declaration of ‘PyThreadState_GetInterpreter’ with type ‘PyInterpreterState *(PyThreadState *)’ {aka ‘struct _is *(struct _ts *)’}
35 | PyAPI_FUNC(PyInterpreterState*) PyThreadState_GetInterpreter(PyThreadState *tstate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2025-02-16 16:32:24 +01:00
Andrew Murray
0364cfdfc4
Merge pull request #8754 from hugovk/update-tox
...
Don't call `make clean` or `pip` in tox
2025-02-16 06:23:57 +11:00
mergify[bot]
fed5d85cd6
Merge pull request #8756 from radarhere/open
...
Don't shadow builtin open
2025-02-15 18:40:09 +00:00
Andrew Murray
7f414846a3
Don't shadow builtin open
2025-02-16 05:08:22 +11:00
Andrew Murray
1650425283
Merge pull request #8673 from freakboy3742/zlib-ng-with-sip
...
Rewrite the install_name of the ZLIB-NG library on macOS
2025-02-16 05:00:36 +11:00
Andrew Murray
f8566b90eb
Merge pull request #8755 from hugovk/rm-_wedge
...
Remove debug `Image._wedge`
2025-02-16 04:54:27 +11:00
Andrew Murray
397e6f2710
Merge pull request #8753 from hugovk/rm-unused
...
Remove unused `bdf_slant` and `bdf_spacing` variables
2025-02-16 04:24:13 +11:00
Hugo van Kemenade
126026e5e5
Don't shadow builtin open
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
028f0d6ea9
Remove unused data read
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
ff960b8841
Remove debug Image._wedge
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
8261348fff
Don't call pip in tox
2025-02-15 14:27:52 +02:00
Hugo van Kemenade
1c18d29c34
Remove unused bdf_slant and bdf_spacing variables
2025-02-15 13:26:06 +02:00
Hugo van Kemenade
c4eb2fe597
Merge pull request #8752 from radarhere/mingw_test
2025-02-15 13:00:20 +02:00
Andrew Murray
9f0398ef32
Removed unused code
2025-02-15 21:07:43 +11:00
Andrew Murray
ad6c4f82f3
Updated lcms2 to 2.17
2025-02-15 09:27:16 +11:00
Hugo van Kemenade
ede46d47fc
Merge pull request #8745 from radarhere/zlibng
2025-02-14 23:59:06 +02:00
Hugo van Kemenade
9b2ea830e0
Merge pull request #8744 from radarhere/imagequant
2025-02-14 23:54:19 +02:00
Hugo van Kemenade
ad231352a8
Merge pull request #8747 from radarhere/monkeypatch
...
Use monkeypatch
2025-02-13 20:03:00 +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
8020d423bc
Use monkeypatch
2025-02-12 18:36:14 +11:00
Andrew Murray
45d8d80567
Updated zlib-ng to 2.2.4
2025-02-11 11:36:55 +11:00
Andrew Murray
c566a81c64
Updated libimagequant to 4.3.4
2025-02-10 21:47:37 +11:00
Hugo van Kemenade
3c2310e090
Merge pull request #8739 from radarhere/boolean
2025-02-09 16:05:54 +02:00
Hugo van Kemenade
c81f2f5014
Merge pull request #8740 from radarhere/tuple
2025-02-09 16:05:29 +02:00
Andrew Murray
422c0f607d
Use default tp_flags
2025-02-09 16:03:38 +11:00
Andrew Murray
bfa2d64e0e
Use member names to initialize PyTypeObjects
2025-02-09 16:02:50 +11:00
Andrew Murray
b59dea60a6
Simplify Python code by receiving tuple from C
2025-02-08 21:07:25 +11:00
Andrew Murray
166d0b94d9
Use boolean format argument for irreversible
2025-02-08 21:00:54 +11:00
Andrew Murray
1b0095fad4
Pass CFLAGS to build_simple directly
2025-02-08 17:23:41 +11:00
Andrew Murray
56a72a3da4
Merge branch 'main' into zlib-ng-with-sip
2025-02-08 16:31:36 +11:00
Andrew Murray
f4db366e41
Merge branch 'main' into px
2025-02-07 08:51:58 +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
Hugo van Kemenade
a788ab31ca
Merge pull request #8734 from radarhere/module
2025-02-06 13:25:54 +02:00
Hugo van Kemenade
f55a0900f4
Merge pull request #8724 from radarhere/mingw_libimagequant
2025-02-06 13:25:03 +02:00
Hugo van Kemenade
c73796dc1e
Merge pull request #8733 from radarhere/tuple
2025-02-06 13:19:29 +02:00
Hugo van Kemenade
dd2bb392e6
Merge pull request #8732 from radarhere/unused_parse
2025-02-06 13:18:34 +02:00
Hugo van Kemenade
a7524a34b2
Merge pull request #8727 from radarhere/getpixel
2025-02-06 13:17:26 +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
7924b6a11f
Use member names to initialize modules
2025-02-05 20:20:57 +11:00
Andrew Murray
a37702dd8a
Removed unused format character
2025-02-05 19:12:54 +11:00
Andrew Murray
b19506a499
Simplify Python code by passing tuples to C
2025-02-05 19:12:50 +11:00
Andrew Murray
a7d7a1080e
Removed redundant argument parsing
2025-02-05 18:42:35 +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
Andrew Murray
92eb11eb09
Merge pull request #8729 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-02-04 07:19:15 +11:00
Andrew Murray
00790e925d
Updated comment
2025-02-04 06:49:46 +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
pre-commit-ci[bot]
90d2506074
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.4 )
- [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0 )
- [github.com/PyCQA/bandit: 1.8.0 → 1.8.2](https://github.com/PyCQA/bandit/compare/1.8.0...1.8.2 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.6 → v19.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.6...v19.1.7 )
- [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.31.1 )
- [github.com/woodruffw/zizmor-pre-commit: v1.0.0 → v1.3.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.0.0...v1.3.0 )
- [github.com/tox-dev/tox-ini-fmt: 1.4.1 → 1.5.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.4.1...1.5.0 )
2025-02-03 17:35:25 +00:00
Andrew Murray
ce1996d804
Use getpixel() instead of load()
2025-02-03 19:32:59 +11:00
Hugo van Kemenade
4d1f874096
Merge pull request #8725 from radarhere/macos
2025-02-01 12:23:49 +02:00
Andrew Murray
347a3865bf
Revert "Ignore brew dependencies for libraqm on macOS 13"
...
This reverts commit dfd53564ff
.
2025-02-01 12:21:15 +11:00
Andrew Murray
69c9572517
Added ImageDraw link
2025-02-01 10:54:18 +11:00
Andrew Murray
fca48db866
Added quote marks
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-01 10:02:42 +11:00
Hugo van Kemenade
c5d27af0f1
Merge pull request #8723 from radarhere/tiff_iimm
2025-01-31 17:53:06 +02:00
Andrew Murray
5bbbc46240
Fixed exceptions when closing AppendingTiffWriter
2025-02-01 01:13:30 +11:00
Andrew Murray
ec72d20d23
Added release notes
2025-02-01 00:47:21 +11:00
Andrew Murray
9a58456c9b
Added versionadded for justify
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-01 00:44:26 +11: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
1e115987af
Do not install libimagequant
2025-01-31 19:09:03 +11:00
Andrew Murray
e4f2a4a291
Merge pull request #8717 from radarhere/none
...
Use Py_RETURN_NONE macro when possible
2025-01-30 22:27:42 +11: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
f598c03233
Removed unused file
2025-01-29 17:33:55 +11:00
Aleksandr Karpinskii
849768df7a
Remove unused declaration
2025-01-28 20:40:43 +11:00
Andrew Murray
a9d05a1e51
Fixed unclosed file warnings ( #8705 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 22:59:44 +02:00
Andrew Murray
e19a1496c2
Use monkeypatch ( #8707 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 12:17:51 +02:00
Aleksandr Karpinskii
e7ae4aaad0
Use Py_RETURN_NONE macro when possible
2025-01-27 18:17:03 +11:00
Andrew Murray
569b785371
Updated harfbuzz to 10.2.0 ( #8688 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-25 09:04:52 +02:00
Hugo van Kemenade
0bfaba1dca
Merge pull request #8711 from radarhere/xz
...
Updated xz to 5.6.4
2025-01-24 23:01:30 +02:00
Hugo van Kemenade
7cd98e8b7c
Merge pull request #8712 from radarhere/libpng
...
Updated libpng to 1.6.46
2025-01-24 23:00:59 +02:00
Hugo van Kemenade
6973d6968f
Merge pull request #8710 from radarhere/libimagequant
...
Updated libimagequant to 4.3.4
2025-01-24 23:00:30 +02:00
Andrew Murray
16a8e2bde4
Updated xz to 5.6.4
2025-01-24 23:46:14 +11:00
Andrew Murray
f52dbe749b
Updated libpng to 1.6.46
2025-01-24 23:46:03 +11:00
Andrew Murray
9d4232101f
Updated libimagequant to 4.3.4
2025-01-24 23:40:21 +11:00
Hugo van Kemenade
51df14282f
Merge pull request #8713 from radarhere/22_04
2025-01-24 14:38:30 +02:00
Andrew Murray
e31441fc41
Use Ubuntu 22.04 for 24.04 ppc64le and s390x
2025-01-24 19:51:07 +11:00
Andrew Murray
8a90975c14
Seek relative to current position
2025-01-22 23:14:34 +11:00
Hugo van Kemenade
58dd4a7dac
Merge pull request #8702 from radarhere/imagefile_fp
2025-01-20 19:29:05 +02: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
cf7dd2f0e9
Merge pull request #8700 from radarhere/ubuntu
2025-01-18 11:10:40 +02:00
Andrew Murray
ba606622b4
Updated Ubuntu arm to 24.04 with arm64 runner
2025-01-18 13:53:39 +11:00
Hugo van Kemenade
a92a664ee5
Merge pull request #8699 from radarhere/mozjpeg
2025-01-17 23:53:04 +02:00
Andrew Murray
284297755a
Updated capitalization
2025-01-18 07:55:49 +11:00
Andrew Murray
e79b298443
Merge branch 'main' into mozjpeg
2025-01-18 07:54:07 +11:00
Andrew Murray
30c4ad484c
Updated capitalization
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-01-18 07:48:15 +11:00
Hugo van Kemenade
4f7510b77b
Merge pull request #8689 from radarhere/get_child_images
2025-01-17 22:29:50 +02:00
Hugo van Kemenade
85a6df534c
Merge pull request #8698 from radarhere/arm64
2025-01-17 21:50:35 +02:00
Hugo van Kemenade
7446348b73
Merge pull request #8525 from hugovk/gha-windows-32-bit
2025-01-17 20:46:08 +02:00
Andrew Murray
6a0ac411e2
Added mozjpeg documentation
2025-01-17 18:57:12 +11:00
Andrew Murray
be8e55d28d
Added deprecation warning
2025-01-17 18:34:23 +11:00
Andrew Murray
176c5b3749
Added pypy to CIBW_ENABLE
2025-01-17 11:51:42 +11:00
Andrew Murray
a04e76a84f
Use arm64 Linux runners
2025-01-17 11:51:21 +11:00
Andrew Murray
d2122ab17f
Merge pull request #8696 from radarhere/numpy
...
Test Windows amd64 wheels with NumPy
2025-01-17 08:45:08 +11:00
Hugo van Kemenade
ade99aaa90
Merge branch 'main' into gha-windows-32-bit
2025-01-16 17:01:59 +02: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
Hugo van Kemenade
e59549f4e5
Merge pull request #8695 from radarhere/miniconda
2025-01-16 14:12:20 +02:00
Hugo van Kemenade
df7e42eef1
Merge pull request #8681 from radarhere/types
2025-01-16 14:00:25 +02:00
Andrew Murray
536aee5bbd
Test Numpy on amd64
2025-01-16 22:12:53 +11:00
Andrew Murray
e70c821436
Removed miniconda CPPFLAGS
2025-01-16 20:57:49 +11:00
Hugo van Kemenade
84d58a0282
Merge pull request #8694 from radarhere/exceptions
2025-01-14 17:04:39 +02:00
Hugo van Kemenade
bdfd881c6d
Merge pull request #8690 from radarhere/314
2025-01-14 16:24:41 +02:00
Andrew Murray
cf438c53ee
Removed UnidentifiedImageError, as it inherits from OSError
2025-01-14 21:04:08 +11:00
Andrew Murray
0f2c554c69
Improved comment
2025-01-14 21:03:20 +11:00
Hugo van Kemenade
f521a4be7d
Merge pull request #8686 from radarhere/test_embeddable_wheels
2025-01-13 21:21:06 +02:00
Andrew Murray
2ce2ff297c
Test Python 3.14 pre-release
2025-01-14 05:54:19 +11:00
Hugo van Kemenade
513a72abb5
Merge pull request #8691 from radarhere/sphinx
2025-01-13 19:08:28 +02:00
Andrew Murray
a4018d192c
Added Sphinx configuration key
2025-01-13 21:07:32 +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
7166a09538
Skip test_embeddable if compiler cannot be initialized
2025-01-11 18:57:41 +11:00
Hugo van Kemenade
3111e37bf4
Merge pull request #8679 from radarhere/test
2025-01-10 21:13:33 +02:00
Hugo van Kemenade
bce6097a96
Merge pull request #8684 from radarhere/spider
2025-01-10 19:29:23 +02:00
Andrew Murray
64bfdff6c8
Only F mode starts with F
2025-01-10 21:51:33 +11:00
Hugo van Kemenade
8878511476
Merge pull request #8683 from radarhere/test_embeddable
2025-01-10 12:01:59 +02:00
Andrew Murray
0d93c030a5
Test passes in Python 3.13
2025-01-10 19:10:42 +11:00
Andrew Murray
8430193bed
Merge pull request #8682 from hugovk/mingw
...
Use python-numpy and python-olefile instead of virtual python3 packages
2025-01-10 07:53:52 +11:00
Andrew Murray
5ad7f70ade
Merge branch 'main' into types
2025-01-09 23:44:33 +11:00
Andrew Murray
15ade68f40
Merge branch 'main' into test
2025-01-09 23:44:29 +11:00
Hugo van Kemenade
8603d6512a
Use python-numpy and python-olefile instead of python3-numpy and python3-olefile
2025-01-09 14:22:29 +02:00
Hugo van Kemenade
6fc496ee5b
Merge pull request #8678 from radarhere/mingw
2025-01-09 14:18:02 +02:00
Andrew Murray
4d14991604
Corrected argument types
2025-01-09 14:58:58 +11:00
Andrew Murray
a34a9cd6d1
Improved test coverage
2025-01-09 14:49:48 +11:00
Andrew Murray
f938af5c3c
Do not catch exception only to assert it is None
2025-01-09 14:38:07 +11:00
Andrew Murray
aa686894a6
Removed unused assert_all_same
2025-01-09 14:32:46 +11:00
Andrew Murray
440b09e831
Removed unused mode argument from assert_image_similar_tofile
2025-01-09 14:32:17 +11:00
Andrew Murray
2eb112329e
Use python-pip instead of python3-pip
2025-01-09 08:32:42 +11:00
Hugo van Kemenade
af3b904233
Merge pull request #8663 from radarhere/bigtiff
2025-01-08 19:15:31 +02:00
Hugo van Kemenade
93f45a3992
Merge pull request #8670 from radarhere/libpng
2025-01-08 19:12:20 +02:00
Hugo van Kemenade
e8040a7a0f
Merge pull request #8666 from radarhere/imagefile_tile
2025-01-08 19:09:33 +02:00
Hugo van Kemenade
bd4fd58ded
Merge pull request #8668 from radarhere/spider_test
2025-01-08 19:06:48 +02:00
Hugo van Kemenade
b69f2045d2
Merge pull request #8662 from radarhere/pyunicode
2025-01-08 19:05:49 +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
aaff3f1f3d
Merge pull request #8649 from radarhere/ico
2025-01-08 18:55:31 +02:00
Hugo van Kemenade
e9ab468277
Merge pull request #8648 from radarhere/png_text
2025-01-08 18:45:54 +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
Hugo van Kemenade
38a5f72d21
Merge pull request #8674 from radarhere/wheel_paths
2025-01-08 16:34:38 +02:00
Andrew Murray
fb7e2199e0
Merge pull request #8675 from python-pillow/renovate/github-actions
...
Update cygwin/cygwin-install-action action to v5
2025-01-08 20:29:01 +11:00
renovate[bot]
84c8e38b2d
Update cygwin/cygwin-install-action action to v5
2025-01-08 07:38:51 +00:00
Andrew Murray
f281eb9b46
Trigger from changes in pyproject.toml
2025-01-08 18:27:20 +11:00
Russell Keith-Magee
120ba1c13d
Rewrite the install_name of the ZLIB-NG library on macOS.
2025-01-08 14:01:06 +08:00
Andrew Murray
ee2b8c5256
Switch to .tar.gz for libpng
2025-01-08 10:26:21 +11:00
Andrew Murray
86b8e1e45f
Updated libpng to 1.6.45
2025-01-08 10:19:09 +11:00
Andrew Murray
f36c667467
Improved test coverage
2025-01-07 22:24:08 +11:00
Andrew Murray
aef6df2d04
Use ImageFile._Tile
2025-01-07 21:51:23 +11: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
Hugo van Kemenade
128f3f46d4
Merge pull request #8664 from radarhere/coverage
2025-01-07 12:49:04 +02:00
Andrew Murray
6e9592b504
Merge pull request #8665 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-01-07 09:03:05 +11:00
pre-commit-ci[bot]
b1749dff08
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.6 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.5 → v19.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.5...v19.1.6 )
- [github.com/woodruffw/zizmor-pre-commit: v0.10.0 → v1.0.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v0.10.0...v1.0.0 )
2025-01-06 17:35:41 +00:00
Andrew Murray
7708e4b524
Improved Docker coverage reporting
2025-01-06 20:30:47 +11:00
Andrew Murray
4ecf8cbd75
Simplified code
2025-01-05 14:49:34 +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
Hugo van Kemenade
2486361002
Merge pull request #8661 from radarhere/no_giflib
...
Removed giflib as webp dependency
2025-01-04 11:12:32 +02:00
Andrew Murray
66795e9c26
Merge branch 'main' into no_giflib
2025-01-04 17:26:10 +11:00
Hugo van Kemenade
ef223f52f7
Merge pull request #8658 from radarhere/giflib
...
Corrected installing ImageMagick on cifuzz
2025-01-04 08:24:39 +02:00
Andrew Murray
cce0f5b653
Removed giflib as webp dependency
2025-01-04 10:34:59 +11:00
Hugo van Kemenade
9ae8cb8e8e
Merge pull request #8657 from cdce8p/overload-exif_transpose
2025-01-03 15:00:22 +02: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
Andrew Murray
d12e78badf
Removed exif_transpose return type checks
2025-01-03 01:00:19 +01:00
Andrew Murray
1d771ff4a4
Do not call yum on cifuzz
2025-01-03 10:26:47 +11:00
Andrew Murray
48712f29ce
Merge pull request #8655 from radarhere/giflib
...
Updated to giflib 5.2.2 on Linux
2025-01-03 08:15:48 +11:00
Marc Mueller
1678f7f215
Add overloads for exif_transpose
2025-01-02 17:38:21 +01:00
Hugo van Kemenade
261ed66c11
Merge branch 'main' into giflib
2025-01-02 18:09:21 +02:00
Hugo van Kemenade
66f5a3facc
Merge pull request #8653 from radarhere/freetype
2025-01-02 18:08:34 +02:00
Hugo van Kemenade
9f2c702b4f
Merge pull request #8656 from hugovk/zlib-2.2.3
2025-01-02 18:07:50 +02:00
Andrew Murray
2d7597ac6a
Updated to giflib 5.2.2 on Linux
2025-01-02 22:50:25 +11:00
Hugo van Kemenade
22d50fd2c1
Merge pull request #8654 from radarhere/macos
2025-01-02 12:57:30 +02:00
Hugo van Kemenade
ade15fcdd3
Upgrade zlib-ng to 2.2.3
2025-01-02 12:46:24 +02:00
Andrew Murray
6b4619c4f5
Updated macOS tested Pillow versions
2025-01-02 20:46:58 +11: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
f636cb8c15
Updated freetype to 2.13.3
2025-01-02 10:28:51 +11:00
Hugo van Kemenade
dfb368a7e9
Merge pull request #8651 from radarhere/blp
...
Corrected BLP1 alpha depth handling
2025-01-01 17:27:28 +02:00
Andrew Murray
5d998d3fed
Improved coverage
2025-01-01 23:38:24 +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
beda2b6e8d
Removed unused image open
2025-01-01 10:49:24 +11:00
Andrew Murray
8d78cfcc5a
Added return types
2025-01-01 09:10:16 +11:00
Andrew Murray
d626e6ab9f
text is a property
2025-01-01 09:07:41 +11:00
Hugo van Kemenade
aa0f4127b8
Merge pull request #8646 from radarhere/centos
2024-12-31 17:04:35 +02:00
Andrew Murray
e34427167d
Added CentOS Stream 10
2024-12-31 23:26:09 +11:00
Andrew Murray
17f09f3993
Merge pull request #8644 from radarhere/c99
...
Remove pre-C99 definitions
2024-12-31 22:57:57 +11:00
Andrew Murray
ae59b03956
Do not use MozJPEG progressive default
2024-12-31 21:44:57 +11:00
Andrew Murray
06e02cc1d9
Added compile-time mozjpeg feature flag
2024-12-31 21:44:57 +11:00
Andrew Murray
d42f22baaf
Added release notes
2024-12-31 21:38:05 +11:00
Hugo van Kemenade
c7026d9bc8
Merge pull request #8642 from radarhere/bigtiff
2024-12-31 12:31:40 +02:00
Andrew Murray
f91b111fac
Removed pre-C99 definitions
2024-12-31 20:42:49 +11:00
Andrew Murray
c3fac1d78f
Merge pull request #8643 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.14.1
2024-12-31 11:25:01 +11:00
Andrew Murray
1de617fbe7
Added release notes
2024-12-31 11:13:14 +11:00
renovate[bot]
e27115ee8d
Update dependency mypy to v1.14.1
2024-12-30 23:31:05 +00: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
Hugo van Kemenade
8c3fbd5055
Merge pull request #8641 from radarhere/rawmode
2024-12-30 12:04:10 +02: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
Andrew Murray
a4f976ca27
Merge pull request #8638 from hugovk/pre-commit-zizmor
...
Add zizmor to pre-commit and fix potential cache-poisoning in wheels workflow
2024-12-30 09:44:40 +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
ec49b98bbb
Merge pull request #8637 from radarhere/rgbx_16n
2024-12-29 21:35:37 +02:00
Hugo van Kemenade
8d28514e40
Add zizmor to pre-commit and fix potential cache-poisoning in wheels workflow
2024-12-29 21:16:42 +02:00
Hugo van Kemenade
743256f80b
Merge pull request #8633 from radarhere/jfif_unit
2024-12-29 20:45:20 +02:00
Hugo van Kemenade
76df02d28b
Merge pull request #8627 from radarhere/xmp
...
Added release notes for writing XMP bytes to JPEG and MPO
2024-12-29 11:07:53 +02:00
Andrew Murray
ea962bf1d8
Added RGBX;16N to RGB unpacker
2024-12-29 16:59:32 +11:00
Andrew Murray
9368a86397
Keep new IFDs when converting EXIF to bytes
2024-12-29 07:43:47 +11:00
Andrew Murray
1a79d1025c
Merge pull request #8592 from radarhere/jpeg2000_cmyk_save
...
Support saving CMYK JP2 images
2024-12-29 06:25:37 +11:00
Andrew Murray
9bebecf36d
Use versionadded
2024-12-28 22:18:02 +11:00
Andrew Murray
973cd6481a
Merge branch 'main' into jpeg2000_cmyk_save
2024-12-28 22:08:08 +11:00
Hugo van Kemenade
41a89ea2dd
Merge pull request #8622 from radarhere/jpeg2000_comment
2024-12-28 13:05:26 +02:00
Hugo van Kemenade
1cf1932d33
Merge pull request #8631 from radarhere/buffer_size
2024-12-28 12:47:05 +02:00
Andrew Murray
8945875c6c
Populate DPI from JFIF cm density
2024-12-28 21:28:44 +11:00
Hugo van Kemenade
e8dad19409
Merge pull request #8628 from radarhere/monkeypatch
...
Use monkeypatch
2024-12-28 11:32:35 +02:00
Andrew Murray
05c981ffd7
Removed buffer_size variable
2024-12-28 15:41:19 +11:00
Andrew Murray
4e82f2bec0
Merge pull request #8630 from radarhere/imagegrab_macos
...
Do not use temporary file in ImageGrab.grabclipboard() on macOS
2024-12-28 15:15:51 +11:00
Andrew Murray
f10e9f42d3
Do not use temporary file in grabclipboard() on macOS
2024-12-28 14:29:29 +11:00
Andrew Murray
23083f28ab
Use monkeypatch
2024-12-28 14:02:19 +11:00
Andrew Murray
cfe8379d90
Added release notes for #8483
2024-12-28 13:02:23 +11:00
Andrew Murray
ad747f3fd8
Added release notes
2024-12-28 12:38:50 +11:00
Andrew Murray
0220b025c5
Updated documentation for #7947 and #8592
2024-12-28 12:33:59 +11:00
Andrew Murray
439d5cf2a0
Merge branch 'main' into jpeg2000_cmyk_save
2024-12-28 07:42:56 +11:00
Hugo van Kemenade
d008d12ba3
Merge pull request #8625 from radarhere/containerio
2024-12-27 21:51:08 +02:00
Hugo van Kemenade
cf09e8ea50
Merge pull request #8620 from radarhere/polygon
2024-12-27 21:47:49 +02: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
dc84811cae
Merge pull request #8551 from radarhere/guessing
2024-12-27 21:41:47 +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
dcd0479772
Merge pull request #8499 from radarhere/stub
2024-12-27 21:31:11 +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
Hugo van Kemenade
4db5be1182
Merge pull request #8626 from radarhere/monkeypatch
2024-12-27 16:39:10 +02:00
Andrew Murray
89f1498796
Updated argument types to match Image draft
2024-12-27 11:38:47 +11:00
Andrew Murray
0148684c24
Use monkeypatch
2024-12-27 11:29:47 +11:00
Andrew Murray
aef3aa2ab3
Pass file handle to ContainerIO
2024-12-27 11:26:07 +11:00
Andrew Murray
e16e334013
Merge pull request #28 from nulano/emf_records
...
Skip failing WMF records on 32-bit Windows
2024-12-27 11:09:42 +11:00
Nulano
2ea3ea94a1
Skip failing WMF records on 32-bit Windows
2024-12-26 22:06:07 +01:00
Hugo van Kemenade
f9767fb00f
Merge pull request #8624 from radarhere/type_hint_spider
2024-12-26 22:20:50 +02:00
Hugo van Kemenade
6e66166234
Merge pull request #8623 from radarhere/threads
2024-12-26 22:17:44 +02:00
Andrew Murray
622722f295
Corrected loadImageSeries type hint
2024-12-26 20:04:27 +11:00
Andrew Murray
62b7cb62f4
Fixed indentation
2024-12-26 19:06:23 +11:00
Andrew Murray
dd410e4b32
Added reading of J2K comments
2024-12-26 10:51:45 +11:00
Andrew Murray
fb3d80e390
Fixed connecting discontiguous corners
2024-12-24 00:41:27 +11:00
Andrew Murray
601a56def1
Assert palette is not None
2024-12-23 12:03:13 +11:00
Andrew Murray
5d5543b35c
Assert that load() does not return None
2024-12-23 11:57:27 +11:00
Andrew Murray
0074c3bf34
Assert that a tuple is returned by getpixel()
2024-12-23 11:45:36 +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
renovate[bot]
3d0f438949
Update dependency mypy to v1.14.0
2024-12-21 01:38:05 +00: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
e7e5420e0a
Merge pull request #8612 from radarhere/webp
...
Updated libwebp to 1.5.0
2024-12-20 23:42:02 +11:00
Andrew Murray
0e80a5a88f
Merge branch 'main' into webp
2024-12-20 20:33:18 +11:00
Andrew Murray
5bd2f489fa
Install libjpeg-turbo8-dev ( #8610 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-12-20 09:44:50 +02:00
Andrew Murray
c6f42cb6a5
Updated libwebp to 1.5.0
2024-12-20 14:46:01 +11:00
Andrew Murray
413cae5a03
Merge branch 'main' into emf_records
2024-12-18 19:01:56 +11: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
de8335ba8f
Extract tar files with "data" filter in Windows build scripts ( #8606 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-12-18 08:07:34 +02:00
Hugo van Kemenade
feeacf46ad
Merge pull request #8608 from radarhere/libjpeg-turbo
...
Updated libjpeg-turbo URL
2024-12-18 08:05:13 +02:00
Andrew Murray
962bfc6fd5
Updated libjpeg-turbo URL
2024-12-18 10:39:52 +11:00
Hugo van Kemenade
76919ad962
Merge pull request #8567 from radarhere/winbuild
...
Derive dir from filename if root is the same in winbuild
2024-12-17 16:11:14 +02:00
Andrew Murray
0ca832cfa5
Merge branch 'main' into xmp
2024-12-17 18:43:00 +11:00
Andrew Murray
88f6be3f19
Merge pull request #8604 from radarhere/libjpeg-turbo
...
Updated libjpeg-turbo and harfbuzz URLs
2024-12-17 08:24:27 +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
0958114521
Corrected harfbuzz URL
2024-12-16 21:03:33 +11:00
Andrew Murray
5e35ca359c
Updated libjpeg-turbo URL
2024-12-16 20:17:36 +11:00
Andrew Murray
935c34a157
Merge branch 'main' into winbuild
2024-12-16 09:55:29 +11:00
Hugo van Kemenade
6e45e71052
Merge pull request #8601 from radarhere/zlib
2024-12-15 23:17:17 +02:00
Hugo van Kemenade
c2f21a233f
Merge pull request #8599 from radarhere/releasenotes
2024-12-15 17:07:13 +02:00
Andrew Murray
7f6ebfb8c5
Added release notes for #8500
2024-12-15 23:40:38 +11:00
Andrew Murray
6373e8bcc4
Use .tar.gz zlib to match macOS and Linux
2024-12-15 22:58:35 +11:00
Andrew Murray
62d8ccc015
Derive dir from filename if root is the same
2024-12-15 12:11:41 +11:00
Andrew Murray
a7338f8ce7
Merge pull request #8500 from nulano/zlib-ng
...
Use zlib-ng instead of zlib
2024-12-15 07:01:42 +11:00
Hugo van Kemenade
c79aab7cc9
Merge pull request #8598 from radarhere/libxau
...
Updated libXau to 1.0.12
2024-12-14 11:50:32 +02:00
Andrew Murray
01bc487ff4
Merge branch 'main' into zlib-ng
2024-12-14 19:06:00 +11:00
Andrew Murray
0e5f5fcb29
Updated libXau to 1.0.12
2024-12-14 16:33:20 +11:00
Hugo van Kemenade
bce51744f6
Merge pull request #8596 from radarhere/macos
...
Test libjpeg-turbo on macOS
2024-12-13 17:18:47 +02:00
Andrew Murray
642b44c315
Test libjpeg-turbo on macOS
2024-12-14 01:25:28 +11:00
Hugo van Kemenade
bc8e581efd
Merge pull request #8593 from radarhere/brew
...
Do not attempt to install cmake if it is already present
2024-12-13 13:37:56 +02:00
Hugo van Kemenade
0a513879d1
Merge pull request #8595 from radarhere/libjpeg-turbo
...
Updated libjpeg-turbo to 3.1.0
2024-12-13 13:37:05 +02:00
Andrew Murray
e361930936
Updated libjpeg-turbo to 3.1.0
2024-12-13 18:56:59 +11:00
Andrew Murray
9ed96704d3
Do not attempt to install cmake if it is already present
2024-12-13 07:28:48 +11:00
Andrew Murray
522505b714
Support saving CMYK JPEG2000 images
2024-12-10 18:33:12 +11:00
Hugo van Kemenade
d66c51a356
Merge pull request #8533 from radarhere/harfbuzz_10_1_0
...
Updated harfbuzz to 10.1.0
2024-12-10 09:29:30 +02:00
Hugo van Kemenade
335dd2aa7c
Merge pull request #8591 from radarhere/openjpeg_253
...
Updated openjpeg to 2.5.3
2024-12-10 09:29:16 +02:00
Andrew Murray
2215eaf21d
Updated openjpeg to 2.5.3
2024-12-10 06:25:48 +11:00
Jeffrey A. Clark
90591d75db
Merge pull request #8586 from python-pillow/pre-commit-ci-update-config
...
Replace python-pillow.org with python-pillow.github.io
2024-12-07 09:02:47 -05:00
Hugo van Kemenade
c5474ed433
Replace python-pillow.org with python-pillow.github.io
2024-12-06 20:26:07 +02:00
Hugo van Kemenade
76356c5fe4
Merge pull request #8582 from radarhere/imagefile_tile
...
ImageFile tile is never None
2024-12-03 13:11:43 +02:00
Andrew Murray
3ce33a253a
self.tile is not None
2024-12-03 20:14:03 +11:00
Hugo van Kemenade
78504658b1
Merge pull request #8580 from python-pillow/renovate/cibuildwheel-2.x
2024-12-03 09:06:43 +02:00
Andrew Murray
f4a9304bb3
Use CIBW_ENABLE
2024-12-03 13:35:00 +11:00
renovate[bot]
80c562573a
Update dependency cibuildwheel to v2.22.0
2024-12-03 02:28:52 +00:00
Andrew Murray
c16ae6fefa
Do not describe raw data as a table
2024-12-03 09:19:26 +11:00
Andrew Murray
595bdf2057
Merge pull request #8578 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-12-03 09:07:41 +11:00
Hugo van Kemenade
0ab21dff1e
Fix new Ruff errors
2024-12-02 20:29:38 +02:00
pre-commit-ci[bot]
0000729f2a
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.8.1 )
- [github.com/PyCQA/bandit: 1.7.10 → 1.8.0](https://github.com/PyCQA/bandit/compare/1.7.10...1.8.0 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.3 → v19.1.4](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.3...v19.1.4 )
- [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.4...0.30.0 )
- [github.com/abravalheri/validate-pyproject: v0.22 → v0.23](https://github.com/abravalheri/validate-pyproject/compare/v0.22...v0.23 )
2024-12-02 17:34:54 +00:00
Hugo van Kemenade
d4383f923d
Merge pull request #8577 from hugovk/copyright-years
2024-12-02 09:05:43 +02:00
Hugo van Kemenade
513fe2ca2d
Only use start year in copyright, remove end years
2024-12-01 23:15:54 +02:00
Hugo van Kemenade
32ee1060d1
Merge pull request #8576 from radarhere/config
2024-11-30 19:02:54 +02:00
Andrew Murray
c61e5502da
Merge pull request #8575 from radarhere/mingw
...
Python 3.12 is tested on MinGW
2024-11-30 23:18:34 +11:00
Andrew Murray
1d15ce8c49
Updated build option error messages
2024-11-30 23:17:42 +11:00
Andrew Murray
1fab591f42
Python 3.12 is tested on MinGW
2024-11-30 21:17:31 +11:00
Hugo van Kemenade
c388ad06a4
Merge pull request #8574 from radarhere/raqm
...
Use brew formula to install libraqm
2024-11-30 10:29:20 +02:00
Andrew Murray
10527918e3
Use brew formula to install libraqm
2024-11-29 17:13:07 +11:00
Andrew Murray
1c152258c3
Merge pull request #8560 from Knio/tom/bufferedio
...
Fix file position desync when calling into libtiff
2024-11-29 13:37:33 +11:00
Andrew Murray
b1a9199e44
Merge pull request #8571 from radarhere/changes
...
Added link to GitHub releases in CHANGES
2024-11-29 08:42:21 +11:00
Andrew Murray
4986609938
Use zlib-ng on macOS
2024-11-28 21:31:54 +11:00
Andrew Murray
7ff4bcb39d
Merge pull request #27 from hugovk/radarhere-changes
...
Update/remove references to CHANGES.rst
2024-11-28 19:35:41 +11:00
Hugo van Kemenade
c36a5b669b
Update/remove references to CHANGES.rst
2024-11-28 10:29:05 +02:00
Andrew Murray
02250e81b7
Added link to GitHub releases
2024-11-28 07:58:10 +11:00
Andrew Murray
b25a5a4072
Merge pull request #8570 from hugovk/release-drafter-uncategorised-last
...
Release drafter: move removals, deprecations, documentation up, and uncategorised changes last
2024-11-27 09:11:00 +11:00
Hugo van Kemenade
5174c596ca
Release drafter: move removals, deprecations, documentation up, and uncategorised changes last
2024-11-26 22:06:47 +02:00
Andrew Murray
7dcf4d8ab3
Added logging to fixIFD()
2024-11-25 19:41:41 +11:00
Hugo van Kemenade
4304414473
Merge pull request #8566 from radarhere/cmake_wheel
...
Do not attempt to install cmake a second time when building macOS or Linux wheels
2024-11-25 09:11:07 +02:00
Andrew Murray
540a0b73a7
Use installed cmake
2024-11-25 12:15:25 +11:00
Hugo van Kemenade
d7ffb39731
Merge pull request #8565 from hugovk/Quansight-Labs/setup-python
2024-11-24 15:02:24 +02:00
Hugo van Kemenade
16e409a8d2
Test 3.13t (free-threaded) from Quansight-Labs/setup-python on Linux/macOS
2024-11-24 13:46:28 +02:00
Hugo van Kemenade
e4b07cce98
Merge pull request #8557 from python-pillow/renovate/github-actions
2024-11-23 18:46:55 +02:00
Andrew Murray
dab795c808
Merge branch 'main' into zlib-ng
2024-11-22 18:27:44 +11:00
Andrew Murray
8a82e0c66b
Merge branch 'main' into renovate/github-actions
2024-11-22 18:26:28 +11:00
Hugo van Kemenade
09d75436f3
Merge pull request #8562 from radarhere/mingw_packages
2024-11-22 08:40:05 +02:00
Andrew Murray
30f03b2bff
Removed SETUPTOOLS_USE_DISTUTILS="stdlib"
2024-11-22 11:05:33 +11:00
Andrew Murray
9c3d8fb581
Do not install Pyroma, to use only system packages
2024-11-22 11:02:50 +11:00
Andrew Murray
69c9a7ffcf
Use zlib-ng on Linux
2024-11-21 20:39:08 +01:00
Andrew Murray
bfe40b5129
Prevent Cygwin bash from being used by codecov-action
2024-11-21 19:24:08 +11:00
Tom Flanagan
9fd4450281
Merge pull request #1 from radarhere/tom/bufferedio
...
Moved test
2024-11-20 05:22:49 -08:00
Tom Flanagan
82dfbc35b1
Update src/PIL/TiffImagePlugin.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-20 05:21:14 -08:00
Andrew Murray
925db45526
Moved test
2024-11-20 22:40:29 +11:00
Andrew Murray
cb1653f627
Updated comment
2024-11-20 22:33:23 +11:00
pre-commit-ci[bot]
44cc0bebb8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-11-20 05:52:53 +00:00
Tom Flanagan
c7a9582eab
Fix file position desync when calling into libtiff
2024-11-19 21:49:33 -08:00
Andrew Murray
e02e4aaf1d
Updated harfbuzz to 10.1.0
2024-11-19 07:12:54 +11:00
Andrew Murray
3f5f3bb07b
Merge branch 'main' into zlib-ng
2024-11-18 22:25:19 +11:00
Hugo van Kemenade
0995305eb4
Merge pull request #8497 from freakboy3742/homebrew-isolation
2024-11-18 12:17:40 +02:00
Russell Keith-Magee
96b898c826
A couple more cleanups from code review.
2024-11-18 09:56:45 +08:00
Andrew Murray
c70dacff62
Updated from deprecated "file" to "files"
2024-11-16 21:44:00 +11:00
renovate[bot]
6136a92d06
Update codecov/codecov-action action to v5
2024-11-16 09:48:28 +00:00
Russell Keith-Magee
54f23345d2
More tweaks from code review.
2024-11-16 09:58:29 +08:00
Andrew Murray
185a03f1a2
Do not create new image when exif_transpose() is used in place
2024-11-16 12:05:06 +11:00
Andrew Murray
84f5c7e5ba
Added default value for _Tile offset
2024-11-13 22:53:29 +11:00
Andrew Murray
871963b8dd
Replaced tuple args with mode string where equivalent
2024-11-13 22:53:18 +11:00
Andrew Murray
48c7eb22c0
Added default value for _Tile args
2024-11-13 22:45:52 +11:00
Russell Keith-Magee
0e3eb70ea0
Merge pull request #1 from radarhere/homebrew-isolation
...
Disable platform guessing instead of adding dependencies-prefix
2024-11-13 11:49:37 +08:00
Russell Keith-Magee
9dc690427f
Correct the lookup of libfribidi on x86 macOS installs.
2024-11-13 11:03:26 +08:00
Andrew Murray
6fa775e324
Platform guessing affects more than just Linux
2024-11-12 22:46:24 +11:00
Andrew Murray
378df7a5b2
Disable platform guessing instead of adding dependencies-prefix
2024-11-12 22:41:57 +11:00
Andrew Murray
5bff2f3b28
Update CHANGES.rst [ci skip]
2024-11-10 21:32:54 +11:00
Hugo van Kemenade
b7bbcfbffb
Merge pull request #8545 from radarhere/realpath
2024-11-10 11:51:57 +02:00
Andrew Murray
2303018ebf
Removed use of os.path.realpath
2024-11-09 20:06:33 +11:00
mergify[bot]
ab496d04ce
Merge pull request #8544 from radarhere/type_hints_quotes
...
Removed quotes after dropping support for Python 3.8
2024-11-09 08:20:12 +00:00
Andrew Murray
7674b1a07a
Removed quotes after dropping support for Python 3.8
2024-11-09 18:43:12 +11:00
Andrew Murray
9f09d48f37
Update CHANGES.rst [ci skip]
2024-11-09 18:20:52 +11:00
Andrew Murray
a01c31a1a3
Merge pull request #8519 from cubanpit/patch-1
...
Allow linking to zlib import library on Windows
2024-11-09 14:08:44 +11:00
Russell Keith-Magee
681a03b1c3
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-09 10:29:29 +08:00
Hugo van Kemenade
d642d2c36f
Merge pull request #8541 from radarhere/gcc
2024-11-08 16:23:15 +02:00
Andrew Murray
0a5b0f29e5
Run gcc problem matcher on Python 3.13
2024-11-09 00:18:59 +11:00
Andrew Murray
c5e89ee914
Merge pull request #26 from nulano/imagegrab-dynamic-link
...
Fix GetWindowDpiAwarenessContext NULL check
2024-11-08 11:01:39 +11:00
Russell Keith-Magee
4e35852ccc
Correct typo in comment.
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-08 05:34:35 +08:00
Andrew Murray
acba5c47f8
Lint fix
2024-11-08 08:26:16 +11:00
Ondrej Baranovič
a6c941ac2c
Do not load GetWindowDpiAwarenessContext until its needed
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-07 22:22:02 +01:00
Nulano
4b8867069b
Fix GetWindowDpiAwarenessContext NULL check
2024-11-07 22:06:28 +01:00
pre-commit-ci[bot]
288d77efd6
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-11-07 20:46:01 +00:00
Andrew Murray
a44b3067b0
Fallback to PER_MONITOR_AWARE if GetWindowDpiAwarenessContext is not available
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-11-08 07:45:29 +11:00
Andrew Murray
7763350f07
Fallback to PER_MONITOR_AWARE
2024-11-08 07:30:09 +11:00
Hugo van Kemenade
09bf28e9d7
Update platform support
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-07 15:46:08 +02:00
Hugo van Kemenade
a262b1991b
Update winbuild/README.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-11-07 12:54:28 +02:00
Andrew Murray
48f183802a
Merge branch 'main' into gha-windows-32-bit
2024-11-07 10:14:04 +11:00
Andrew Murray
2e7da079cd
Merge pull request #8514 from hugovk/tests-trove-extra
...
Add trove-classifiers>=2024.10.12 to 'tests' extra and use for Windows CI
2024-11-07 10:11:13 +11:00
Hugo van Kemenade
e5f2874e26
Require coverage>=7.4.2 ( #129 )
2024-11-06 23:51:30 +02:00
Andrew Murray
042f3ff083
Require coverage>=7.4.2
2024-11-07 07:52:18 +11:00
Andrew Murray
b11aec3963
Merge branch 'main' into tests-trove-extra
2024-11-07 07:50:51 +11:00
Hugo van Kemenade
2e09d7a910
Merge pull request #8538 from radarhere/macos
2024-11-06 13:43:37 +02:00
Andrew Murray
b0345c1c7b
Updated macOS tested Pillow versions
2024-11-06 22:08:22 +11:00
Russell Keith-Magee
904416bda1
Merge branch 'main' into homebrew-isolation
2024-11-06 14:33:25 +08:00
Russell Keith-Magee
e82b5398e7
Correct handling of vendored fribidi.
2024-11-06 14:12:51 +08:00
Pietro F. Fontana
a1d862f1d6
Be more specific in comment
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-11-05 15:39:03 +01:00
Andrew Murray
3cdaee45f5
Raise UnidentifiedImageError when opening TIFF without dimensions
2024-11-05 21:20:20 +11:00
Hugo van Kemenade
7fe56d62c6
Merge pull request #8534 from radarhere/parse
2024-11-05 12:15:38 +02:00
Andrew Murray
f68219713c
Merge branch 'main' into imagegrab
2024-11-05 21:15:08 +11:00
Hugo van Kemenade
8561875b2d
Merge pull request #8532 from radarhere/type_hint
2024-11-05 12:12:43 +02:00
Andrew Murray
48db4a1d4d
Use test image filename
2024-11-05 19:40:03 +11:00
Andrew Murray
9622266c2a
Use DPI awareness from window
2024-11-05 18:33:25 +11:00
Andrew Murray
2d23a84049
Fixed type hint
2024-11-05 17:18:46 +11:00
Andrew Murray
28e5b929f8
Test 0
2024-11-05 08:40:09 +11:00
Andrew Murray
b6413cd588
Cast to uint64_t
2024-11-05 07:16:49 +11:00
Andrew Murray
607acbf95e
Allow window to be supplied for ImageGrab.grab() on Windows
2024-11-05 07:05:39 +11:00
Hugo van Kemenade
5628213ab0
Upgrade pip for all
2024-11-04 21:17:47 +02:00
mergify[bot]
82199efbf7
Merge pull request #8531 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-11-04 18:26:52 +00:00
pre-commit-ci[bot]
4b7f6a6eb0
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.2 )
- [github.com/psf/black-pre-commit-mirror: 24.8.0 → 24.10.0](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...24.10.0 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.1 → v19.1.3](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.1...v19.1.3 )
- [github.com/python-jsonschema/check-jsonschema: 0.29.3 → 0.29.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.3...0.29.4 )
- [github.com/tox-dev/pyproject-fmt: 2.2.4 → v2.5.0](https://github.com/tox-dev/pyproject-fmt/compare/2.2.4...v2.5.0 )
- [github.com/abravalheri/validate-pyproject: v0.20.2 → v0.22](https://github.com/abravalheri/validate-pyproject/compare/v0.20.2...v0.22 )
2024-11-04 17:35:35 +00:00
Andrew Murray
37679c8673
Pass IFDs to libtiff as TIFF_LONG8
2024-11-04 20:55:00 +11:00
Hugo van Kemenade
a60981650b
Merge pull request #8527 from python-pillow/renovate/migrate-config
2024-11-04 08:45:59 +02:00
Andrew Murray
89735266ad
Merge pull request #8526 from hugovk/zizmor
...
Apply security fixes to GitHub Actions
2024-11-04 16:34:23 +11:00
renovate[bot]
924df0ac5c
Migrate config .github/renovate.json
2024-11-03 23:22:57 +00:00
Hugo van Kemenade
d3db931f21
Fix error[excessive-permissions]: overly broad workflow or job-level permissions
2024-11-02 23:31:21 +02:00
Hugo van Kemenade
9faf598c89
Fix warning[artipacked]: credential persistence through GitHub Actions artifacts
2024-11-02 23:29:56 +02:00
Hugo van Kemenade
1c4f29f2ce
Test the oldest Python on 32-bit Windows 2019
2024-11-02 16:28:07 +02:00
Hugo van Kemenade
327e13ffd0
Stop testing on AppVeyor
2024-11-02 15:41:57 +02:00
Hugo van Kemenade
5771f0ec37
Merge pull request #8523 from nulano/winarm64
2024-11-02 15:36:05 +02:00
Ondrej Baranovič
6fe7160cb9
Update Windows 11 Arm64 tested versions
2024-11-02 14:03:53 +01:00
Hugo van Kemenade
48a4ee9904
Merge pull request #8521 from hugovk/gcov
2024-11-02 12:55:48 +02:00
Hugo van Kemenade
141e8d2546
Remove unused 'gcov: true' for codecov-action@v4
2024-11-02 12:08:23 +02:00
Andrew Murray
a9e110e64a
Merge pull request #8520 from radarhere/fedora
...
Added Fedora 41
2024-11-02 19:45:55 +11:00
Andrew Murray
71016f23b4
Added Fedora 41
2024-11-02 17:51:01 +11:00
Pietro F. Fontana
aae90c3c01
Allow linking to shared zlib
...
If compiled as shared library zlib produces `zlib1.dll` and `zdll.lib`.
2024-11-01 15:42:08 +01:00
Russell Keith-Magee
51e3623066
Revert x86_64 homebrew location change (with explanation).
2024-10-31 09:54:02 +08:00
Russell Keith-Magee
01270b5859
Use the intended entry point for the x86_64 brew binary.
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-31 06:27:54 +08:00
Hugo van Kemenade
0bf15f0f2a
Upgrade pip
2024-10-30 22:24:37 +02:00
Hugo van Kemenade
67c2e04f70
Add trove-classifiers>=2024.10.12 to 'tests' extra and use for Windows CI
2024-10-30 08:37:19 +02:00
Russell Keith-Magee
96ae15c5cd
Merge branch 'main' into homebrew-isolation
2024-10-30 06:25:08 +08:00
Russell Keith-Magee
c6912f81ff
Corrected typo in code comment.
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-30 05:43:23 +08:00
Hugo van Kemenade
16372dd951
Merge pull request #8512 from radarhere/qtables
2024-10-29 17:50:25 +02:00
Andrew Murray
80cf74030d
Removed fixture
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-29 23:13:01 +11:00
Andrew Murray
467f12022e
Merge branch 'main' into homebrew-isolation
2024-10-29 22:38:27 +11:00
Andrew Murray
624848ff97
Do not repeatedly save to the same path
2024-10-29 22:21:53 +11:00
Andrew Murray
2d1d801ec0
Update CHANGES.rst [ci skip]
2024-10-29 22:15:56 +11:00
Hugo van Kemenade
e214dbf75c
Merge pull request #8509 from radarhere/toqpixmap
...
Detach PyQt6 QPixmap instance before returning
2024-10-29 13:06:37 +02:00
Hugo van Kemenade
0fd608626a
Merge pull request #8511 from radarhere/multibuild_lib64
...
Upgraded multibuild to remove openjpeg lib64 copy
2024-10-29 13:04:24 +02:00
Russell Keith-Magee
6d137043f7
Remove stray debug.
2024-10-29 10:01:46 +08:00
Russell Keith-Magee
d1a4f8029b
Don't use multibuild variables before invoking multibuild.
2024-10-29 09:54:15 +08:00
Russell Keith-Magee
ec214e4d7c
Can't check IS_MACOS until common_utils is invoked.
2024-10-29 09:39:58 +08:00
Russell Keith-Magee
72d81e24a8
Simplify Linux config by correcting a logic error in macOS config.
2024-10-29 09:25:47 +08:00
Russell Keith-Magee
c74a5bdd85
Correct paths used for Linux build.
2024-10-29 09:02:05 +08:00
Russell Keith-Magee
8308bf361e
Bump multibuild to include more cmake changes.
2024-10-29 07:48:07 +08:00
Russell Keith-Magee
08554684b3
Revert fribidi/raqm changes for macOS builds.
2024-10-29 07:48:07 +08:00
Andrew Murray
5ab79bcc1f
Merge branch 'main' into zlib-ng
2024-10-29 09:53:02 +11:00
Andrew Murray
3e4be4b235
Merge branch 'main' into homebrew-isolation
2024-10-29 09:52:29 +11:00
Andrew Murray
e5706a590b
Upgraded multibuild to remove openjpeg lib64 copy
2024-10-29 09:04:06 +11:00
Hugo van Kemenade
bdd0b8630c
Merge pull request #8502 from radarhere/libdeflate
2024-10-28 16:43:09 +02:00
Andrew Murray
73600eea94
Detach PyQt6 QPixmap instance before returning
2024-10-29 00:34:24 +11:00
Andrew Murray
9a4b3e05d6
Merge pull request #8496 from lysnikolaou/fix-font-face-threading-crash
...
Fix SEGFAULT from calling FT_New_Face/FT_Done_Face in multiple threads
2024-10-27 08:38:53 +11:00
Andrew Murray
b4ba466541
Do not skip failing records on 32-bit
2024-10-27 07:03:35 +11:00
Andrew Murray
8c1dc0de3c
Merge branch 'main' into emf_records
2024-10-26 22:01:47 +11:00
Andrew Murray
29cdbce39e
Update CHANGES.rst [ci skip]
2024-10-26 21:13:01 +11:00
Hugo van Kemenade
23023dee8d
Merge pull request #8485 from radarhere/emf
2024-10-26 12:45:52 +03:00
Andrew Murray
ed910a68d6
Only replace version suffix if zlib-ng is present
2024-10-26 11:23:49 +02:00
Andrew Murray
1654eeacba
Merge pull request #8484 from radarhere/fixture
...
Use fixture to re-open image for each JPEG2000 test
2024-10-26 19:42:59 +11:00
Andrew Murray
f92599aa93
Renamed fixture
2024-10-26 19:05:16 +11:00
Andrew Murray
ce4059171c
Skip failing records when rendering
2024-10-26 18:41:05 +11:00
Hugo van Kemenade
81a3bf5f58
Merge pull request #8504 from radarhere/mpo
...
Move MPO into "Fully supported formats"
2024-10-26 09:43:02 +03:00
Hugo van Kemenade
35ddbb48c3
Merge pull request #8505 from radarhere/warnings
...
Fixed catching warnings
2024-10-26 09:41:09 +03:00
Andrew Murray
413bbb31c9
Fixed catching warnings
2024-10-26 16:15:46 +11:00
Andrew Murray
e1f4b5a68f
Move MPO into "Fully supported formats"
2024-10-26 15:10:41 +11:00
Andrew Murray
a43e5bb735
brew remove libdeflate
2024-10-26 14:26:47 +11:00
Andrew Murray
c07e089fd1
Merge branch 'main' into zlib-ng
2024-10-26 11:53:47 +11:00
Andrew Murray
64eed14867
Merge pull request #8498 from radarhere/winbuild
...
Added filename placeholder in winbuild URL
2024-10-26 11:52:33 +11:00
Nulano
7885066e5f
PIL.features: Add a compile-time zlib-ng feature flag and version number
2024-10-25 21:30:22 +02:00
Nulano
3e0849bfb5
winbuild: Replace zlib with zlib-ng built with CMake
2024-10-25 20:35:17 +02:00
Lysandros Nikolaou
bb3515d649
Make PyMutex static and get rid of initialization
2024-10-25 17:32:29 +02:00
Andrew Murray
4b9399f8bf
Use register_handler
2024-10-25 22:00:45 +11:00
Russell Keith-Magee
43c34fc0a5
Copy manylinux lib64 files from the correct built prefix.
2024-10-25 17:20:34 +08:00
Andrew Murray
fa7678987e
Simplified code
2024-10-25 19:56:36 +11:00
Andrew Murray
c46946f3a4
Added filename placeholder in URL
2024-10-25 19:13:39 +11:00
Russell Keith-Magee
0961d3d22b
Possible fix for linux build failures.
2024-10-25 16:10:29 +08:00
Russell Keith-Magee
140a06e0fd
Explicitly disable libdeflate on libtiff.
2024-10-25 16:04:56 +08:00
Russell Keith-Magee
5a8373e527
Correct a dumb pip invocation error.
2024-10-25 14:47:51 +08:00
Russell Keith-Magee
06dbfedb0f
Bump the multibuild version to fix jpeg-turbo issue.
2024-10-25 13:51:37 +08:00
Russell Keith-Magee
00809a2551
Tweaks to ensure isolation from Homebrew on x86_64.
2024-10-25 13:42:46 +08:00
Russell Keith-Magee
fc35fcc5ea
Cleanups and typos identified by code review.
2024-10-25 10:55:30 +08:00
Russell Keith-Magee
0fe55d6115
Isolate macOS build from Homebrew.
2024-10-25 09:53:06 +08:00
pre-commit-ci[bot]
7999da38a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-24 14:07:46 +00:00
Lysandros Nikolaou
c8e301c474
Fix SEGFAULT from calling FT_New_Face/FT_Done_Face in multiple threads
2024-10-24 16:01:28 +02:00
Andrew Murray
8af2d7640e
Pass palette mode to putpalette
2024-10-24 23:26:13 +11:00
Hugo van Kemenade
822ec3d05d
Merge pull request #8491 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.13.0
2024-10-23 07:30:34 +03:00
renovate[bot]
6a55f2df03
Update dependency mypy to v1.13.0
2024-10-23 02:36:15 +00:00
Hugo van Kemenade
31b82ee297
Merge pull request #8490 from radarhere/license
2024-10-22 13:05:06 +03:00
Andrew Murray
22c05e232c
Update license to MIT-CMU
2024-10-22 17:56:02 +11:00
Andrew Murray
ccd4683f45
Merge pull request #8487 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.12.1
2024-10-21 12:11:35 +11:00
renovate[bot]
beb32bbb1f
Update dependency mypy to v1.12.1
2024-10-21 00:18:00 +00:00
Andrew Murray
55579084cd
Corrected EMF DPI
2024-10-19 20:40:13 +11:00
Hugo van Kemenade
331e4e7517
Merge pull request #8482 from radarhere/imagefile
2024-10-18 14:33:26 +03:00
Andrew Murray
5b06597075
Use fixture to re-open image for each test
2024-10-18 19:29:22 +11:00
Andrew Murray
203ca12626
Allow encoderinfo to be set for appended images
2024-10-18 19:09:22 +11:00
Andrew Murray
98f975dbbe
Do not save XMP from info
2024-10-18 18:56:23 +11:00
Andrew Murray
a337138f92
Updated type hint
2024-10-18 08:32:14 +11:00
Andrew Murray
d59b169ed2
Update CHANGES.rst [ci skip]
2024-10-17 23:10:48 +11:00
Hugo van Kemenade
6e2ebaae2d
Merge pull request #8474 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.12.0
2024-10-17 08:16:14 +03:00
Andrew Murray
0beb2228f9
Include JpegImageFile layers in state
2024-10-17 12:44:25 +11:00
Andrew Murray
4611a24661
Fix IFDRational with a zero denominator
2024-10-17 10:58:48 +11:00
Andrew Murray
5ff20273d9
Updated type hints
2024-10-17 10:46:26 +11:00
renovate[bot]
c252b708ee
Update dependency mypy to v1.12.0
2024-10-16 21:41:38 +00:00
Andrew Murray
11c654c187
Update CHANGES.rst [ci skip]
2024-10-16 23:07:35 +11:00
mergify[bot]
1c11d4581c
Merge pull request #8469 from radarhere/disable
...
Fixed disabling a feature during install
2024-10-16 11:38:07 +00:00
Andrew Murray
7c194b54ef
Fixed disabling a feature
2024-10-16 21:37:14 +11:00
Hugo van Kemenade
96fb0e63ea
Merge pull request #8467 from radarhere/pypy
...
Skip PyPy3.9 wheels
2024-10-16 08:27:11 +03:00
Andrew Murray
8393972c35
Skip PyPy3.9 wheels
2024-10-16 09:56:33 +11:00
Andrew Murray
37e56350a3
Merge pull request #8466 from radarhere/fedora
...
Removed Fedora 39
2024-10-16 09:14:28 +11:00
Hugo van Kemenade
304732f75e
Merge pull request #8465 from radarhere/tile
2024-10-15 18:05:37 +03:00
Hugo van Kemenade
455e6da119
11.1.0.dev0 version bump
2024-10-15 17:30:25 +03:00
Andrew Murray
a433f24f0b
tile is already an empty list
2024-10-15 22:14:26 +11:00
Hugo van Kemenade
204aae6682
11.0.0 version bump
2024-10-15 08:55:00 +03:00
Andrew Murray
3911afbc97
Removed Fedora 39
2024-10-14 16:56:48 +11:00
Andrew Murray
f2cc87b1f0
Update CHANGES.rst [ci skip]
2024-10-13 11:19:41 +11:00
Andrew Murray
c855e8e5f9
Merge pull request #8464 from radarhere/imagemath_type_hint
...
Added type hints to remaining ImageMath methods
2024-10-13 11:00:15 +11:00
Andrew Murray
dc3751599f
Merge pull request #8463 from hugovk/update-3.13-date
...
Update Python 3.13 release date
2024-10-13 09:32:26 +11:00
Hugo van Kemenade
c3d81d6375
Update Python 3.13 release date
2024-10-12 23:52:57 +03:00
Andrew Murray
a60610c93f
Added type hints
2024-10-13 07:42:17 +11:00
Andrew Murray
a5c58f2182
Merge pull request #8460 from hugovk/mit-cmu
...
Update licence to MIT-CMU
2024-10-13 07:10:09 +11:00
Hugo van Kemenade
e74994ed37
Update licence to MIT-CMU
2024-10-12 16:50:36 +03:00
Andrew Murray
b5e1115bf2
Update CHANGES.rst [ci skip]
2024-10-12 21:10:47 +11:00
Hugo van Kemenade
686b5e2cb4
Merge pull request #8392 from radarhere/tiff_seek
...
Do not create core image in TIFF seek()
2024-10-12 11:46:36 +03:00
Hugo van Kemenade
914f7e1c58
Merge pull request #8365 from radarhere/openjpeg
...
Removed custom build_openjpeg
2024-10-12 11:46:01 +03:00
Hugo van Kemenade
b0d79c87f1
Merge pull request #8197 from radarhere/imagecms_core
...
Conditionally define ImageCms type hint to avoid requiring core
2024-10-12 11:30:17 +03:00
Hugo van Kemenade
fd74857bcf
Merge pull request #8417 from radarhere/appendingTiffWriter
...
Support writing LONG8 offsets in AppendingTiffWriter
2024-10-12 11:29:09 +03:00
Hugo van Kemenade
3dded83076
Merge pull request #8461 from radarhere/undone
...
Use ImageFile.MAXBLOCK when saving TIFF images
2024-10-12 11:25:55 +03:00
Andrew Murray
00c5989d4e
Use MAXBLOCK
2024-10-12 13:44:48 +11:00
Hugo van Kemenade
08b561e25d
Merge pull request #8459 from radarhere/webp
2024-10-11 14:59:26 +03:00
Andrew Murray
e93dcc1578
Update CHANGES.rst [ci skip]
2024-10-11 21:09:52 +11:00
Hugo van Kemenade
ecdd519a0e
Merge pull request #8458 from radarhere/dup
2024-10-11 13:07:44 +03:00
Andrew Murray
afbf45055a
Always raise warnings for deprecated feature checks
2024-10-11 20:59:15 +11:00
Andrew Murray
7edf952832
Do not close provided file handles with libtiff
2024-10-11 19:37:56 +11:00
Hugo van Kemenade
3d9c05c224
Merge pull request #8457 from hugovk/sphinx-8.1
2024-10-11 10:58:08 +03:00
Hugo van Kemenade
fdd5d0c0fb
Use CVE and CWE roles from Sphinx 8.1
2024-10-10 21:35:48 +03:00
Andrew Murray
97438cb8fd
Update CHANGES.rst [ci skip]
2024-10-10 22:50:26 +11:00
Andrew Murray
d99229e4d1
Merge pull request #8455 from radarhere/wheels
2024-10-10 22:18:49 +11:00
Andrew Murray
7777260b6b
Merge pull request #8438 from radarhere/filter
2024-10-10 21:50:51 +11:00
Andrew Murray
ff245fcb40
Revert "Skip QEMU-emulated wheels on workflow dispatch event"
...
This reverts commit f39ca5db5a
.
2024-10-10 19:43:11 +11:00
mergify[bot]
dab9559c04
Merge pull request #8453 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.21.3
2024-10-09 10:07:27 +00:00
renovate[bot]
e37209ace5
Update dependency cibuildwheel to v2.21.3
2024-10-09 09:11:46 +00:00
Andrew Murray
a9b9a63614
Do not create core image in seek(), when load() might not run
2024-10-08 20:48:32 +11:00
Andrew Murray
949079bf36
Merge pull request #8448 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-10-08 08:28:53 +11:00
pre-commit-ci[bot]
a609d65b33
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-07 17:56:23 +00:00
pre-commit-ci[bot]
ef47d6e5e5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.6.9 )
- [github.com/PyCQA/bandit: 1.7.9 → 1.7.10](https://github.com/PyCQA/bandit/compare/1.7.9...1.7.10 )
- [github.com/pre-commit/mirrors-clang-format: v18.1.8 → v19.1.1](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.8...v19.1.1 )
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0 )
- [github.com/python-jsonschema/check-jsonschema: 0.29.2 → 0.29.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.2...0.29.3 )
- [github.com/sphinx-contrib/sphinx-lint: v0.9.1 → v1.0.0](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.9.1...v1.0.0 )
- [github.com/tox-dev/pyproject-fmt: 2.2.1 → 2.2.4](https://github.com/tox-dev/pyproject-fmt/compare/2.2.1...2.2.4 )
- [github.com/abravalheri/validate-pyproject: v0.19 → v0.20.2](https://github.com/abravalheri/validate-pyproject/compare/v0.19...v0.20.2 )
- [github.com/tox-dev/tox-ini-fmt: 1.3.1 → 1.4.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.3.1...1.4.1 )
2024-10-07 17:55:54 +00:00
Andrew Murray
7097a9a3b8
Update CHANGES.rst [ci skip]
2024-10-07 22:12:41 +11:00
Hugo van Kemenade
535bf234c3
Merge pull request #8341 from uploadcare/use-ptr
...
Use ImagingCore.ptr instead of ImagingCore.id
2024-10-07 13:37:44 +03:00
Alexander Karpinsky
a227f22fd9
Apply suggestions from code review [ci skip]
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-07 14:35:25 +04:00
Hugo van Kemenade
029ec8559b
Merge pull request #8445 from radarhere/apply
2024-10-07 12:51:43 +03:00
Hugo van Kemenade
026181ed25
Merge pull request #8447 from radarhere/imagingft_unused
2024-10-07 12:51:25 +03:00
Hugo van Kemenade
f5ce8a9d61
Merge pull request #8446 from radarhere/close
2024-10-07 12:16:17 +03:00
Alexander Karpinsky
8e332eb3b0
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-07 13:05:13 +04:00
Andrew Murray
8de66597f9
Removed unused code
2024-10-07 19:17:59 +11:00
Andrew Murray
76dd669e6b
Fixed unclosed file warning
2024-10-07 16:50:05 +11:00
Andrew Murray
feeceb9ae6
Simplified code
2024-10-07 15:34:28 +11:00
Andrew Murray
27c1bb2654
Update CHANGES.rst [ci skip]
2024-10-07 07:48:32 +11:00
Hugo van Kemenade
96f1a6e8b1
Merge pull request #8281 from Yay295/eps_test
2024-10-06 15:58:57 +03:00
Hugo van Kemenade
838e0fb1a5
Merge pull request #8443 from radarhere/apng_p_transparency
2024-10-06 15:58:07 +03:00
Andrew Murray
b77cd009e2
Use transparency when combining P frames
2024-10-06 11:30:27 +11:00
Andrew Murray
01bb78a8e7
Merge pull request #8441 from hugovk/attest
...
Generate and upload attestations to PyPI
2024-10-06 11:11:57 +11:00
Andrew Murray
f3deba0ab6
Merge pull request #8442 from hugovk/appveyor-3.13
...
Test Python 3.13 on AppVeyor
2024-10-06 10:55:40 +11:00
Hugo van Kemenade
d2dfd126b3
Updated CI target ( #128 )
2024-10-06 01:04:57 +03:00
Andrew Murray
e2f996e2bd
Updated CI target
2024-10-06 08:55:15 +11:00
Andrew Murray
1b57b32caf
Test ignoring second ImageData
2024-10-05 16:28:03 -05:00
Hugo van Kemenade
a9cbf6d5a7
Test Python 3.13 on AppVeyor
2024-10-06 00:22:46 +03:00
Andrew Murray
d4fedc852c
Rename test image
2024-10-05 08:06:44 -05:00
Yay295
8e6d518ea8
change parameter type from list to tuple
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-05 08:05:00 -05:00
Andrew Murray
418ae7caa2
Support BuiltinFilter for I;16* images
2024-10-05 01:12:51 +10:00
Andrew Murray
07be6fca17
Corrected check for BuiltinFilter
2024-10-04 23:26:54 +10:00
Andrew Murray
51c577df82
Merge pull request #8436 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.21.2
2024-10-03 13:55:35 +10:00
renovate[bot]
33f065eb5e
Update dependency cibuildwheel to v2.21.2
2024-10-03 00:41:31 +00:00
Andrew Murray
c27de88ea6
Merge pull request #8435 from radarhere/cifuzz
...
Test cifuzz when wheel dependencies change
2024-10-02 20:02:28 +10:00
Andrew Murray
547e7dcc5d
Test cifuzz when wheel dependencies change
2024-10-02 19:17:13 +10:00
Hugo van Kemenade
79f95c98d3
Merge pull request #8434 from radarhere/xz
...
Updated xz to 5.6.3
2024-10-02 09:15:33 +03:00
Andrew Murray
baf2d8160a
Updated xz to 5.6.3
2024-10-02 09:48:09 +10:00
Yay295
f9c69deaae
simplify setting self._size
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-01 09:35:22 -05:00
Yay295
c0d04e8b34
use .size instead of ._size
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-01 09:33:33 -05:00
Andrew Murray
84b167dfd5
Update CHANGES.rst [ci skip]
2024-10-01 21:11:56 +10:00
Hugo van Kemenade
0e0cb06a8d
Merge pull request #8431 from radarhere/imageenhance
2024-10-01 13:58:11 +03:00
Hugo van Kemenade
07389b2f18
Merge pull request #8416 from radarhere/compact_within_map
2024-10-01 13:55:50 +03:00
Hugo van Kemenade
c9c8d45898
Merge pull request #8422 from radarhere/resize_i16
2024-10-01 13:55:13 +03:00
Hugo van Kemenade
ea15e0e622
Merge pull request #8413 from radarhere/sgirle_memory
2024-10-01 13:52:22 +03:00
Hugo van Kemenade
747fdf5069
Merge pull request #8402 from radarhere/sgirle
2024-10-01 13:52:08 +03:00
Andrew Murray
f614580a2d
Merge pull request #8430 from python-pillow/renovate/github-actions
...
Update scientific-python/upload-nightly-action action to v0.6.1
2024-10-01 08:46:37 +10:00
Andrew Murray
749bec097c
Do not convert image unnecessarily
2024-10-01 07:11:24 +10:00
renovate[bot]
4bfc77a1b1
Update scientific-python/upload-nightly-action action to v0.6.1
2024-09-30 20:19:02 +00:00
Yay295
782f0e8a5a
change "Read" to "Parse" in comment
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-30 08:23:28 -05:00
Yay295
75286a4e40
add some comments
2024-09-30 08:23:28 -05:00
Andrew Murray
f3fe22d2f2
Break if the bit depth or mode id are unknown
2024-09-30 08:23:28 -05:00
Yay295
56e4ad0dea
don't name positional arguments
2024-09-30 08:23:28 -05:00
Yay295
6b168a3e2b
add EPS test for image with ImageData and BoundingBox (atend)
2024-09-30 08:23:27 -05:00
Yay295
00bbd4a5b9
use "with Image" instead of closing manually
2024-09-30 08:23:27 -05:00
Yay295
3ccecd91ce
convert eps using pnmraw instead of ppmraw
...
This lets Ghostscript choose the best device to use (pbmraw, pgmraw, ppmraw) based on the image data.
2024-09-30 08:23:27 -05:00
Yay295
283b41afa0
test 1.eps size and data
2024-09-30 08:23:26 -05:00
Yay295
6fe4375f28
move eps test images to their own folder
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-09-30 08:23:26 -05:00
Andrew Murray
c6b08ef32c
Update CHANGES.rst [ci skip]
2024-09-30 22:13:24 +10:00
Hugo van Kemenade
c5835fe86b
Merge pull request #8427 from radarhere/appveyor
2024-09-30 14:53:20 +03:00
Hugo van Kemenade
4f965289e1
Merge pull request #8429 from radarhere/macos
2024-09-30 14:52:12 +03:00
Hugo van Kemenade
0314bb3331
Merge pull request #8408 from radarhere/fli
2024-09-30 14:50:54 +03:00
Andrew Murray
42ad42c174
Merge branch 'main' into resize_i16
2024-09-30 19:50:26 +10:00
Andrew Murray
a99361a38f
Raise an error if path is compacted during mapping
2024-09-30 19:50:08 +10:00
Andrew Murray
851449edfc
Free memory on early return
2024-09-30 19:49:13 +10:00
Andrew Murray
fc65e437cf
Prevent division by zero
2024-09-30 19:48:53 +10:00
Andrew Murray
cc0b6b9de9
Cast int before potentially exceeding INT_MAX
2024-09-30 19:47:52 +10:00
Hugo van Kemenade
7e6e08ea6a
Merge pull request #8428 from radarhere/cifuzz
2024-09-30 12:37:12 +03:00
Andrew Murray
b94c5c5e34
Updated macOS tested Pillow versions
2024-09-30 19:32:21 +10:00
Andrew Murray
7a62c788ed
Updated tested Python versions
2024-09-30 19:15:40 +10:00
Andrew Murray
21ab53e0c0
Updated test environment documentation
2024-09-30 12:38:13 +10:00
Hugo van Kemenade
3beac54715
Merge pull request #8425 from python-pillow/renovate/github-actions
...
Update scientific-python/upload-nightly-action action to v0.6.0
2024-09-29 11:28:16 +00:00
renovate[bot]
3a734b5d4b
Update scientific-python/upload-nightly-action action to v0.6.0
2024-09-29 05:19:39 +00:00
mergify[bot]
c6e07d0272
Merge pull request #8400 from radarhere/geometry
...
Check image value before use
2024-09-28 23:07:00 +00:00
Hugo van Kemenade
e9f831d3db
Merge branch 'main' into geometry
2024-09-28 15:45:39 -07:00
Andrew Murray
ed143f5fec
Update CHANGES.rst [ci skip]
2024-09-29 06:40:50 +10:00
Hugo van Kemenade
a89b3d53ff
Merge pull request #8424 from radarhere/harfbuzz
2024-09-28 09:06:25 -07:00
Hugo van Kemenade
58ef920771
Merge pull request #8420 from radarhere/libimagequant_lib64
2024-09-28 09:05:51 -07:00
Andrew Murray
e976096c2e
Allow libimagequant shared library path to change
2024-09-28 20:39:04 +10:00
Andrew Murray
30fca7a1d6
Install meson through pip
2024-09-28 18:38:45 +10:00
Hugo van Kemenade
25592b634e
Merge pull request #8423 from radarhere/lint
2024-09-27 23:50:06 -07:00
Andrew Murray
d33270ab51
Set default resize sampling for I;16* images to BICUBIC
2024-09-28 15:35:42 +10:00
Andrew Murray
2e73ffe703
Exclude multibuild from black and ruff
2024-09-28 15:29:09 +10:00
Andrew Murray
e306546bf1
Use ruff check
2024-09-28 15:16:33 +10:00
Andrew Murray
04a00d273c
Support all resampling filters when resizing I;16* images
2024-09-28 14:27:40 +10:00
Andrew Murray
bda62c1ac5
Revert "Temporarily disable cifuzz"
...
This reverts commit 3146940716
.
2024-09-28 12:32:44 +10:00
Hugo van Kemenade
86b42a95d8
Merge pull request #8421 from radarhere/harfbuzz
2024-09-27 16:02:50 -07:00
Andrew Murray
485a062010
Update CHANGES.rst [ci skip]
2024-09-27 23:13:03 +10:00
Andrew Murray
fb8db83122
Updated harfbuzz to 10.0.1 on macOS
2024-09-27 17:35:06 +10:00
Andrew Murray
71da6d8952
Downgrade harfbuzz on OSS Fuzz
2024-09-27 16:37:10 +10:00
Andrew Murray
4ca2b92503
Use $IS_ALPINE instead of $MB_ML_LIBC
2024-09-27 14:59:27 +10:00
Alexander Karpinsky
b9d1768561
Catch AttributeError for BitmapImage.__photo
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-26 16:27:55 +04:00
Alexander Karpinsky
d133199391
Merge pull request #8386 from uploadcare/webp-capsule
...
Use Capsule for WEBP saving
2024-09-26 14:20:50 +04:00
Hugo van Kemenade
23070b721f
Merge pull request #8419 from radarhere/fribidi
2024-09-25 23:52:45 -07:00
Andrew Murray
d8e3572caa
Updated fribidi to 1.0.16
2024-09-26 08:52:29 +10:00
Andrew Murray
7cf351cfc5
Added additional test
2024-09-25 20:37:41 +10:00
Andrew Murray
5d16eb73eb
Update CHANGES.rst [ci skip]
2024-09-25 19:07:32 +10:00
Andrew Murray
24e9961c4f
Support writing LONG8 offsets
2024-09-25 18:45:16 +10:00
Andrew Murray
0a99d63028
Use field size in AppendingTiffWriter
2024-09-25 18:39:39 +10:00
Andrew Murray
3f24276bf2
Merge pull request #8317 from Yay295/tiff_exif_multistrip
...
Fixed writing multiple StripOffsets to TIFF
2024-09-25 18:38:19 +10:00
Hugo van Kemenade
c1ba2d9eac
Merge pull request #8414 from radarhere/pypy
2024-09-24 18:07:11 -07:00
Hugo van Kemenade
9e48c271c7
Merge pull request #8415 from radarhere/harfbuzz
2024-09-24 18:06:43 -07:00
Andrew Murray
72144ec530
Updated harfbuzz to 10.0.1
2024-09-25 08:33:18 +10:00
Hugo van Kemenade
55a25aa4b1
Merge pull request #8411 from radarhere/harfbuzz
2024-09-24 14:27:33 -07:00
Andrew Murray
61c83a882c
Updated macOS version to 10.15 for PyPy x86-64
2024-09-25 00:00:22 +10:00
Andrew Murray
3f8b496431
Updated harfbuzz to 10.0.0
2024-09-24 09:54:26 +10:00
Hugo van Kemenade
8d0a6d0bbf
Merge pull request #8407 from radarhere/libimagequant_lib64
2024-09-23 16:37:20 -07:00
Andrew Murray
9fe014876a
Shared libraries may be located within usr/lib64
2024-09-23 16:56:49 +10:00
Hugo van Kemenade
731bcda904
Merge pull request #8396 from Yay295/common_test_script
2024-09-22 22:58:06 -07:00
Andrew Murray
fcae2f4bdf
Merge branch 'main' into common_test_script
2024-09-23 12:40:52 +10:00
Andrew Murray
e179d04a99
Merge pull request #8403 from nulano/freetype-fix
...
winbuild: Build freetype.vcxproj to fix passing in custom parameters
2024-09-23 12:39:53 +10:00
Hugo van Kemenade
efd6b84271
Merge pull request #8404 from radarhere/raqm
...
Updated raqm to 0.10.2
2024-09-22 17:44:00 -07:00
Andrew Murray
8adf15a6ee
Updated raqm to 0.10.2
2024-09-23 09:29:16 +10:00
Nulano
6081640aa5
winbuild: Build freetype.vcxproj to fix passing in custom parameters.
2024-09-22 22:46:35 +02:00
Yay295
be3192ecd4
use .ci/test.sh in test-mingw.yml
2024-09-22 11:52:14 -05:00
Yay295
8fa5ba8443
add common windows ci test script
2024-09-22 11:52:11 -05:00
Aleksandr Karpinskii
11bcd5aaa9
Fix hasattr for ImageTk.PhotoImage.__del__
2024-09-22 13:39:22 +04:00
Alexander Karpinsky
e86e5d7274
Merge pull request #146 from radarhere/webp-capsule
...
Added WebP saving test
2024-09-22 13:22:30 +04:00
Alexander Karpinsky
87414b3f59
Merge pull request #147 from radarhere/use-ptr
...
Use getim()
2024-09-22 13:18:59 +04:00
Andrew Murray
9f409e823b
Use getim()
2024-09-21 17:09:23 +10:00
Andrew Murray
5d430eab25
Added release notes
2024-09-21 16:24:54 +10:00
Andrew Murray
aa22b24169
Load before trying to catch exceptions
2024-09-21 16:22:50 +10:00
Andrew Murray
75cb1c1b87
Test unsupported image mode
2024-09-21 16:02:23 +10:00
Andrew Murray
83c7043471
Rename variable, since alpha channel is not dropped
2024-09-21 15:54:27 +10:00
Yay295
8b6fa92cc8
rewrite some comments
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-20 08:39:11 -05:00
Andrew Murray
e57da68190
Check image value before use
2024-09-20 19:20:53 +10:00
Hugo van Kemenade
b557876ec3
Merge pull request #8398 from PavlNekrasov/fix/null-check-before-dereference-imIn
2024-09-20 12:19:36 +03:00
Hugo van Kemenade
59a155b12e
Merge pull request #8399 from radarhere/oss_fuzz
2024-09-20 12:19:10 +03:00
Andrew Murray
693a68b2bb
Updated link to OSS Fuzz issues
2024-09-20 18:46:47 +10:00
pre-commit-ci[bot]
9424b1a892
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-09-19 19:59:15 +00:00
PavlNekrasov
46f2fa17be
fix dereference before checking for NULL in the ImagingTransformAffine
function
...
The `imIn` pointer is checked for `NULL`, but it seems to be dereferenced before this check. You must first make sure that the pointer is not `NULL` before using it.
2024-09-19 22:53:45 +03:00
Andrew Murray
0f47ecd432
Update CHANGES.rst [ci skip]
2024-09-19 15:07:06 +10:00
Hugo van Kemenade
7ecb5bd8bb
Merge pull request #8395 from radarhere/ghostscript
...
Updated Ghostscript to 10.4.0
2024-09-19 07:14:38 +03:00
Andrew Murray
1392eab89b
Updated Ghostscript to 10.4.0
2024-09-19 09:21:23 +10:00
Alexander Karpinsky
af521a1ce1
Merge branch 'main' into use-ptr
2024-09-18 22:24:46 +02:00
Yay295
362ffaf9b7
implement tiff exif multistrip support
2024-09-18 14:50:11 -05:00
Hugo van Kemenade
1ee3bd1d9e
Merge pull request #8390 from radarhere/tiff_exif_transpose
...
Use transposed size after opening for TIFF images
2024-09-18 22:35:01 +03:00
Hugo van Kemenade
743ddc7a58
Merge pull request #8338 from yngvem/improve-error-messages
2024-09-18 18:22:04 +03:00
Hugo van Kemenade
e33d8bb32b
Generate and upload attestations to PyPI
2024-09-18 18:19:53 +03:00
Andrew Murray
9adb476f37
Rearranged text
2024-09-18 23:58:23 +10:00
Andrew Murray
629f5be52e
In seek(), create core image at size needed for loading
2024-09-18 22:56:29 +10:00
Hugo van Kemenade
e80cada0f6
Merge pull request #8391 from radarhere/png_decompress
2024-09-18 15:31:18 +03:00
Andrew Murray
a92dca66bd
Use raw size for striped tiles
2024-09-18 21:22:59 +10:00
Andrew Murray
a859695d9a
Rearranged code
...
Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
2024-09-18 21:17:49 +10:00
Andrew Murray
9135fd0fb2
Mention limit in error message
2024-09-18 20:56:55 +10:00
Andrew Murray
84e275d906
Loading does not change mode
2024-09-18 20:27:35 +10:00
Andrew Murray
f1e86965f6
Use transposed size after opening for TIFF images
2024-09-18 20:26:06 +10:00
Andrew Murray
08d9c89d8a
Merge pull request #8388 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.21.1
2024-09-17 18:49:59 +10:00
renovate[bot]
75e4d5a10d
Update dependency cibuildwheel to v2.21.1
2024-09-17 06:12:03 +00:00
Hugo van Kemenade
f85c8dc345
Merge pull request #8385 from radarhere/dib_hwnd
...
Cast Dib handle to int
2024-09-16 19:29:12 +03:00
Aleksandr Karpinskii
a988750595
Try fix bigendian
2024-09-16 16:37:39 +02:00
Aleksandr Karpinskii
1d5b330758
Move common conversion in _convert_frame
2024-09-16 15:57:35 +02:00
Aleksandr Karpinskii
bc97369039
Increase reference to the image while capsule is alive
2024-09-16 15:45:34 +02:00
Aleksandr Karpinskii
31d36e6b70
Use current frame for transparency detection
2024-09-16 11:04:00 +02:00
Aleksandr Karpinskii
d1f40a94ff
Use Image.getim() instead of ImagingCore.ptr
2024-09-16 10:52:06 +02:00
Aleksandr Karpinskii
d8ef314205
Remove extra load() calls
2024-09-16 10:39:14 +02:00
Alexander Karpinsky
3b09f436bd
Merge pull request #145 from radarhere/use-ptr
...
Use getim()
2024-09-16 10:26:49 +02:00
Andrew Murray
1f3fe6f733
Use getim()
2024-09-16 10:21:17 +10:00
Andrew Murray
8a086edbe9
Cast handle to int
2024-09-16 08:23:26 +10:00
Andrew Murray
a60736381e
Merge pull request #8384 from radarhere/libjpeg_turbo
...
Updated libjpeg-turbo to 3.0.4
2024-09-16 07:32:26 +10:00
Andrew Murray
c01d2d0577
Updated libjpeg-turbo to 3.0.4
2024-09-15 21:57:45 +10:00
Hugo van Kemenade
b67f018c00
Merge pull request #8382 from radarhere/lint
2024-09-14 15:05:38 +03:00
Hugo van Kemenade
dacfbbdc3e
Merge pull request #8381 from radarhere/macos_python
2024-09-14 13:59:40 +03:00
Andrew Murray
88b3265a9c
Lint: Run PT016
2024-09-14 20:59:02 +10:00
Andrew Murray
ad0091096f
Describe supported OS versions instead of unsupported
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-14 20:52:49 +10:00
Andrew Murray
10c118bb5c
Added release notes for #8379
2024-09-14 19:58:57 +10:00
Hugo van Kemenade
586e6f86d7
Merge pull request #8379 from radarhere/macos_python
2024-09-14 11:01:05 +03:00
Andrew Murray
38e05731f5
Merge pull request #8378 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.21.0
2024-09-14 13:37:53 +10:00
Andrew Murray
a3d9529f04
Updated macOS deployment target for Python >= 3.12 on Intel to 10.13
2024-09-14 11:23:09 +10:00
renovate[bot]
5713159968
Update dependency cibuildwheel to v2.21.0
2024-09-13 23:52:11 +00:00
Alexander Karpinsky
6921f83629
Update docs/deprecations.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-13 22:54:16 +02:00
mergify[bot]
8d2bffee11
Merge pull request #8377 from radarhere/path_unused
...
Removed unused ImagePath variable
2024-09-13 14:33:05 +00:00
Andrew Murray
1557f7e36f
Removed unused variable
2024-09-13 23:41:47 +10:00
Hugo van Kemenade
c9eb14e104
Merge pull request #7916 from radarhere/xz
2024-09-13 16:40:41 +03:00
Hugo van Kemenade
d6199a3352
Merge pull request #8376 from radarhere/macos
2024-09-13 11:10:56 +03:00
Andrew Murray
0f67dfc380
Change macos-14 to macos-latest
2024-09-13 15:31:37 +10:00
Hugo van Kemenade
e6cf27c5a8
Merge pull request #8375 from radarhere/libpng
...
Updated libpng to 1.6.44
2024-09-13 07:23:07 +03:00
Hugo van Kemenade
cb2b56f337
Merge pull request #8374 from radarhere/numpy
...
Test NumPy with musllinux wheels
2024-09-13 07:22:32 +03:00
Andrew Murray
5d8e891387
Updated libpng to 1.6.44
2024-09-13 10:52:36 +10:00
Andrew Murray
fea929bf10
Test NumPy with musllinux wheels
2024-09-13 07:34:56 +10:00
Andrew Murray
f6d5b48662
Merge pull request #8373 from lysnikolaou/install-numpy-pypi-wheels-test
...
Install numpy from PyPI when testing wheels
2024-09-13 06:23:29 +10:00
Lysandros Nikolaou
1ead7791c6
Remove comment
2024-09-12 16:34:29 +03:00
Lysandros Nikolaou
c9f88890a5
Install numpy from PyPI when testing wheels
2024-09-12 14:52:24 +03:00
Hugo van Kemenade
3fd6b7c072
Merge pull request #8372 from radarhere/numpy
2024-09-12 14:47:49 +03:00
Hugo van Kemenade
b19a51b63e
Merge pull request #8371 from radarhere/wheels
2024-09-12 12:59:55 +03:00
Andrew Murray
8336852b61
Install NumPy from PyPI for free threaded job
2024-09-12 18:52:07 +10:00
Andrew Murray
fab19b0af8
Windows wheels are now grouped with the others
2024-09-12 16:57:28 +10:00
Andrew Murray
aa7dfe3a56
Update CHANGES.rst [ci skip]
2024-09-12 16:16:21 +10:00
Hugo van Kemenade
575f574f5c
Merge pull request #8369 from radarhere/stroke_width_float
2024-09-12 08:53:41 +03:00
Hugo van Kemenade
3023cf968d
Merge pull request #8370 from radarhere/comments
2024-09-11 22:54:41 +03:00
Alexander Karpinsky
a2988da0d2
ImageCore → ImagingCore
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-11 19:55:07 +04:00
Yngve Mardal Moe
9ba4e10a16
Merge branch 'main' into improve-error-messages
2024-09-11 17:11:52 +02:00
Yngve Mardal Moe
32c514d24c
Update src/PIL/ImageFont.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-11 14:54:53 +02:00
Yngve Mardal Moe
77503156b1
Update src/PIL/ImageFont.py
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-11 14:22:45 +02:00
Aleksandr Karpinskii
4a284a78c5
Remove weird comments
2024-09-11 20:40:46 +10:00
Andrew Murray
01ba1e2252
Accept float stroke widths
2024-09-11 19:53:52 +10:00
pre-commit-ci[bot]
e4f13020e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-09-11 08:33:12 +00:00
Yngve Mardal Moe
d2efd7dd5f
Update src/PIL/ImageFont.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-11 10:32:42 +02:00
Hugo van Kemenade
cb2a0c40f3
Merge pull request #8368 from radarhere/libffi
...
Removed libffi-dev
2024-09-11 08:00:18 +03:00
Andrew Murray
6ade6873de
Removed libffi-dev
2024-09-11 08:13:41 +10:00
Yngve Mardal Moe
7d223fbcaa
Merge pull request #2 from radarhere/improve-error-messages
...
Sort extensions alphabetically in error message
2024-09-10 20:45:53 +02:00
Andrew Murray
bc4c57e9ea
Update CHANGES.rst [ci skip]
2024-09-10 22:39:47 +10:00
Hugo van Kemenade
44b2f5ef32
Merge pull request #8367 from radarhere/releasenotes
2024-09-10 15:31:07 +03:00
Hugo van Kemenade
e91aedb65d
Merge pull request #8352 from radarhere/scale
2024-09-10 14:38:33 +03:00
Hugo van Kemenade
302b63f1c3
Merge pull request #8366 from radarhere/gif_rgba
2024-09-10 14:37:03 +03:00
Andrew Murray
5c67178c95
Added release notes for #8199
2024-09-10 21:32:35 +10:00
Andrew Murray
fea3e0dd5f
Added release notes for #8213
2024-09-10 21:32:35 +10:00
Andrew Murray
54c5b532c5
Added release notes for #8286
2024-09-10 21:32:20 +10:00
Andrew Murray
8d508406ad
Update CHANGES.rst [ci skip]
2024-09-10 20:55:34 +10:00
Andrew Murray
5cb736d953
Merge branch 'main' into scale
2024-09-10 20:39:04 +10:00
Hugo van Kemenade
4e5fd27dbe
Merge pull request #8364 from radarhere/isimagetype
2024-09-10 13:35:20 +03:00
Andrew Murray
d522e0a5c0
Improved handling of RGBA palettes when saving GIF images
2024-09-10 18:50:06 +10:00
Andrew Murray
adb6918214
Use isinstance to detect Image instances
2024-09-10 16:20:58 +10:00
Andrew Murray
e0845f06d8
Deprecate isImageType
2024-09-10 16:20:52 +10:00
Andrew Murray
9a42099dc3
Merge branch 'main' into openjpeg
2024-09-10 16:01:54 +10:00
Hugo van Kemenade
22c333289e
Merge pull request #8361 from radarhere/harfbuzz
2024-09-10 09:00:18 +03:00
Andrew Murray
d25d12f792
Removed custom build_openjpeg
2024-09-10 11:29:52 +10:00
Andrew Murray
be01d536c6
Update CHANGES.rst [ci skip]
2024-09-09 15:22:27 +10:00
Hugo van Kemenade
452b445d4f
Merge pull request #8358 from radarhere/lab
2024-09-09 08:20:29 +03:00
Andrew Murray
63f398bc12
Merge pull request #8194 from uploadcare/optimize-getbbox
...
Optimize getbbox() and getextrema() routines
2024-09-09 15:08:11 +10:00
Andrew Murray
a3c7912b98
Merge branch 'main' into scale
2024-09-09 13:22:10 +10:00
Andrew Murray
c9dc34ae8d
Update CHANGES.rst [ci skip]
2024-09-09 13:19:37 +10:00
Andrew Murray
906f93275e
Merge pull request #8356 from hugovk/deprecate-freetype-2.9.0
...
Deprecate support for FreeType 2.9.0
2024-09-09 13:18:13 +10:00
Andrew Murray
608a5e83c0
Updated harfbuzz to 9.0.0, except on manylinux2014
2024-09-09 12:56:28 +10:00
Hugo van Kemenade
012270d1c9
Merge pull request #8360 from python-pillow/renovate/github-actions
2024-09-08 22:53:58 +03:00
Aleksandr Karpinskii
4d271c8ec8
import_frame for anim_encoder_add
2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
0962b468b7
ImagingSectionEnter for WebPAnimEncoder
2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
8bb3134b1d
call _webp.WebPEncode with ptr
2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
0a8e6dbedb
Use im.has_transparency_data for webp._save_all
...
Also:
remove _VALID_WEBP_MODES and _VALID_WEBP_LEGACY_MODES consts
RGBX is not faster RGB since demands more bandwidth
Do not convert to str paths in tests
2024-09-08 18:29:38 +04:00
Alexander Karpinsky
bd14915364
Merge pull request #144 from radarhere/use-ptr
...
Use CapsuleType hint in Python >= 3.13
2024-09-08 18:03:26 +04:00
Alexander Karpinsky
4318834775
Merge branch 'use-ptr' into use-ptr
2024-09-08 17:59:35 +04:00
Aleksandr Karpinskii
d29fa73ea6
Move new_block to module
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
934ae12ed5
rename PyCapsule -> Capsule
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
882ac783eb
Use PyCapsule in _imagingft
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
ee65b305b1
Use PyCapsule in _imagingtk
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
cb3a4e6a00
Remove legacy 1-bit api, fix AttributeError
...
PytestUnraisableExceptionWarning: Exception ignored in: <function PhotoImage.__del__>
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
5428e3568e
Deprecate ImageCore.id and ImageCore.unsafe_ptrs
2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
7f48567002
Use s# in PyArg_ParseTuple
2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
f916b5dc87
Use PyCapsule in _imagingmorph
2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
56bc6a1a71
Use PyCapsule in _imagingcms
2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
fe002a7260
Use PyCapsule in _imagingmath
2024-09-08 17:30:23 +04:00
Andrew Murray
72bc56b319
Merge branch 'main' into imagecms_core
2024-09-08 23:21:25 +10:00
Hugo van Kemenade
f30eefaae2
Merge pull request #8354 from radarhere/type_hint
2024-09-08 16:19:08 +03:00
Hugo van Kemenade
2f13c4588d
Fix underline
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-08 16:17:13 +03:00
renovate[bot]
8c738f6427
Update deadsnakes/action action to v3.2.0
2024-09-08 13:00:15 +00:00
Hugo van Kemenade
1f2de52a6c
Group 11.0.0 deprecations ( #127 )
2024-09-08 15:07:22 +03:00
Andrew Murray
6231453895
Group 11.0.0 deprecations
2024-09-08 21:53:08 +10:00
Andrew Murray
89c790f2b0
Update CHANGES.rst [ci skip]
2024-09-08 21:38:21 +10:00
Andrew Murray
579a5a2ed1
Merge pull request #8355 from radarhere/unused_tiff
...
Removed unused TiffImagePlugin IFD_LEGACY_API
2024-09-08 21:36:44 +10:00
Andrew Murray
8b3ef3784b
Moved Buffer into _typing
2024-09-08 08:30:30 +10:00
Andrew Murray
547832fd59
Use tempfile.NamedTemporaryFile
2024-09-07 19:49:21 +10:00
Andrew Murray
a3d23165b9
Update CHANGES.rst [ci skip]
2024-09-07 19:40:29 +10:00
Hugo van Kemenade
2c02146cf4
Use type hints and fix CVE role
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-07 12:32:30 +03:00
Hugo van Kemenade
f06b851616
Merge pull request #8350 from zakajd/jamil/doubleexif
2024-09-07 12:31:19 +03:00
Andrew Murray
dbe979d032
Sort extensions alphabetically in error message
2024-09-07 19:09:01 +10:00
Andrew Murray
e14072e973
Added further detail
2024-09-07 19:08:07 +10:00
Andrew Murray
1105256f2b
Added type hints to setup.py
2024-09-07 18:25:44 +10:00
Hugo van Kemenade
a838da7406
Merge pull request #8002 from Yay295/patch-1
...
Use (void) for empty function parameters
2024-09-07 08:37:50 +03:00
Andrew Murray
a6ca45aea6
Use (void) to indicate no parameters
2024-09-07 00:01:25 -05:00
Andrew Murray
6f9128bfaf
Updated type hint
2024-09-07 14:32:46 +10:00
Andrew Murray
8dcf229ea1
Merge branch 'main' into use-ptr
2024-09-07 14:24:18 +10:00
Andrew Murray
de3c6fa295
Support converting more modes to LAB by converting to RGBA first
2024-09-07 12:14:30 +10:00
Jamil Zakirov
2f25dbce06
Merge branch 'main' into jamil/doubleexif
2024-09-06 20:12:33 +03:00
Hugo van Kemenade
d3c1d99d00
Deprecate support for FreeType 2.9.0
2024-09-06 14:51:30 +03:00
Andrew Murray
93a0bf0276
Added type hints to TiffImagePlugin _save
2024-09-06 21:33:30 +10:00
Andrew Murray
94315f87c3
Removed unused IFD_LEGACY_API
2024-09-06 19:13:35 +10:00
Andrew Murray
06c331af5d
Added type hints to frombuffer
2024-09-06 15:16:59 +10:00
Andrew Murray
23c461e431
Handle duplicate exif header
...
Co-authored-by: Jamil Zakirov <djamilzak@gmail.com>
2024-09-06 11:56:06 +10:00
Andrew Murray
a6f5f4dd43
Deprecate setting size to (width, height, scale)
2024-09-06 11:42:56 +10:00
Andrew Murray
e625f73119
Added scale argument to IcnsImageFile load()
2024-09-06 11:40:45 +10:00
Hugo van Kemenade
6377321625
Merge pull request #8351 from radarhere/type_hint
2024-09-05 17:35:55 +03:00
Hugo van Kemenade
a2be72d8dd
Merge pull request #8349 from AryazE/type_comparison
2024-09-05 17:34:49 +03:00
Andrew Murray
31638ee29a
Added type hints
2024-09-05 23:14:17 +10:00
Andrew Murray
f7f3af799b
Update CHANGES.rst [ci skip]
2024-09-05 22:53:48 +10:00
Aryaz Eghbali
282f740141
Merge branch 'python-pillow:main' into type_comparison
2024-09-05 13:31:36 +02:00
Aryaz Eghbali
a56ac4faa8
Canonical type checking
2024-09-05 13:29:19 +02:00
Hugo van Kemenade
965cb518a2
Merge pull request #8347 from radarhere/boxblur
2024-09-05 11:23:26 +03:00
Andrew Murray
1270043682
Return early if either width or height is zero
2024-09-05 15:46:54 +10:00
Aleksandr Karpinskii
8833548e55
Move new_block to module
2024-09-05 01:04:35 +04:00
Hugo van Kemenade
eaeda4a6be
Merge pull request #8339 from radarhere/type_hint
2024-09-04 14:57:01 +03:00
Hugo van Kemenade
8aa1e9209b
Merge pull request #8336 from radarhere/type_hint_imagefile
2024-09-04 14:56:23 +03:00
Hugo van Kemenade
06a9fcbff4
Merge pull request #8308 from radarhere/bytes
2024-09-04 14:52:57 +03:00
Hugo van Kemenade
a6cf6333a7
Merge pull request #8297 from radarhere/fuzz
2024-09-04 14:52:07 +03:00
Hugo van Kemenade
95c867dabf
Merge pull request #8286 from radarhere/xmp
2024-09-04 14:50:15 +03:00
Hugo van Kemenade
1dffc09c28
Merge pull request #8261 from radarhere/imagefont
2024-09-04 14:49:23 +03:00
Hugo van Kemenade
7e838bf409
Merge pull request #8256 from radarhere/jpeg2000_rgba
2024-09-04 14:48:01 +03:00
Hugo van Kemenade
64d96614a9
Merge pull request #8237 from radarhere/gif_expand
2024-09-04 14:47:25 +03:00
Hugo van Kemenade
9308f11ebe
Merge pull request #8231 from radarhere/ppm_i16
2024-09-04 14:46:31 +03:00
Hugo van Kemenade
e2c13571c3
Merge pull request #8230 from radarhere/exif_get_ifd
2024-09-04 14:46:18 +03:00
Hugo van Kemenade
eb1dbbf787
Merge pull request #8180 from radarhere/skip_truncated_mask
2024-09-04 14:36:46 +03:00
Hugo van Kemenade
a4c4b11a44
Merge pull request #8344 from radarhere/harfbuzz
2024-09-04 12:22:58 +03:00
Andrew Murray
be34a7da4b
Save xmp from info
2024-09-04 19:20:56 +10:00
Hugo van Kemenade
7afa789c5d
Merge pull request #8284 from radarhere/libimagequant
2024-09-04 10:48:13 +03:00
Hugo van Kemenade
9e2ed5886b
Merge pull request #8302 from radarhere/freetype
2024-09-04 10:47:43 +03:00
Andrew Murray
63b1196622
Updated harfbuzz to 9.0.0
2024-09-04 16:13:19 +10:00
Aleksandr Karpinskii
bf11639626
rename PyCapsule -> Capsule
2024-09-03 11:55:18 +04:00
Andrew Murray
61dade88e8
Update CHANGES.rst [ci skip]
2024-09-03 17:00:59 +10:00
Hugo van Kemenade
d636b804d7
Merge pull request #8343 from radarhere/jpeg2000_colorspace
2024-09-03 09:49:13 +03:00
Andrew Murray
55f49393af
Treat unknown colorspace as unspecified
2024-09-03 09:55:06 +10:00
Yngve Mardal Moe
822f525e82
Merge branch 'main' into improve-error-messages
2024-09-02 21:04:41 +02:00
Hugo van Kemenade
59f37db65f
Merge pull request #8342 from python-pillow/pre-commit-ci-update-config
2024-09-02 21:25:54 +03:00
pre-commit-ci[bot]
6b59e3822f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.6.3 )
- [github.com/python-jsonschema/check-jsonschema: 0.29.1 → 0.29.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.1...0.29.2 )
2024-09-02 17:26:20 +00:00
Aleksandr Karpinskii
147f75ee93
Use PyCapsule in _imagingft
2024-09-02 15:09:25 +04:00
Aleksandr Karpinskii
920c4ac447
Use PyCapsule in _imagingtk
2024-09-02 15:09:25 +04:00
Aleksandr Karpinskii
c69ad03af0
Remove legacy 1-bit api, fix AttributeError
...
PytestUnraisableExceptionWarning: Exception ignored in: <function PhotoImage.__del__>
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'
2024-09-02 05:14:03 +04:00
Aleksandr Karpinskii
7435a06cbb
Deprecate ImageCore.id and ImageCore.unsafe_ptrs
2024-09-02 05:14:03 +04:00
Aleksandr Karpinskii
f246be7b13
Use s# in PyArg_ParseTuple
2024-09-02 02:00:07 +04:00
Aleksandr Karpinskii
2fcab263d3
Use PyCapsule in _imagingmorph
2024-09-02 01:43:38 +04:00
Aleksandr Karpinskii
a9798e78af
Use PyCapsule in _imagingcms
2024-09-02 01:36:38 +04:00
Aleksandr Karpinskii
2303c063cb
Use PyCapsule in _imagingmath
2024-09-02 01:24:51 +04:00
Yngve Mardal Moe
ef51e7a1c7
Fix wrong indentation for assert
2024-09-01 19:49:44 +00:00
Yngve Mardal Moe
3bb180a254
Merge pull request #1 from radarhere/improve-error-messages
...
Renamed variable for first part of splitext to root
2024-09-01 21:47:08 +02:00
Andrew Murray
dbe78a0d21
Merge branch 'improve-error-messages' into improve-error-messages
2024-09-01 16:19:11 +10:00
Yngve Mardal Moe
fcca8a3059
Fix accidental indent
2024-08-31 19:03:11 +00:00
Andrew Murray
e0a75b6d69
Renamed variable for first part of splitext to root
2024-08-31 20:51:37 +10:00
Andrew Murray
95194a2050
Use tempfile.NamedTemporaryFile
2024-08-31 20:51:26 +10:00
Andrew Murray
e47b181084
Added type hints
2024-08-31 18:48:16 +10:00
Yngve Mardal Moe
cdadf931e3
Improve error messages
2024-08-30 20:50:56 +00:00
Andrew Murray
8699f13a74
Require fp parameter
2024-08-30 22:28:13 +10:00
Andrew Murray
d00f3656a6
Changed im.tile to never be None
2024-08-30 22:28:03 +10:00
Hugo van Kemenade
44c2ff3f0b
Merge pull request #8335 from hugovk/rm-pypy3.9
2024-08-29 14:44:26 +03:00
Hugo van Kemenade
d92603a0c6
Drop support for EOL PyPy3.9
2024-08-29 10:58:53 +03:00
Yay295
0c335d239b
use (void) for empty function parameters
2024-08-28 08:08:08 -05:00
Andrew Murray
bdc53f6c4d
Expand C image to match GIF frame image size
2024-08-28 18:33:43 +10:00
Hugo van Kemenade
1bf9fb4e40
Merge pull request #8279 from radarhere/type_hint_init
2024-08-28 10:07:27 +03:00
Andrew Murray
3c3b6ea28a
Merge pull request #8334 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.11.2
2024-08-28 11:41:20 +10:00
renovate[bot]
ae59ea4899
Update dependency mypy to v1.11.2
2024-08-28 00:52:05 +00:00
Andrew Murray
eae107ceb2
Merge branch 'main' into type_hint_init
2024-08-28 08:31:09 +10:00
Hugo van Kemenade
56e3147403
Merge pull request #8331 from radarhere/imageqt
2024-08-27 22:25:39 +03:00
Andrew Murray
7171e1c21e
Merge pull request #8332 from radarhere/ghostscript
...
Corrected GitHub Actions Windows Ghostscript path
2024-08-27 19:36:56 +10:00
Andrew Murray
65172db28d
Corrected Ghostscript path
2024-08-27 19:04:46 +10:00
Andrew Murray
53bbfea763
Added type hints
2024-08-26 23:49:03 +10:00
Andrew Murray
e3ffa380ab
Merge branch 'main' into exif_get_ifd
2024-08-25 00:05:02 +10:00
Andrew Murray
4721c31b19
Merge pull request #8319 from radarhere/type_hint
...
Added type hints
2024-08-24 23:54:19 +10:00
Andrew Murray
cfb093af39
Update CHANGES.rst [ci skip]
2024-08-24 23:15:35 +10:00
Andrew Murray
dcd77b57d8
Merge pull request #8322 from radarhere/webp
...
Updated error message when saving WebP with invalid width or height
2024-08-24 23:12:07 +10:00
pre-commit-ci[bot]
a3e3639a59
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-08-24 11:27:43 +00:00
Andrew Murray
658b60e3a3
Include units
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-08-24 21:26:56 +10:00
Hugo van Kemenade
f15034c3b1
Merge pull request #8326 from radarhere/numpy
2024-08-24 14:26:52 +03:00
Andrew Murray
8aa58e320f
Rename _E to ImagePointTransform
2024-08-24 21:25:41 +10:00
Andrew Murray
6e9518b88d
Added type hint to example code
2024-08-24 19:18:25 +10:00
Hugo van Kemenade
b6f90c4732
Merge pull request #8325 from radarhere/defusedxml
...
Catch defusedxml warnings
2024-08-24 08:35:38 +03:00
Andrew Murray
e382ebed3a
Remove warning if NumPy failed to raise an error during conversion
2024-08-23 19:38:07 +10:00
Andrew Murray
fed9168252
Catch defusedxml warnings
2024-08-23 18:48:28 +10:00
Andrew Murray
d49ea37811
Include limit in error message
2024-08-22 17:50:42 +10:00
Andrew Murray
f368ccc06e
Merge branch 'main' into webp
2024-08-22 12:36:17 +10:00
Jeffrey 'Alex' Clark
d6cfebd016
Revert "Add/update project-makefile files"
...
This reverts commit 388fc78e36
.
Sorry for the noise (4/4)!
2024-08-21 21:17:29 -04:00
Jeffrey 'Alex' Clark
1143bffe1a
Revert "Add/update project-makefile files"
...
This reverts commit 776eb9e9b7
.
Sorry for the noise (3/4)!
2024-08-21 21:17:06 -04:00
Jeffrey 'Alex' Clark
e19841afa4
Revert "Add/update project-makefile files"
...
This reverts commit 837af6420d
.
Sorry for the noise (2/4)!
2024-08-21 21:16:35 -04:00
Jeffrey 'Alex' Clark
0f64d08e64
Revert "Add/update project-makefile files"
...
This reverts commit 575fad2472
.
Sorry for the noise (1/4)!
2024-08-21 21:16:02 -04:00
Andrew Murray
132663a881
Updated error message for invalid width or height
2024-08-22 07:36:52 +10:00
Jeffrey 'Alex' Clark
575fad2472
Add/update project-makefile files
2024-08-21 17:02:53 -04:00
Jeffrey 'Alex' Clark
837af6420d
Add/update project-makefile files
2024-08-21 16:43:28 -04:00
Jeffrey 'Alex' Clark
776eb9e9b7
Add/update project-makefile files
2024-08-21 16:08:26 -04:00
Jeffrey 'Alex' Clark
388fc78e36
Add/update project-makefile files
2024-08-21 15:32:06 -04:00
Andrew Murray
f0d8fd3059
Merge pull request #8310 from Yay295/tiff_cleanup
...
Move repeated code to private helper function
2024-08-21 13:48:18 +10:00
Andrew Murray
e6e5ef5c5f
Added type hints
2024-08-21 08:05:02 +10:00
Andrew Murray
2ed8502d12
Use ipython PrettyPrinter, rather than custom class
2024-08-20 22:13:52 +10:00
Andrew Murray
d1d567bb59
Do not use sys.stdout in PSDraw
2024-08-20 22:13:52 +10:00
Hugo van Kemenade
f8d3e36176
Merge pull request #8315 from radarhere/iptc
...
Get IPTC info from tag_v2
2024-08-20 13:52:55 +03:00
Hugo van Kemenade
0ec1153a62
Merge pull request #8318 from radarhere/brew
...
Uninstall gradle and maven on macOS 13
2024-08-19 14:41:21 +03:00
Andrew Murray
27ca30d50e
Merge pull request #8309 from hugovk/flake8-pytest-style
...
Lint: run more flake8-pytest-style
2024-08-19 21:16:21 +10:00
Andrew Murray
2467369c13
Uninstall gradle and maven on macOS 13
2024-08-19 20:50:45 +10:00
Yay295
cd76b48533
move repeated code to private helper function
2024-08-18 17:02:45 -05:00
Andrew Murray
f26b47595b
Get IPTC info from tag_v2
2024-08-19 06:56:31 +10:00
Hugo van Kemenade
5747267eb3
Fix PT018: Assert only one thing
2024-08-17 11:46:15 +03:00
Hugo van Kemenade
5c282d0299
Fix PT014: duplicate test cases in pytest.mark.parametrize
2024-08-17 11:46:15 +03:00
Hugo van Kemenade
6f506d2ae3
Run all flake8-pytest-style except rules some that fail
2024-08-17 11:46:15 +03:00
Hugo van Kemenade
eeb3d04843
Merge pull request #8306 from radarhere/tag_v2
2024-08-16 12:56:16 +03:00
Andrew Murray
5cb79c6a69
Check object is bytes
2024-08-16 18:31:07 +10:00
Andrew Murray
617699ffc7
Log value from tag_v2
2024-08-16 12:03:02 +10:00
Andrew Murray
0a03b77daf
Update CHANGES.rst [ci skip]
2024-08-16 06:36:31 +10:00
Hugo van Kemenade
0633257be3
Merge pull request #8285 from radarhere/type_hint
2024-08-15 23:25:50 +03:00
Hugo van Kemenade
394e850db8
Merge pull request #8304 from radarhere/rounded_rectangle
2024-08-15 16:06:42 +03:00
Andrew Murray
d5e3f6b516
If left and right sides meet, do not draw rectangle to fill gap
2024-08-15 14:46:23 +10:00
Andrew Murray
d4c72da6b2
Added type hints to example code
2024-08-15 14:10:31 +10:00
Andrew Murray
8afb7ddb4e
Added type hints
2024-08-15 08:08:43 +10:00
Andrew Murray
497080f63b
Added type hint to ImageFile._save tile parameter
2024-08-15 07:30:01 +10:00
Andrew Murray
8737709781
Added return type to ImageFile.load()
2024-08-15 07:30:00 +10:00
Andrew Murray
b14142462e
Update CHANGES.rst [ci skip]
2024-08-15 05:11:00 +10:00
Andrew Murray
e4e2cd6564
Updated comments
2024-08-14 15:28:34 +04:00
Andrew Murray
2b6c5a27a1
Added braces
2024-08-14 15:28:34 +04:00
Aleksandr Karpinskii
8256b9bb7f
Correct left boundary on the second stage
2024-08-14 15:28:34 +04:00
Aleksandr Karpinskii
5fb44ab694
This check is useless, since moved after the first stage
2024-08-14 15:28:34 +04:00
Aleksandr Karpinskii
6a87df2c1f
clang-format
2024-08-14 15:28:34 +04:00
Aleksandr Karpinskii
4cf5688cfd
Optimize getbbox() and getextrema()
2024-08-14 15:28:34 +04:00
Alexander Karpinsky
35a70e4b97
Merge pull request #8213 from uploadcare/webp-require-anim
...
Remove WebP support without anim, mux/demux, and with buggy alpha
2024-08-14 15:27:23 +04:00
Alexander Karpinsky
4d544da5c6
Merge pull request #142 from radarhere/webp-require-anim
...
Suggestions for deprecating older WebP versions
2024-08-14 12:47:17 +04:00
Andrew Murray
359d7592c7
Test deprecation warnings
2024-08-14 18:41:39 +10:00
Andrew Murray
45552b5b4f
Updated documentation
2024-08-14 18:36:06 +10:00
Andrew Murray
66319fcce7
Animation support is no longer conditionally enabled
2024-08-14 18:35:59 +10:00
Andrew Murray
ba82dff7bc
Updated test name
2024-08-14 18:35:53 +10:00
Andrew Murray
c7e6289b36
Use relative import
2024-08-13 19:07:01 +10:00
Andrew Murray
f3aec6dd38
Simplified code
2024-08-13 19:05:32 +10:00
Andrew Murray
5546994828
Removed unnecessary variable
2024-08-13 19:03:14 +10:00
Alexander Karpinsky
93ce9ce004
Update features type
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-13 09:52:07 +04:00
Andrew Murray
924df9e60b
Moved line after early return
...
Improve compiler advice
Update src/PIL/features.py
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
6180abc75c
Remove WebP versions notes from docs
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
56ca359c65
Bring back removed features, add deprecations and Release notes
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
a3468996c0
Remove webp animations flags and conditions
...
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
9bed5b4264
Remove _webp.WebPDecoderBuggyAlpha and _webp.HAVE_TRANSPARENCY
2024-08-13 09:26:04 +04:00
Aleksandr Karpinskii
c1e8375af8
Require webpmux and webpdemux
2024-08-13 09:24:52 +04:00
Andrew Murray
f801649513
Updated freetype to 2.13.3
2024-08-13 06:11:32 +10:00
Alexander Karpinsky
a5b415bef5
Merge pull request #8298 from uploadcare/missing-CMYK;16B
...
Add missing TIFF CMYK;16B reader
2024-08-11 16:09:14 +04:00
Aleksandr Karpinskii
0d79a38e77
Add missing TIFF CMYK;16B reader
2024-08-11 15:14:29 +04:00
Andrew Murray
de441ee091
Updated to Python 3.10
2024-08-10 21:05:14 +10:00
Andrew Murray
4d0e8e74b4
Use im property
2024-08-10 10:20:08 +10:00
Hugo van Kemenade
c8b5f0b9ea
Merge pull request #8293 from radarhere/quant
...
Fix undefined variable
2024-08-10 01:05:05 +03:00
Andrew Murray
e938283eb9
Allow docs to build without lcms2
2024-08-09 20:56:14 +10:00
Andrew Murray
8da4883234
Merge branch 'main' into type_hint_init
2024-08-09 14:21:46 +10:00
Hugo van Kemenade
082e3234a1
Merge pull request #8295 from akx/ruff-enforce-parametrize-style
2024-08-08 15:12:43 +03:00
Aarni Koskela
1c998d7f7c
Update pyproject.toml
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-08 14:10:18 +03:00
Hugo van Kemenade
c6867187bd
Merge pull request #8290 from akx/parametrize-lut-tests
2024-08-07 15:12:56 +03:00
Hugo van Kemenade
2e23dc5c03
Merge pull request #8294 from radarhere/warning
2024-08-07 14:19:09 +03:00
Aarni Koskela
8ca53b312d
Enforce CSV parametrize names style
2024-08-07 12:27:20 +03:00
Andrew Murray
a06529a3a8
Added channels parameter
2024-08-07 12:13:05 +03:00
Andrew Murray
5c4aeaa329
Concatenate parameters into single string
2024-08-07 12:13:05 +03:00
Andrew Murray
4fddc625f1
Corrected lut mode
2024-08-07 12:13:05 +03:00
Andrew Murray
7581b48706
Fixed sign comparison warning
2024-08-07 18:44:43 +10:00
Andrew Murray
11b4df3ff9
Merge pull request #8289 from akx/mypy-fixes
...
Move auxiliary mypy requirements to a requirements file
2024-08-07 18:05:06 +10:00
Aarni Koskela
59c69f8d71
Move auxiliary mypy requirements to a requirements file
...
For easier installation outside tox
2024-08-07 09:37:21 +03:00
Andrew Murray
70298d3be9
Fix undefined variable
2024-08-07 06:38:46 +10:00
Aarni Koskela
9d6d16d5cc
Parametrize some color_lut tests for DRYness
2024-08-06 15:25:23 +03:00
Hugo van Kemenade
f2469cb1bf
Merge pull request #8288 from radarhere/quant
...
Removed unused variable
2024-08-06 08:21:00 +03:00
Andrew Murray
5e8dbbbf9e
Removed unused variable
2024-08-06 13:32:46 +10:00
Andrew Murray
13c00bab86
Updated libimagequant to 4.3.3
2024-08-06 11:16:57 +10:00
Andrew Murray
1fd4d14782
Update CHANGES.rst [ci skip]
2024-08-06 06:31:47 +10:00
Andrew Murray
c056406f21
Added comments to explain overhead_len
2024-08-06 06:19:15 +10:00
Hugo van Kemenade
8696974cef
Merge pull request #8287 from python-pillow/pre-commit-ci-update-config
2024-08-05 21:43:02 +03:00
pre-commit-ci[bot]
554f8bb23a
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.6 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.6 → 0.29.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.6...0.29.1 )
- [github.com/tox-dev/pyproject-fmt: 2.1.3 → 2.2.1](https://github.com/tox-dev/pyproject-fmt/compare/2.1.3...2.2.1 )
2024-08-05 17:37:42 +00:00
Andrew Murray
d49884e40c
Raise ValueError is XMP data is too long
2024-08-05 21:48:36 +10:00
Andrew Murray
2722cfd72b
Added writing XMP bytes to JPEG
2024-08-05 20:20:24 +10:00
Andrew Murray
71876cfd2a
Merge pull request #8282 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.20.0
2024-08-04 19:51:10 +10:00
renovate[bot]
69076fa3d9
Update dependency cibuildwheel to v2.20.0
2024-08-04 06:21:13 +00:00
Andrew Murray
6897566701
Merge pull request #8280 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.11.1
2024-08-03 13:40:35 +10:00
renovate[bot]
3e93b806cc
Update dependency mypy to v1.11.1
2024-08-03 02:29:19 +00:00
Andrew Murray
8f1157a61d
Added type hints to Image.__init__()
2024-08-02 23:30:27 +10:00
Alexander Karpinsky
d8447de24d
Merge pull request #8211 from uploadcare/remove-c-flags
...
Remove all WITH_* flags from _imaging.c and other flags
2024-08-02 16:10:10 +04:00
Hugo van Kemenade
126af363af
Merge pull request #8265 from radarhere/imagedraw2
2024-08-01 14:50:43 +03:00
Hugo van Kemenade
5517232205
Merge pull request #8238 from lysnikolaou/arena-thread-safe
2024-08-01 12:31:56 +03:00
Andrew Murray
95cc0b1109
Merge pull request #8274 from radarhere/unused_jpeg
...
Deprecate JpegImageFile huffman_ac and huffman_dc
2024-08-01 17:43:01 +10:00
Andrew Murray
488e1982bd
Added removal version and date
2024-08-01 16:29:46 +10:00
Andrew Murray
e6fd8359d3
Deprecate huffman_ac and huffman_dc
2024-08-01 12:27:45 +10:00
Hugo van Kemenade
4df4df2a18
Merge pull request #8270 from radarhere/type_hint
2024-07-30 14:42:41 +03:00
Andrew Murray
accfaf1c09
Added type hints
2024-07-30 20:20:09 +10:00
Andrew Murray
955854728a
Pass start and end to arc, chord and pieslice
2024-07-30 09:10:11 +10:00
Andrew Murray
b84e2a9935
Do not pass outline to arc
2024-07-30 09:10:11 +10:00
Andrew Murray
db5c4fbb2c
Include required arguments
2024-07-30 09:10:09 +10:00
Hugo van Kemenade
5833a8b18e
Merge pull request #8268 from radarhere/type_hint
2024-07-29 18:44:47 +03:00
Andrew Murray
6420f73613
Added type hints
2024-07-29 23:46:07 +10:00
Aleksandr Karpinskii
302962dae1
Updated comments
...
by @radarhere, lost during rebase
2024-07-28 17:20:14 +04:00
Aleksandr Karpinskii
a6d83ec9cc
Add relesenotes
2024-07-28 17:09:31 +04:00
Aleksandr Karpinskii
d00fb87fa3
Rename Not NO_OUTPUT to DEBUG, remove TEST_MERGESORT and TEST_SPLIT* flags
2024-07-28 16:46:28 +04:00
Aleksandr Karpinskii
dc53356c1a
Not needed since memcpy is used here
2024-07-28 16:24:51 +04:00
Aleksandr Karpinskii
cfce566d17
codestyle
2024-07-28 16:24:51 +04:00
Aleksandr Karpinskii
a03033e7f3
Remove all WITH_* flags from _imaging.c
2024-07-28 16:24:51 +04:00
Hugo van Kemenade
7b8a031ec1
Merge pull request #8267 from radarhere/type_hint
2024-07-28 11:22:14 +03:00
Andrew Murray
c85eb0cae5
Added type hints
2024-07-28 12:53:02 +10:00
Hugo van Kemenade
8f62fbdf44
Merge pull request #8263 from radarhere/type_hint
2024-07-26 11:06:38 +03:00
Andrew Murray
046285ac5d
Added type hints
2024-07-26 16:42:28 +10:00
Hugo van Kemenade
7bd28952f1
Merge pull request #8262 from radarhere/type_hint
2024-07-25 22:10:38 +03:00
Andrew Murray
726cdf5eed
Added type hints
2024-07-25 22:55:49 +10:00
Andrew Murray
68328ccc6a
Require font parameter for truetype()
2024-07-25 18:52:04 +10:00
Andrew Murray
d0d4227515
Require font parameter in FreeTypeFont
2024-07-25 18:45:38 +10:00
Andrew Murray
6dd4b3c826
Merge pull request #8259 from hugovk/rm-is_directory
...
Remove unused _util.is_directory
2024-07-25 09:47:30 +10:00
Andrew Murray
61001dab14
Merge pull request #8260 from python-pillow/revert-7856-docs
...
Restore exiv2.org links
2024-07-25 08:41:59 +10:00
Hugo van Kemenade
72a243c498
Revert "Corrected exiv2.org links"
2024-07-24 11:44:44 -06:00
Hugo van Kemenade
7a570d67bf
Remove unused _util.is_directory
2024-07-24 20:32:20 +03:00
Hugo van Kemenade
a103c4a044
Merge pull request #8257 from radarhere/imagedraw_unused
2024-07-24 20:24:14 +03:00
Andrew Murray
ab635be11b
Removed unused argument
2024-07-24 22:08:15 +10:00
Andrew Murray
77df988d06
Support RGBA palettes
2024-07-24 19:51:19 +10:00
Hugo van Kemenade
fddc902c35
Merge pull request #8246 from python-pillow/tutorial-images
2024-07-24 10:48:25 +03:00
Andrew Murray
8f4dbfe6a6
Simplified code
2024-07-24 06:56:59 +10:00
Andrew Murray
888b2f716e
Improved consistency of example paths
2024-07-24 06:56:42 +10:00
Andrew Murray
cf6ec5e065
Converted images to WebP
2024-07-24 06:44:06 +10:00
Jeffrey A. Clark (Alex)
96fa1f5dbf
multiply each pixel by 20
2024-07-23 14:55:04 -04:00
Yay295
22ef8df59a
Do not run scheduled wheel jobs on forks
2024-07-22 08:29:55 +03:00
mergify[bot]
8405412b76
Merge pull request #8250 from radarhere/type_hint
...
Added type hints
2024-07-20 19:48:05 +00:00
Andrew Murray
1cf887dbec
Rearranged code
2024-07-21 05:22:13 +10:00
Jeffrey A. Clark (Alex)
ddc02bb78c
Update and add image to PostScript printing example
2024-07-20 14:41:47 -04:00
Andrew Murray
906b8afe85
Merge pull request #8252 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.11.0
2024-07-20 19:57:16 +10:00
Andrew Murray
38458a204c
Corrected type hints
2024-07-20 19:07:42 +10:00
Andrew Murray
882a196a8f
Removed unused ignores
2024-07-20 18:59:27 +10:00
renovate[bot]
b976a8496d
Update dependency mypy to v1.11.0
2024-07-20 08:07:12 +00:00
Andrew Murray
f624460321
Added type hints
2024-07-20 13:14:18 +10:00
Andrew Murray
f8a9a18e7d
Merge pull request #8248 from Yay295/patch-2
...
Use local variable instead of casting every line
2024-07-20 10:49:37 +10:00
Yay295
204ec11f64
use local variable instead of casting every line
2024-07-19 08:46:25 -05:00
Jeffrey A. Clark
eff22bc34e
Update docs/handbook/tutorial.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-19 09:00:26 -04:00
pre-commit-ci[bot]
aa8d87696b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-19 12:14:54 +00:00
Lysandros Nikolaou
8a54f58ac6
Merge branch 'main' into arena-thread-safe
2024-07-19 14:14:23 +02:00
Andrew Murray
011da4b646
Merge pull request #8067 from Yay295/patch-2
...
Change AlignAfterOpenBracket in .clang-format to BlockIndent
2024-07-19 20:26:36 +10:00
Andrew Murray
4db8140426
Removed unused image
2024-07-19 18:49:04 +10:00
Andrew Murray
54055c76c4
Converted images to WebP
2024-07-19 18:45:00 +10:00
Andrew Murray
1daaef02cd
Updated code to match image
2024-07-19 18:27:00 +10:00
Andrew Murray
c337dfe98a
Correct reference
2024-07-19 14:41:51 +10:00
Jeffrey A. Clark (Alex)
96a1af9fa8
Add tutorial images
...
Animated gif example
2024-07-18 18:33:14 -04:00
Jeffrey A. Clark (Alex)
18d8020cab
Add tutorial images
2024-07-18 15:17:32 -04:00
Andrew Murray
73dfe67736
Update CHANGES.rst [ci skip]
2024-07-18 22:46:02 +10:00
Hugo van Kemenade
97e5381dbb
Merge pull request #8242 from radarhere/imagemath_options
2024-07-18 14:49:29 +03:00
Hugo van Kemenade
205695dedf
Merge pull request #8244 from lysnikolaou/upload-nightly-wheels-different-job
2024-07-18 14:06:20 +03:00
Lysandros Nikolaou
a6e9393956
Update .github/workflows/wheels.yml
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-18 10:35:09 +02:00
Andrew Murray
7248cde50b
Documented keyword arguments
2024-07-18 11:00:27 +10:00
Lysandros Nikolaou
09c817a2ec
Move uploading nightly wheels to different job
...
This is needed cause the job does not support running on OS's other
than Ubuntu.
2024-07-17 23:05:48 +02:00
Hugo van Kemenade
b6868f3095
Merge pull request #8243 from lysnikolaou/skip-qemu-wheels-workflow-dispatch
2024-07-17 20:44:08 +03:00
Lysandros Nikolaou
f39ca5db5a
Skip QEMU-emulated wheels on workflow dispatch event
2024-07-17 16:21:16 +02:00
Hugo van Kemenade
024fa51294
Merge pull request #8236 from lysnikolaou/upload-nightly-wheels
2024-07-17 17:17:54 +03:00
Andrew Murray
47fc36a323
Update CHANGES.rst [ci skip]
2024-07-17 22:28:56 +10:00
Andrew Murray
10faa5df39
Deprecate lambda_eval and unsafe_eval options argument
2024-07-17 22:08:53 +10:00
Hugo van Kemenade
d05262105a
Merge pull request #8240 from radarhere/containerio
...
Changed ContainerIO to subclass IO
2024-07-17 14:23:55 +03:00
Andrew Murray
a3f93b3f68
Changed ContainerIO to subclass IO
2024-07-17 16:23:29 +10:00
Hugo van Kemenade
86f4cfbbf1
Merge pull request #8239 from radarhere/cifuzz
...
Temporarily disable cifuzz
2024-07-17 07:33:38 +03:00
Andrew Murray
3146940716
Temporarily disable cifuzz
2024-07-17 08:26:05 +10:00
pre-commit-ci[bot]
e144707520
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 19:32:02 +00:00
Lysandros Nikolaou
98b173928a
Address more feedback; don't unlock around sizeof
2024-07-16 21:31:29 +02:00
Lysandros Nikolaou
06767fc325
Address feedback; do not lock in a loop
2024-07-16 17:00:14 +02:00
Lysandros Nikolaou
5999b9b0cc
Initialize PyMutex only under the free-threaded build
2024-07-16 16:56:15 +02:00
pre-commit-ci[bot]
9f110aa702
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 14:47:15 +00:00
Lysandros Nikolaou
ea7b5c5b66
Lock around usages of imaging memory arenas
2024-07-16 16:43:49 +02:00
pre-commit-ci[bot]
2973b041c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 12:58:04 +00:00
Yay295
87b23d0207
change AlignAfterOpenBracket in .clang-format to BlockIndent
...
to match the Python code
2024-07-16 07:57:24 -05:00
Andrew Murray
d83c7b38c4
Skip other jobs on schedule ( #1 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-16 12:18:25 +02:00
Lysandros Nikolaou
68c3542d09
Rename secret
2024-07-16 10:42:18 +02:00
Andrew Murray
784a874490
Trim whitespace
2024-07-16 18:38:50 +10:00
Lysandros Nikolaou
e89be77145
Upload wheels to scientific-python-nightly-wheels index
2024-07-16 10:21:24 +02:00
Andrew Murray
f19e07b58c
Merge pull request #8234 from radarhere/type_hint
...
Added type hints
2024-07-16 18:05:02 +10:00
Andrew Murray
3eeef83517
Updated condition
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-16 16:40:17 +10:00
Hugo van Kemenade
2152a1736c
Merge pull request #8235 from radarhere/axis_name
...
Simplified code
2024-07-15 15:42:10 +03:00
Andrew Murray
76e5e12f98
Simplified code
2024-07-15 20:48:39 +10:00
Andrew Murray
01529d8b09
Added type hints
2024-07-15 19:23:36 +10:00
Hugo van Kemenade
6944e9e183
Merge pull request #8216 from hugovk/free-threading
2024-07-13 16:09:34 +02:00
Hugo van Kemenade
851868c775
Fix refcounts after porting to GetItemRef & better error checking ( #126 )
2024-07-13 12:41:39 +02:00
Lysandros Nikolaou
8854e4677e
Add include
2024-07-13 12:34:17 +02:00
Lysandros Nikolaou
9c576d63c3
Fix refcounts after porting to GetItemRef & better error checking
2024-07-13 12:24:02 +02:00
Hugo van Kemenade
c21a403879
Add necessary PyMem_Free and fix PyDict_GetItemRef call ( #125 )
2024-07-13 11:18:47 +02:00
Hugo van Kemenade
8c9eea9d07
Merge pull request #8228 from radarhere/type_hint
2024-07-13 11:09:48 +02:00
Lysandros Nikolaou
f5313db9ce
Add necessary PyMem_Free and fix PyDict_GetItemRef call
2024-07-13 11:00:57 +02:00
Hugo van Kemenade
8d88619bde
Merge pull request #8219 from radarhere/free_threaded
2024-07-13 10:59:28 +02:00
Andrew Murray
8e730e17ae
Allow saving I;16 images as PPM
2024-07-13 13:00:58 +10:00
Andrew Murray
42bfcaa2d4
When IFD is missing, connect get_ifd() dictionary to Exif
2024-07-13 12:46:15 +10:00
Andrew Murray
5bae934317
Added type hints
2024-07-12 21:16:56 +10:00
Andrew Murray
c416f0ea1d
Build wheels with free threading
2024-07-10 06:11:11 +10:00
Hugo van Kemenade
6a9acfa5ca
Merge pull request #8214 from radarhere/type_hint
2024-07-08 09:01:47 -06:00
Lysandros Nikolaou
40e7f511b3
Don't use PyList_GetItemRef immediately after PyList_New
2024-07-08 15:42:26 +03:00
Hugo van Kemenade
87596bd747
imagingft: Replace PyDict_GetItem with PyDict_GetItemRef
2024-07-08 15:42:26 +03:00
Hugo van Kemenade
7c64ae0c73
encode: Replace PyDict_GetItem with PyDict_GetItemRef
2024-07-08 15:42:26 +03:00
Hugo van Kemenade
377bdc0db1
encode: Replace PyList_GetItem with PyList_GetItemRef
2024-07-08 15:42:26 +03:00
Hugo van Kemenade
69f967301d
Call PyUnstable_Module_SetGIL() to indicate support of running with GIL disabled
2024-07-08 14:40:35 +03:00
Andrew Murray
613fced92c
Merge pull request #8200 from hugovk/ci-free-threading
...
Test 3.13 free-threaded build on CI
2024-07-08 21:24:07 +10:00
Andrew Murray
8a05e32336
Added type hints
2024-07-08 20:09:45 +10:00
Hugo van Kemenade
77e752f35f
Check GIL, rather than Python version ( #124 )
2024-07-07 07:09:26 -06:00
Andrew Murray
41eb218a68
Check GIL, rather than Python version
2024-07-07 22:04:50 +10:00
mergify[bot]
94a8fccfa7
Merge pull request #8210 from radarhere/type_hint
...
Added type hint
2024-07-06 13:08:17 +00:00
Andrew Murray
6883018725
Added type hint
2024-07-06 22:06:47 +10:00
Hugo van Kemenade
ae25d23c34
Merge pull request #8207 from radarhere/type_hints_pdfparser
...
Added type hints to PdfParser
2024-07-06 05:54:16 -06:00
Hugo van Kemenade
d2c3365b40
Merge pull request #8208 from radarhere/type_hint_tests
...
Check test type hints
2024-07-06 05:28:42 -06:00
Andrew Murray
486dac7efc
Added type hints
2024-07-06 19:17:23 +10:00
Andrew Murray
69cca2a103
Added type hints
2024-07-06 15:08:35 +10:00
Hugo van Kemenade
a528cd8bd3
Merge pull request #8206 from radarhere/aarch64_wheels
2024-07-05 13:10:10 -06:00
Hugo van Kemenade
6cef133554
Merge pull request #8201 from radarhere/resize
2024-07-05 12:15:03 -06:00
Andrew Murray
4aa24f88d9
Added type hints to tests ( #8203 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 11:56:24 -06:00
Andrew Murray
f3c3e52797
Added type hints ( #8204 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 11:55:23 -06:00
Hugo van Kemenade
dcd8332805
Include 'free-threading' in job name
2024-07-05 19:40:43 +03:00
Andrew Murray
bcecaf6add
Group aarch64 jobs
2024-07-06 02:08:37 +10:00
Andrew Murray
7e1a6be767
Updated macOS tested Pillow versions ( #8202 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 13:05:59 +03:00
Hugo van Kemenade
2d2889e617
Install nightly NumPy for free-threaded
2024-07-05 01:52:06 +03:00
Hugo van Kemenade
701539d017
Add PYTHON_GIL=0 env var to keep GIL disabled
2024-07-05 00:38:50 +03:00
Hugo van Kemenade
e76c31b67d
Refactor to single line for readability
2024-07-04 15:54:21 +03:00
Hugo van Kemenade
d4f1d252ef
Test 3.13 free-threaded build on CI
2024-07-04 15:54:21 +03:00
Andrew Murray
6990fc4a09
Allow size argument to resize() to be a NumPy array
2024-07-04 15:25:35 +10:00
Andrew Murray
936012e861
Allow size argument to resize() to be a list
2024-07-04 15:13:03 +10:00
Andrew Murray
776dd63f33
Update CHANGES.rst [ci skip]
2024-07-04 11:20:00 +10:00
Andrew Murray
a34ac045c3
Conditionally define type hint to avoid requiring core
2024-07-03 21:05:48 +10:00
Hugo van Kemenade
51bd7d2ea8
Drop support for Python 3.8 ( #8183 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00
Andrew Murray
7537ce8a60
Merge pull request #8181 from hugovk/add-3.13
...
Add support for Python 3.13
2024-07-03 13:22:47 +10:00
Andrew Murray
674e8e0b1b
Merge pull request #8189 from hugovk/numpy-3.13
...
Test NumPy on Python 3.13
2024-07-03 13:18:08 +10:00
Hugo van Kemenade
c8df36f650
Merge pull request #8191 from radarhere/type_hint
2024-07-02 14:31:04 -06:00
Hugo van Kemenade
ececa9df4e
Merge pull request #8187 from neutrinoceros/bug/compat/numpy1.20
2024-07-02 14:28:14 -06:00
Hugo van Kemenade
534d82119b
Test NumPy on Python 3.13
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:57:13 +03:00
Hugo van Kemenade
40d3b2ce0c
Fix version range
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:53:23 +03:00
Hugo van Kemenade
4eec24a380
Increment Python version check on Windows
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:52:43 +03:00
Hugo van Kemenade
e50df021e8
Add support for Python 3.13
2024-07-02 21:48:48 +03:00
Hugo van Kemenade
f3719a9bec
Merge pull request #8192 from python-pillow/renovate/cibuildwheel-2.x
2024-07-02 12:45:56 -06:00
renovate[bot]
0a19410ee2
Update dependency cibuildwheel to v2.19.2
2024-07-02 12:15:04 +00:00
Andrew Murray
267c0b37b1
Added type hints
2024-07-02 20:10:47 +10:00
Clément Robert
ce6fb1279f
Merge pull request #1 from radarhere/bug/compat/numpy1.20
...
Do not import numpy.typing unless TYPE_CHECKING
2024-07-02 12:00:01 +02:00
Andrew Murray
8b8fc18998
Do not import numpy.typing unless TYPE_CHECKING
2024-07-02 19:05:59 +10:00
Andrew Murray
8c2a823e77
Merge pull request #8188 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-07-02 18:41:47 +10:00
Andrew Murray
06cad14767
Merge pull request #8185 from radarhere/debian
...
Removed Debian 11
2024-07-02 07:58:16 +10:00
pre-commit-ci[bot]
c359bd290b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-01 17:33:19 +00:00
Clément Robert
b4ee967372
BUG: fix an incompatibility with numpy 1.20
2024-07-01 19:33:14 +02:00
pre-commit-ci[bot]
d6d0a4d981
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.5.0 )
- [github.com/PyCQA/bandit: 1.7.8 → 1.7.9](https://github.com/PyCQA/bandit/compare/1.7.8...1.7.9 )
- [github.com/pre-commit/mirrors-clang-format: v18.1.5 → v18.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.5...v18.1.8 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.4 → 0.28.6](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.4...0.28.6 )
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.1.3 )
2024-07-01 17:32:51 +00:00
Andrew Murray
8c26622ee7
Merge pull request #8186 from radarhere/cve
...
Updated CVE URL
2024-07-01 23:46:05 +10:00
Andrew Murray
31e64a0da8
Updated CVE URL
2024-07-01 23:06:57 +10:00
Andrew Murray
381c604b07
Removed Debian 11
2024-07-01 23:06:39 +10:00
Andrew Murray
d3f343bb9b
Skip truncated mask if LOAD_TRUNCATED_IMAGES is enabled
2024-07-01 23:04:47 +10:00
Andrew Murray
585bd6ad48
Merge pull request #8182 from hugovk/rm-deprecated-psfile
...
Remove PSFile, PyAccess and USE_CFFI_ACCESS
2024-07-01 23:04:04 +10:00
Hugo van Kemenade
4ab4fa4cd7
Merge pull request #120 from radarhere/rm-deprecated-psfile
2024-07-01 06:33:19 -06:00
Andrew Murray
9bc1365ea0
Removed reference
2024-07-01 21:41:08 +10:00
Andrew Murray
5e163c0fed
Updated deprecation timeline
2024-07-01 20:31:25 +10:00
Andrew Murray
43cc1e3659
Removed PyAccess and Image.USE_CFFI_ACCESS
2024-07-01 20:31:17 +10:00
Hugo van Kemenade
eb5bf18192
Bump deprecation tests to Pillow 12
2024-07-01 13:25:43 +03:00
Andrew Murray
a3a6198286
11.0.0.dev0 version bump
2024-07-01 19:53:27 +10:00
Hugo van Kemenade
2a660bbe9f
Remove PSFile class, deprecated in Pillow 9.5.0
2024-07-01 10:58:27 +03:00
Andrew Murray
9b4fae7717
10.4.0 version bump
2024-07-01 15:42:12 +10:00
Andrew Murray
b55d74bcfe
Update CHANGES.rst [ci skip]
2024-06-29 07:47:26 +10:00
Andrew Murray
8daf550b7d
Merge pull request #8178 from radarhere/imageshow
...
Raise FileNotFoundError if show_file() path does not exist
2024-06-29 06:17:44 +10:00
Hugo van Kemenade
c6d8c58b6d
Merge pull request #7965 from Yay295/patch-3
2024-06-28 07:34:46 -06:00
Andrew Murray
c9ec76aa0d
Raise FileNotFoundError if show_file() path does not exist
2024-06-28 21:27:56 +10:00
Andrew Murray
b48d175656
Update CHANGES.rst [ci skip]
2024-06-28 21:13:41 +10:00
Hugo van Kemenade
4d6dff34db
Merge pull request #8031 from radarhere/imagingcms_modes
2024-06-28 04:05:40 -06:00
Andrew Murray
70b3815a37
Merge pull request #8127 from radarhere/multiple_exif_markers
...
Fixed processing multiple JPEG EXIF markers
2024-06-28 18:50:19 +10:00
Andrew Murray
88cd6d41ef
Rearranged comments
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-28 17:28:42 +10:00
Hugo van Kemenade
41426a6f74
Merge pull request #8110 from radarhere/exififd
2024-06-28 00:19:25 -06:00
Hugo van Kemenade
56521137be
Merge pull request #8086 from radarhere/load_default_imagefont
2024-06-28 00:18:55 -06:00
Hugo van Kemenade
3fdaecb025
Merge pull request #8063 from radarhere/possible_formats
2024-06-28 00:18:10 -06:00
Hugo van Kemenade
02133dc9ad
Merge pull request #8169 from radarhere/cast
2024-06-28 00:14:21 -06:00
Andrew Murray
7514c426b5
Merge pull request #8177 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.10.1
2024-06-28 15:03:00 +10:00
renovate[bot]
d18192cecf
Update dependency mypy to v1.10.1
2024-06-28 04:20:09 +00:00
Andrew Murray
7b636a8e6c
Update CHANGES.rst [ci skip]
2024-06-27 20:28:36 +10:00
Hugo van Kemenade
6a2b8e7236
Merge pull request #8173 from radarhere/xmp_imageops
2024-06-27 12:40:07 +03:00
Hugo van Kemenade
6a44854e5b
Merge pull request #8171 from radarhere/xmp
2024-06-27 12:38:30 +03:00
Andrew Murray
304cf484aa
Do not presume "xmp" info simply because "XML:com.adobe.xmp" info exists
2024-06-27 13:29:22 +10:00
Andrew Murray
6863c87c01
Added test for non-colormap 16-bit image
2024-06-26 08:32:57 -05:00
Andrew Murray
fd3f6c1a92
Remove zero-byte end padding when parsing any XMP data
2024-06-26 19:31:40 +10:00
Andrew Murray
a90a9d5ea5
Update CHANGES.rst [ci skip]
2024-06-26 19:14:58 +10:00
Hugo van Kemenade
6e1831cf99
Merge pull request #8056 from radarhere/hdr
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-06-26 11:33:50 +03:00
Hugo van Kemenade
2756cd5273
Merge pull request #8146 from Yay295/jp2_parsing
2024-06-26 11:32:57 +03:00
Andrew Murray
6ee41897e2
Added dedicated unpacker for inverted alpha
2024-06-25 17:29:06 -05:00
Andrew Murray
50d18bf547
Truncated image to reduce file size
2024-06-26 07:40:08 +10:00
Andrew Murray
d2d03a1da2
Update CHANGES.rst [ci skip]
2024-06-26 06:35:15 +10:00
Hugo van Kemenade
a4188bb75e
Merge pull request #8104 from radarhere/apng
2024-06-25 21:58:32 +03:00
Hugo van Kemenade
02e8bf95ae
Merge pull request #8168 from radarhere/jpeg2k_error
2024-06-25 21:55:19 +03:00
Andrew Murray
88b21e7254
Added test
2024-06-25 10:50:21 -05:00
Yay295
58d5a73fac
raise SyntaxError when parsing codestream rather than returning an empty string
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-25 10:50:20 -05:00
Yay295
4cadf5c99f
use bytes/bytearray int constructor instead of string multiplication
2024-06-25 10:48:35 -05:00
Andrew Murray
3840255486
Invert alpha bit for map depth 16
2024-06-25 10:48:34 -05:00
Yay295
e5c6d883d4
set palette mode for BGRA;15
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-25 10:48:34 -05:00
Yay295
872ff125fc
"BGR;15" -> "BGRA;15"
2024-06-25 10:48:34 -05:00
Yay295
6f28a0c009
Fix TGA rawmode BGR;15
2024-06-25 10:48:34 -05:00
Hugo van Kemenade
a596a4063d
Merge pull request #8112 from radarhere/i16_mask
2024-06-25 06:50:47 -06:00
Andrew Murray
272d235ab4
Merge branch 'main' into apng
2024-06-25 22:42:47 +10:00
Hugo van Kemenade
48a921b31f
Merge pull request #8087 from radarhere/png_save_all
2024-06-25 06:21:44 -06:00
Hugo van Kemenade
563f45c355
Merge pull request #8141 from radarhere/freetypefont_bytes
2024-06-25 06:11:20 -06:00
Hugo van Kemenade
5b1a9e1956
Merge pull request #8114 from radarhere/fixme
2024-06-25 06:09:39 -06:00
Hugo van Kemenade
d9f97b0bbf
Merge pull request #8039 from radarhere/psd_layers
2024-06-25 06:07:09 -06:00
Andrew Murray
99666dac29
Simplified casts
2024-06-25 22:00:51 +10:00
Hugo van Kemenade
4d9fdac92f
Merge pull request #8065 from radarhere/threadstate
2024-06-25 05:56:51 -06:00
Andrew Murray
5ce3f55111
Merge branch 'main' into exififd
2024-06-25 21:53:17 +10:00
Andrew Murray
e7c1da3cc8
Update CHANGES.rst [ci skip]
2024-06-25 21:43:18 +10:00
Andrew Murray
44b82e4513
Use more specific error
2024-06-25 21:40:30 +10:00
Hugo van Kemenade
bbf879641d
Merge pull request #7997 from radarhere/rgbx
2024-06-25 05:28:50 -06:00
Hugo van Kemenade
29fa677276
Merge pull request #7963 from radarhere/example
2024-06-25 05:28:29 -06:00
Hugo van Kemenade
e62f47950e
Merge pull request #7948 from radarhere/iptc
2024-06-25 05:26:53 -06:00
Hugo van Kemenade
31681407da
Merge pull request #8167 from radarhere/type_hint
2024-06-25 05:25:57 -06:00
Hugo van Kemenade
1661343bc0
Merge pull request #8144 from Yay295/eps_plugin_return_break
2024-06-25 05:17:01 -06:00
Andrew Murray
d2b5e11d2b
Merge pull request #8032 from nulano/type_hints
...
Added type hints for PixelAccess related methods and others
2024-06-25 19:15:31 +10:00
Andrew Murray
ab18395818
Added comment
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-06-25 10:50:40 +02:00
Andrew Murray
d0d53d4bac
Added type hints to tests
2024-06-25 10:50:40 +02:00
Andrew Murray
ded404507b
Removed ignores
2024-06-25 10:50:40 +02:00
Andrew Murray
a941f096aa
Update CHANGES.rst [ci skip]
2024-06-25 18:49:40 +10:00
Yay295
065aeaea47
improve check_required_header_comments() description
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-24 08:54:33 -05:00
Andrew Murray
f2302ab716
Added type hints
2024-06-24 21:04:33 +10:00
Hugo van Kemenade
ad4c23bddd
Merge pull request #8165 from radarhere/imagedraw2_error
2024-06-24 03:59:24 -06:00
Hugo van Kemenade
fb722a3ddd
Merge pull request #8163 from radarhere/type_hint_tests
2024-06-24 00:50:33 -06:00
Andrew Murray
e5c4d56a9e
Clarify error message when size is missing
2024-06-24 15:08:36 +10:00
Andrew Murray
2f85bf178b
Merge branch 'main' into load_default_imagefont
2024-06-24 08:04:53 +10:00
Andrew Murray
42381aa1e6
Added type hints
2024-06-24 06:59:00 +10:00
Hugo van Kemenade
920698eea7
Merge pull request #8153 from radarhere/type_hint
2024-06-23 07:29:11 -06:00
Hugo van Kemenade
6879956d17
Merge pull request #8156 from radarhere/type_hint_imagefilter
2024-06-23 07:27:45 -06:00
Andrew Murray
00c9448cb0
Update CHANGES.rst [ci skip]
2024-06-23 21:37:41 +10:00
Hugo van Kemenade
9c7ba240e9
Merge pull request #7966 from radarhere/palette
...
Support unpacking more rawmodes to RGBA palettes
2024-06-23 01:43:41 -06:00
Hugo van Kemenade
0201707737
Merge pull request #8159 from radarhere/qt6
...
Removed support for Qt 5
2024-06-22 22:14:27 -06:00
Yay295
a2c0a90c44
check required EPS header comments at end of file, not always
2024-06-22 09:33:20 -05:00
Andrew Murray
1c8d270746
Merge pull request #8135 from mamg22/improved-xdg-dirs-support
...
Improve `ImageFont.freetype` support for XDG directories on Linux
2024-06-22 14:27:55 +10:00
Andrew Murray
cc83cc8ec8
Updated type hints
2024-06-22 10:09:11 +10:00
Andrew Murray
c155677c4f
Removed support for Qt 5
2024-06-22 00:39:37 +10:00
Andrew Murray
324e548e52
Added type hints to ImageFilter
2024-06-21 20:41:22 +10:00
Nulano
b64847e07f
Do not use a protocol for PixelAccess object
2024-06-19 21:48:48 +02:00
Hugo van Kemenade
4b258be3bb
Merge pull request #8151 from radarhere/type_hint_imagedraw
2024-06-19 07:54:55 -06:00
Hugo van Kemenade
96b1caba91
Merge pull request #8069 from radarhere/xmp
2024-06-19 07:53:07 -06:00
Andrew Murray
7ab3aee7bc
Merge branch 'main' into xmp
2024-06-19 09:06:10 +10:00
Andrew Murray
9f79e5d768
Added type hints to ImageDraw shape methods
2024-06-19 08:43:23 +10:00
Andrew Murray
b1d5d7f6f9
Merge pull request #8150 from radarhere/type_hint_image
...
Added type hints to Image
2024-06-19 08:37:25 +10:00
Andrew Murray
66ad49774d
Merge branch 'main' into type_hint_image
2024-06-19 08:06:38 +10:00
Hugo van Kemenade
5d3338f13e
Merge pull request #8134 from radarhere/type_hint
2024-06-18 11:39:18 -06:00
Hugo van Kemenade
cde052480e
Merge pull request #8118 from radarhere/type_hint_tests
2024-06-18 07:50:29 -06:00
Andrew Murray
291ee35204
Added type hints
2024-06-18 23:03:03 +10:00
Andrew Murray
8d8852d744
Merge branch 'main' into type_hint_tests
2024-06-18 23:01:12 +10:00
Andrew Murray
6b5b2f6e58
Added type hints to Image
2024-06-18 22:44:17 +10:00
Hugo van Kemenade
99dd55324d
Merge pull request #8142 from radarhere/setup
2024-06-17 06:39:54 -06:00
Andrew Murray
6a6ad65b47
Merge pull request #8143 from python-pillow/renovate/cibuildwheel-2.x
2024-06-16 13:02:07 +10:00
mamg22
b2c4539cd9
Remove releate note for truetype() changes
...
The proposed changes don't match match with previous release notes'
meaning of "API Changes".
2024-06-15 19:51:59 -04:00
mamg22
8d14a452df
Update test environment variable for ImageFont
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-15 19:50:10 -04:00
mamg22
d50c9cc700
Merge pull request #1 from radarhere/improved-xdg-dirs-support
...
Rearranged code
2024-06-15 19:48:26 -04:00
renovate[bot]
e4887610e9
Update dependency cibuildwheel to v2.19.1
2024-06-15 22:40:46 +00:00
Andrew Murray
f62796dadc
Rearranged code
2024-06-15 19:37:16 +10:00
Andrew Murray
8e6426fc7f
Merge branch 'main' into improved-xdg-dirs-support
2024-06-15 19:36:11 +10:00
Andrew Murray
ed5e8f91c5
Use pkg-config to help find libwebp and raqm
2024-06-15 19:11:11 +10:00
Andrew Murray
81c1bf1f02
Merge branch 'main' into freetypefont_bytes
2024-06-15 17:28:35 +10:00
Andrew Murray
32264a1ccd
Merge branch 'main' into type_hints
2024-06-15 16:57:24 +10:00
Hugo van Kemenade
d87c1c1487
Merge pull request #8140 from radarhere/macos
...
Ignore brew dependencies for libraqm on macOS 13
2024-06-15 00:52:01 -06:00
Andrew Murray
b3e3784b8e
Added byte support to FreeTypeFont
2024-06-15 16:06:45 +10:00
Andrew Murray
dfd53564ff
Ignore brew dependencies for libraqm on macOS 13
2024-06-15 11:51:02 +10:00
Hugo van Kemenade
cdd2bbe95e
Merge pull request #8138 from radarhere/ghostscript
2024-06-14 06:06:15 -06:00
Andrew Murray
05a70e7861
Corrected Ghostscript path
2024-06-14 20:59:12 +10:00
Andrew Murray
20ce7ad9f8
Updated type hint
2024-06-13 17:14:21 +02:00
mamg22
d56ffebf2a
Fix typo in release notes
...
[ci skip]
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-13 09:43:40 -04:00
Hugo van Kemenade
b070d7c27c
Merge pull request #8136 from radarhere/readthedocs
2024-06-13 02:07:55 -06:00
mamg22
48606afeb6
Add missing wording for envvar in release notes
...
[ci skip]
2024-06-13 00:12:07 -04:00
mamg22
6cf08afb15
Fix broken reference in release notes
...
[ci skip]
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-06-13 00:03:03 -04:00
Andrew Murray
142cb11dcc
Use GitHub URL for xz
2024-06-13 10:58:51 +10:00
pre-commit-ci[bot]
0a2baab6c1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-06-12 20:19:20 +00:00
Nulano
238110303c
getpixel and putpixel also support a list argument
2024-06-12 22:17:10 +02:00
Nulano
2a2033eea1
mypy fixes after merge
2024-06-12 21:49:47 +02:00
Nulano
31a8da48ee
Merge remote-tracking branch 'upstream/main' into type_hints
...
# Conflicts:
# src/PIL/Image.py
2024-06-12 21:06:31 +02:00
Andrew Murray
eb56f3ed56
Removed ignores
2024-06-12 20:56:38 +02:00
Andrew Murray
7e14364cee
putalpha does not allow other color values
2024-06-12 20:56:38 +02:00
mamg22
ed828d23df
Update changes in release notes [ci skip]
2024-06-12 13:08:48 -04:00
mamg22
00161099c7
Update docs for ImageFont.truetype [ci skip]
2024-06-12 12:48:12 -04:00
Andrew Murray
c9a9e81749
Use latest Ubuntu
2024-06-13 00:03:16 +10:00
Andrew Murray
eea3ac765c
Deprecate non-image and unsupported modes
2024-06-12 22:44:03 +10:00
Andrew Murray
be73b13ad3
Added type hints
2024-06-12 21:15:55 +10:00
mamg22
1175e53d53
Set XDG_DATA_HOME on font tests
2024-06-11 22:08:53 -04:00
mamg22
2e15dc9f53
Improve xdg directory support in Linux
2024-06-11 22:00:08 -04:00
Hugo van Kemenade
114e01701a
Merge pull request #8132 from radarhere/type_hint
2024-06-11 11:11:09 -06:00
Andrew Murray
1eb960f7e3
Added type hints
2024-06-11 23:26:00 +10:00
Andrew Murray
780d85b667
Update CHANGES.rst [ci skip]
2024-06-11 23:18:11 +10:00
Hugo van Kemenade
47750bf9c3
Merge pull request #8129 from radarhere/libtiff_version
2024-06-11 06:26:56 -06:00
Hugo van Kemenade
7928bebd65
Merge pull request #8124 from radarhere/imagedraw_getdraw
2024-06-11 06:26:27 -06:00
Hugo van Kemenade
ecf3a986ef
Merge pull request #8128 from radarhere/type_hint_gif
2024-06-11 06:18:46 -06:00
Andrew Murray
ba89023ace
Merge pull request #8131 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.19.0
2024-06-11 13:56:50 +10:00
renovate[bot]
474ef6ff8d
Update dependency cibuildwheel to v2.19.0
2024-06-11 00:01:02 +00:00
Andrew Murray
84b2847232
Accept 't' suffix for libtiff version
2024-06-11 07:15:47 +10:00
Andrew Murray
9afe9d2769
Added type hints
2024-06-11 06:52:14 +10:00
Andrew Murray
9a8759d91b
Merge pull request #8125 from radarhere/type_hint
...
Added type hints
2024-06-11 06:50:40 +10:00
Hugo van Kemenade
444faa28ee
Merge pull request #8126 from radarhere/libtiff_version
2024-06-10 07:10:42 -06:00
Andrew Murray
b84c970fbf
Wait until all markers are read to process EXIF
2024-06-10 19:19:06 +10:00
Andrew Murray
8e8ee1e4c4
Accept 't' suffix for libtiff version
2024-06-10 17:38:17 +10:00
Andrew Murray
4679e4bf9e
Updated deprecation warning
2024-06-10 16:47:52 +10:00
Andrew Murray
9f831317fe
Updated text
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-10 16:47:18 +10:00
Andrew Murray
2d1fe7572f
Added type hints
2024-06-10 14:15:28 +10:00
Andrew Murray
e225f9f589
Deprecate ImageDraw.getdraw hints argument
2024-06-10 11:50:13 +10:00
Hugo van Kemenade
53e82e49c5
Merge pull request #8117 from radarhere/type_hint
2024-06-09 07:38:54 -06:00
Andrew Murray
56c79b6f52
Simplified code
2024-06-09 22:13:01 +10:00
Andrew Murray
de0779eee8
Removed return value assertion
2024-06-09 18:09:54 +10:00
Andrew Murray
1a14957c19
Added type hints
2024-06-09 15:16:17 +10:00
Andrew Murray
56fa3c658a
Added type hints
2024-06-09 07:12:22 +10:00
Hugo van Kemenade
0a45381c2b
Merge pull request #8108 from radarhere/type_hint
2024-06-08 07:36:53 -06:00
Hugo van Kemenade
cd125c36ed
Merge pull request #8115 from radarhere/type_hints_imagecolor
2024-06-08 07:36:13 -06:00
Andrew Murray
14a32650dd
Added type hints
2024-06-08 22:26:28 +10:00
Hugo van Kemenade
5e0fe8f1b8
Merge pull request #8113 from radarhere/transform
...
Renamed C transform2 to transform
2024-06-08 04:38:33 -06:00
Andrew Murray
0d73721c65
Allow float center for rotate operations
2024-06-08 19:11:51 +10:00
Andrew Murray
985e605381
Renamed transform2 to transform
2024-06-08 19:06:46 +10:00
Andrew Murray
5bacce9dc2
Merge pull request #8046 from srittau/type-annotations
...
Add various type annotations
2024-06-08 18:38:21 +10:00
Hugo van Kemenade
c9ac893032
Merge pull request #7990 from radarhere/nasm
...
Updated nasm to 2.16.03
2024-06-08 02:07:46 -06:00
Andrew Murray
45cdc53bbb
Updated type hints
2024-06-08 18:03:06 +10:00
Andrew Murray
d2603b779a
im color could be a tuple with a single float
2024-06-08 17:16:50 +10:00
Andrew Murray
08b5a2e9a7
Corrected using a 1 mode mask with I;16* images
2024-06-08 14:35:10 +10:00
Andrew Murray
b8eb519562
Merge branch 'main' into nasm
2024-06-08 11:05:27 +10:00
Andrew Murray
0fbc3db081
Merge pull request #8048 from radarhere/libjpeg-turbo
...
Updated libjpeg-turbo to 3.0.3
2024-06-07 23:53:36 +10:00
mergify[bot]
5d8e37270e
Merge pull request #8014 from radarhere/fribidi
...
Updated fribidi to 1.0.15
2024-06-07 13:51:36 +00:00
Hugo van Kemenade
d612201835
Merge branch 'main' into fribidi
2024-06-07 03:47:12 -06:00
Hugo van Kemenade
13a33dc3c3
Merge branch 'main' into libjpeg-turbo
2024-06-07 03:46:49 -06:00
Hugo van Kemenade
d25aaede2c
Merge pull request #7973 from radarhere/libwebp
2024-06-07 03:46:15 -06:00
Hugo van Kemenade
ccd2d5c892
Merge pull request #7982 from radarhere/xcb
2024-06-07 03:46:08 -06:00
Hugo van Kemenade
ddfdae1d4f
Merge pull request #8025 from radarhere/libimagequant
2024-06-07 03:46:00 -06:00
Hugo van Kemenade
33d7c9ddc7
Merge pull request #8059 from radarhere/harfbuzz
2024-06-07 03:45:48 -06:00
Hugo van Kemenade
0251ec45da
Merge pull request #8078 from radarhere/ghostscript
2024-06-07 03:45:41 -06:00
Andrew Murray
44805bcd1d
Updated fribidi to 1.0.15
2024-06-07 16:49:03 +10:00
Andrew Murray
ac7967cfc0
Do not preserve EXIFIFD tag by default
2024-06-07 13:25:56 +10:00
Andrew Murray
2d0610888e
Merge pull request #8109 from hugovk/makefile-sphinx-long-options
...
Use Sphinx long options in `Makefile`
2024-06-06 19:14:08 +10:00
Hugo van Kemenade
148f0d345f
Use Sphinx long options in Makefile
2024-06-06 09:38:38 +03:00
Andrew Murray
f3ec2770e6
Merge remote-tracking branch 'radarhere/type-annotations' into type-annotations
2024-06-06 12:11:53 +10:00
Andrew Murray
923d4e5e1a
Added type hints
2024-06-05 22:27:23 +10:00
Hugo van Kemenade
6dbedc51ae
Merge pull request #8107 from radarhere/type_hint
2024-06-05 06:13:17 -06:00
Andrew Murray
eba2694498
Merge branch 'main' into xmp
2024-06-05 15:53:46 +10:00
Andrew Murray
b3c534cc9a
Added type hints
2024-06-05 08:29:28 +10:00
Hugo van Kemenade
ca1caadd06
Merge pull request #8105 from radarhere/type_hint
2024-06-04 05:33:14 -06:00
Andrew Murray
6e40601f69
Added type hints
2024-06-04 20:37:09 +10:00
Hugo van Kemenade
b8532e508b
Merge pull request #8066 from radarhere/type_hint
2024-06-04 03:43:10 -06:00
Andrew Murray
e9c9f19c26
Do not use first frame duration for other frames when saving
2024-06-04 18:46:35 +10:00
Andrew Murray
1794a946b7
Merge pull request #8100 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-06-04 18:41:21 +10:00
pre-commit-ci[bot]
322814d7ce
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7 )
- [github.com/pre-commit/mirrors-clang-format: v18.1.4 → v18.1.5](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.4...v18.1.5 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.28.4 )
- [github.com/abravalheri/validate-pyproject: v0.16 → v0.18](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.18 )
2024-06-04 10:50:57 +03:00
Andrew Murray
c1f10c107a
Merge branch 'main' into type_hints
2024-06-04 08:29:05 +10:00
Andrew Murray
12559fffc5
Merge branch 'main' into type_hint
2024-06-04 08:18:14 +10:00
Andrew Murray
219add0239
Merge pull request #8099 from radarhere/types
...
Added type hints
2024-06-04 07:26:45 +10:00
Andrew Murray
f5da04adb0
Added type hints
...
Co-authored-by: Nulano <nulano@nulano.eu>
2024-06-03 21:58:02 +10:00
Hugo van Kemenade
95a69ec698
Merge pull request #8098 from radarhere/lcms_version
2024-06-03 00:40:32 -06:00
Andrew Murray
d566c04d5b
Updated type hints
2024-06-03 14:20:01 +10:00
Andrew Murray
8dae9b618f
Corrected type hint
2024-06-03 08:50:46 +10:00
Hugo van Kemenade
eeb1eeab20
Merge pull request #8096 from radarhere/createprofile
2024-06-02 08:14:59 -06:00
Andrew Murray
4aba0b8238
Changed default colorTemp
2024-06-02 16:27:05 +10:00
Andrew Murray
54150f2061
Corrected docstring
2024-06-02 16:26:35 +10:00
Hugo van Kemenade
4f4b0bc748
Merge pull request #8095 from radarhere/type_hints_tests
2024-06-01 14:45:08 -06:00
Andrew Murray
66ab7e0de2
Added type hints
2024-06-01 21:31:53 +10:00
Hugo van Kemenade
33c31cb942
Merge pull request #8093 from radarhere/type_hints_tests
2024-06-01 03:52:31 -06:00
Andrew Murray
6affb123c3
Merge branch 'main' into type_hints
2024-05-31 08:06:42 +10:00
Andrew Murray
afc7d8d0b0
Added type hints
2024-05-30 17:17:22 +10:00
Hugo van Kemenade
c7574392b0
Merge pull request #8091 from radarhere/type_hints_tests
2024-05-30 09:08:11 +03:00
Andrew Murray
e68cec640a
Added type hints
2024-05-30 12:00:50 +10:00
Andrew Murray
7f977f6522
Updated xz to 5.6.2
2024-05-30 09:10:28 +10:00
Hugo van Kemenade
a49a42aeea
Merge pull request #8090 from radarhere/type_hints_tests
2024-05-29 17:55:18 +03:00
Andrew Murray
a6d1daeb4b
Added type hints
2024-05-29 22:51:02 +10:00
Andrew Murray
759ab28757
Update CHANGES.rst [ci skip]
2024-05-28 22:16:04 +10:00
Hugo van Kemenade
fdf103c5ad
Merge pull request #8085 from void4/imagedraw_circle
2024-05-28 12:35:31 +03:00
void4
3a34f44bcf
Merge pull request #1 from radarhere/imagedraw_circle
...
Added test
2024-05-27 18:28:15 +02:00
Andrew Murray
cac1a04329
Added test
2024-05-27 21:59:32 +10:00
Andrew Murray
12cefd798e
Added method links to release notes
2024-05-27 21:48:38 +10:00
void4
8db5fbead1
Update src/PIL/ImageDraw.py - set circle argument xy to type Sequence[float] instead of Coords, radius to float
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-27 13:27:56 +02:00
void4
9b7556228e
Update docs/reference/ImageDraw.rst - move versionadded
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 13:21:41 +02:00
pre-commit-ci[bot]
034f3cbed5
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-27 11:19:12 +00:00
void4
773ff20b76
Update docs/reference/ImageDraw.rst - move circle method up to indicate it is new
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 13:18:47 +02:00
void4
35a700a1d4
Update 10.4.0.rst - Add PIL.ImageDraw.circle() API addition
2024-05-27 13:14:04 +02:00
void4
38e6913579
Simplify circle() by reusing ellipse()
2024-05-27 13:01:10 +02:00
void4
8d9a4dda98
Update docs/reference/ImageDraw.rst - Set versionadded
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 12:57:50 +02:00
Andrew Murray
f34360d1e3
When saving multiple frames, convert to mode rather than raw mode
2024-05-27 18:09:46 +10:00
Andrew Murray
930c423db1
Added ImageFont.load_default_imagefont()
2024-05-27 17:08:13 +10:00
Hugo van Kemenade
bbe1effd63
Merge pull request #8082 from Yay295/patch-4
2024-05-27 08:39:34 +03:00
pre-commit-ci[bot]
2ee3cef50e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-26 22:25:16 +00:00
void4
2c4a6e1179
Add function and documentation to draw circle
2024-05-27 00:23:16 +02:00
Andrew Murray
82d9926905
Split depth/type into bit depth and color type
2024-05-26 10:04:44 -05:00
Yay295
1b878189d8
don't reuse variable name
2024-05-26 02:25:45 -05:00
Hugo van Kemenade
8b14ed741a
Merge pull request #8079 from radarhere/imagefont
2024-05-25 16:16:07 +03:00
Andrew Murray
1a6b0bb6b5
Removed documentation of unused argument
2024-05-25 19:30:20 +10:00
Andrew Murray
2c9b5f0360
Updated Ghostscript to 10.3.1
2024-05-25 06:20:03 +10:00
Hugo van Kemenade
3c2d36e113
Merge pull request #8037 from radarhere/cached_property
2024-05-24 14:19:54 +03:00
Andrew Murray
16cd358454
Update CHANGES.rst [ci skip]
2024-05-24 20:32:52 +10:00
Andrew Murray
5baabb59bc
Merge pull request #8077 from Yay295/patch-4
...
Add mypy task to makefile
2024-05-24 20:27:47 +10:00
Yay295
92d1879a77
add mypy task to makefile
2024-05-23 13:27:53 -05:00
Hugo van Kemenade
4b68563e8a
Merge pull request #8071 from radarhere/wheels
2024-05-23 17:08:58 +03:00
Andrew Murray
804fe7bbf8
Do not read layers when opening
2024-05-23 17:50:50 +10:00
Andrew Murray
2dedeef832
Support unpacking more rawmodes to RGBA palette
2024-05-22 20:05:07 +10:00
Andrew Murray
33e304ed66
Use @cached_property
2024-05-22 19:43:00 +10:00
Andrew Murray
d461ff8cef
Added release notes
2024-05-22 11:50:10 +10:00
Andrew Murray
fe00d12e0a
Merge branch 'main' into threadstate
2024-05-22 08:02:20 +10:00
Andrew Murray
05402f0e30
Merge branch 'main' into hdr
2024-05-22 07:42:23 +10:00
Andrew Murray
696d596aa5
Merge branch 'main' into xmp
2024-05-22 07:21:59 +10:00
Andrew Murray
4639a71fdd
Merge branch 'main' into type_hint
2024-05-22 07:21:09 +10:00
Andrew Murray
3308a056bf
Merge branch 'main' into possible_formats
2024-05-21 23:22:36 +10:00
Andrew Murray
676a0dd188
Merge branch 'main' into harfbuzz
2024-05-21 23:19:25 +10:00
Andrew Murray
c0ee645d0d
Merge branch 'main' into type-annotations
2024-05-21 22:44:03 +10:00
Andrew Murray
502d615c20
Merge branch 'main' into wheels
2024-05-21 22:12:27 +10:00
Hugo van Kemenade
d879f39711
Merge pull request #8050 from radarhere/exec
2024-05-21 07:33:30 -04:00
Andrew Murray
3cc26e9ea6
Added Python 3.13 wheels
2024-05-21 12:55:48 +10:00
Andrew Murray
df96e7ca5a
Merge pull request #8070 from python-pillow/renovate/cibuildwheel-2.x
...
chore(deps): update dependency cibuildwheel to v2.18.1
2024-05-21 10:44:03 +10:00
renovate[bot]
ea9dc1e4a5
chore(deps): update dependency cibuildwheel to v2.18.1
2024-05-20 21:30:03 +00:00
Andrew Murray
0f1a0fc501
Improved consistency of XMP handling
2024-05-20 23:11:50 +10:00
Andrew Murray
fb21c50fb6
Restore original thread state
2024-05-20 07:42:28 +10:00
Hugo van Kemenade
ca55eb50d9
Merge pull request #8068 from radarhere/lint
2024-05-19 10:23:11 -04:00
Andrew Murray
82910a5e4f
Lint fixes
2024-05-19 22:00:45 +10:00
Andrew Murray
22b64ffcf2
Merge pull request #8015 from hugovk/pre-commit-clang
...
Add ClangFormat to pre-commit
2024-05-19 16:27:30 +10:00
Andrew Murray
f3b1f19fe1
Merge branch 'main' into possible_formats
2024-05-19 14:47:00 +10:00
Andrew Murray
de06d517e1
Merge branch 'main' into type_hint
2024-05-19 14:46:16 +10:00
Hugo van Kemenade
c6fb36ff36
Merge pull request #8064 from radarhere/mingw
...
Fix type errors
2024-05-18 07:18:39 -04:00
Sebastian Rittau
b2316f46cb
Use just str
for _string_length_check
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-18 11:22:57 +02:00
Andrew Murray
8a3a72e51d
Added type hints
2024-05-18 16:06:50 +10:00
Hugo van Kemenade
8c7be25ad0
Merge pull request #8061 from radarhere/type_hint
2024-05-17 00:35:21 -04:00
Andrew Murray
7554e2cfbf
Use monkeypatch
2024-05-17 08:44:04 +10:00
Andrew Murray
2a703a2d4c
Removed continue
2024-05-17 08:04:20 +10:00
Andrew Murray
3062ec4dd2
Fix type errors
2024-05-16 22:55:03 +10:00
Andrew Murray
1036aa74a7
Added Image.WARN_POSSIBLE_FORMATS
2024-05-16 17:47:35 +10:00
Andrew Murray
73a3e4938c
Merge branch 'main' into type-annotations
2024-05-15 21:48:41 +10:00
Andrew Murray
e419fd7ab4
Added type hints
2024-05-15 20:19:09 +10:00
Hugo van Kemenade
0da83a1164
Merge pull request #8053 from radarhere/helper_modes
2024-05-14 12:01:21 -04:00
Hugo van Kemenade
60c94e67f3
Merge pull request #8055 from radarhere/type_hint
2024-05-14 11:59:44 -04:00
Andrew Murray
e9b15f8091
Updated harfbuzz to 8.5.0
2024-05-14 10:09:44 +10:00
Andrew Murray
b15ce5a4bc
Do not detect Ultra HDR images as MPO
2024-05-13 21:51:16 +10:00
Andrew Murray
a8d154877d
Added type hints
2024-05-13 18:47:51 +10:00
Andrew Murray
82c87c4adf
Merge branch 'main' into pre-commit-clang
2024-05-13 12:39:47 +10:00
Andrew Murray
e39ee95f56
Merge pull request #8054 from python-pillow/renovate/cibuildwheel-2.x
...
chore(deps): update dependency cibuildwheel to v2.18.0
2024-05-13 06:50:27 +10:00
renovate[bot]
00e5e43da4
chore(deps): update dependency cibuildwheel to v2.18.0
2024-05-12 11:43:08 +00:00
Andrew Murray
db4714c280
Removed helper.py modes
2024-05-12 21:20:46 +10:00
Hugo van Kemenade
0c8be38878
Merge pull request #7999 from radarhere/accept
...
Added MPEG accept function
2024-05-11 23:02:51 +03:00
Hugo van Kemenade
5e48d54769
Merge pull request #7984 from radarhere/modes
...
Added more modes to Image.MODES
2024-05-11 23:01:42 +03:00
Hugo van Kemenade
1cdbb5f34f
Merge pull request #8051 from radarhere/type_hint
2024-05-11 17:56:41 +03:00
Sebastian Rittau
8b3fd8a585
Moved SupportsArrayInterface under Protocols heading
2024-05-11 10:47:32 +02:00
Sebastian Rittau
6d6dfd176c
Revert unnecessary formatting change
2024-05-11 10:46:20 +02:00
Sebastian Rittau
6310280428
Move an import behind the TYPE_CHECKING flag
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-11 10:44:52 +02:00
Andrew Murray
13cf2bc70f
Moved SupportsArrayInterface under Protocols heading
2024-05-11 11:16:52 +10:00
Andrew Murray
18b87c8515
Added type hints
2024-05-11 10:48:09 +10:00
Andrew Murray
c9a56e6b0b
Merge pull request #8044 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-05-11 10:10:34 +10:00
Andrew Murray
3344f57206
Merge branch 'main' into pre-commit-ci-update-config
2024-05-11 09:12:54 +10:00
Hugo van Kemenade
bfbe339ae3
Merge pull request #8045 from radarhere/strings
2024-05-10 18:44:37 +03:00
Andrew Murray
57399ce204
Parse _version contents instead of using exec()
2024-05-10 22:43:56 +10:00
Sebastian Rittau
9b44abb6b7
Add SupportsGetData to documentation
2024-05-10 11:48:36 +02:00
Sebastian Rittau
431fe0dcc8
Rename protocol to SupportsGetData
2024-05-10 11:46:35 +02:00
Hugo van Kemenade
0cad346fc9
Merge pull request #8042 from radarhere/type_hint
2024-05-09 17:38:46 +03:00
Andrew Murray
b2ce2f6ec4
Merge branch 'main' into type_hints
2024-05-09 08:58:03 +10:00
Andrew Murray
47580f257b
Updated libjpeg-turbo to 3.0.3
2024-05-09 08:51:12 +10:00
Andrew Murray
ce8dedadfd
Merge branch 'main' into modes
2024-05-08 22:11:50 +10:00
Sebastian Rittau
bb8718e581
Hopefully the last Python 3.8 instance :/
2024-05-08 12:54:44 +02:00
Sebastian Rittau
296050f382
More Python 3.8 compatibility
2024-05-08 12:26:45 +02:00
Sebastian Rittau
7ae8d37138
Make GetDataTransform
public
2024-05-08 12:14:59 +02:00
Sebastian Rittau
ef35d79264
Python 3.8 compatibility
2024-05-08 12:14:37 +02:00
Andrew Murray
c6a3f0fdd8
Merge branch 'main' into accept
2024-05-08 18:45:10 +10:00
Andrew Murray
58ee112a9a
Merge branch 'main' into type_hint
2024-05-08 18:04:02 +10:00
Andrew Murray
a3356879fd
Use f-string
2024-05-08 17:57:36 +10:00
Hugo van Kemenade
8246673fe3
Merge pull request #8041 from radarhere/codecov
2024-05-08 09:57:32 +03:00
Andrew Murray
ed0867abec
Set stream length for later use
2024-05-08 06:30:43 +10:00
Sebastian Rittau
d63caf266d
Various fixes
2024-05-07 15:59:20 +02:00
Sebastian Rittau
d44e9fccb1
Various fixes
2024-05-07 14:53:26 +02:00
pre-commit-ci[bot]
1aa3886ed7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-07 12:34:02 +00:00
Sebastian Rittau
c92f59d758
Add various type annotations
2024-05-07 14:30:34 +02:00
Andrew Murray
7d81cbd0ed
Do not use percent format
2024-05-07 14:01:27 +10:00
Andrew Murray
b17f1e507b
Use f-strings
2024-05-07 14:01:08 +10:00
pre-commit-ci[bot]
b8e3e0a430
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.4.3 )
- [github.com/psf/black-pre-commit-mirror: 24.3.0 → 24.4.2](https://github.com/psf/black-pre-commit-mirror/compare/24.3.0...24.4.2 )
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.1...0.28.2 )
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](https://github.com/tox-dev/pyproject-fmt/compare/1.7.0...1.8.0 )
2024-05-06 17:25:18 +00:00
Andrew Murray
93ca52fbe0
Merge pull request #8043 from mrKazzila/tmp/pr/move_to_f_str
2024-05-05 23:33:27 +10:00
pre-commit-ci[bot]
71b8d99b36
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-04 19:27:45 +00:00
mrKazzila
984c2e7f30
chore: update __repr__ for PdfName
2024-05-04 19:26:22 +03:00
mrKazzila
74063feadc
chore: add f-string formatting
2024-05-04 19:21:49 +03:00
Andrew Murray
6036d81d97
Added type hints
2024-05-04 20:51:54 +10:00
Andrew Murray
ac1eb57c03
Install git
2024-05-03 09:43:50 +10:00
Andrew Murray
e8cddfbc6a
Updated codecov/codecov-action to v4
2024-05-03 08:45:39 +10:00
Nulano
007caae02a
Merge remote-tracking branch 'origin/type_hints' into type_hints
2024-04-30 16:33:02 +02:00
Nulano
c2cb944514
Ignore incorrect mypy warning
2024-04-30 16:32:44 +02:00
Nulano
74b87ae748
Move import to top of file
2024-04-30 16:32:29 +02:00
Andrew Murray
7d62c306cc
Merge branch 'main' into pre-commit-clang
2024-04-30 21:34:41 +10:00
Andrew Murray
a304fd5f41
Merge branch 'main' into type_hints
2024-04-30 19:41:34 +10:00
Hugo van Kemenade
58a47978af
Merge pull request #8030 from radarhere/type_hints
2024-04-30 12:37:37 +03:00
Andrew Murray
b60b6063dd
Merge branch 'main' into type_hints
2024-04-30 18:16:55 +10:00
Andrew Murray
8a56feea02
Merge branch 'main' into type_hints
2024-04-30 18:15:33 +10:00
Hugo van Kemenade
ddbf08fa78
Merge pull request #8023 from radarhere/ubuntu
2024-04-30 10:45:50 +03:00
Nulano
5f805c39cc
Added type hints for PixelAccess methods and others
2024-04-29 23:52:51 +02:00
Andrew Murray
2250fbeb9a
Added type hints
2024-04-29 20:25:11 +10:00
Hugo van Kemenade
9b1390792c
Merge pull request #8028 from radarhere/ci
2024-04-29 13:21:04 +03:00
Andrew Murray
65d73ea970
Python 3.8 and 3.9 are tested on macOS 13
2024-04-29 18:54:16 +10:00
Andrew Murray
36869833c7
Added Ubuntu 24.04
2024-04-29 15:05:22 +10:00
Hugo van Kemenade
e542c9f898
Merge pull request #8027 from radarhere/clean
...
Removed direct invocation of setup.py
2024-04-29 06:31:45 +03:00
Andrew Murray
d01e43e796
Removed direct invocation of setup.py
2024-04-29 09:11:33 +10:00
Hugo van Kemenade
d443d68822
Merge pull request #119 from radarhere/pre-commit-clang
2024-04-28 18:59:50 +03:00
Andrew Murray
996c053d89
Change comment style
2024-04-28 22:49:56 +10:00
Hugo van Kemenade
5597f618a3
Change comment style
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-04-28 02:49:42 -06:00
Hugo van Kemenade
aa34ca7573
Merge pull request #118 from radarhere/pre-commit-clang
2024-04-28 11:11:55 +03:00
Andrew Murray
fd8c6a6295
Do not indent goto labels
2024-04-28 13:51:32 +10:00
Andrew Murray
39da704c61
Updated libimagequant to 4.3.1
2024-04-28 07:10:15 +10:00
Hugo van Kemenade
c250a44177
Merge pull request #8022 from radarhere/big_endian
2024-04-27 11:57:16 +03:00
Andrew Murray
86fb383739
Corrected big-endian check
2024-04-27 14:08:36 +10:00
Andrew Murray
824db7152d
Merge pull request #8020 from CTimmerman/CTimmerman-patch-1
...
Corrected typo
2024-04-27 14:00:43 +10:00
Cees Timmerman
8cc48b24fe
Update ExifTags.py
...
Fixed typo. No other instances in this repo.
2024-04-26 17:17:44 +02:00
Hugo van Kemenade
a8f434f676
Merge pull request #7979 from radarhere/lab
2024-04-26 16:46:21 +03:00
Andrew Murray
c3ded3abda
Update CHANGES.rst [ci skip]
2024-04-26 09:13:00 +10:00
Andrew Murray
e932d9e3d7
Merge branch 'main' into lab
2024-04-26 09:08:43 +10:00
Andrew Murray
5832288bbf
Merge pull request #7978 from radarhere/bgr
...
Deprecate BGR;15, BGR;16 and BGR;24 modes
2024-04-26 09:05:57 +10:00
Andrew Murray
5736da80f1
Merge pull request #24 from hugovk/bgr-helper
...
Add deprecation helper for Image.new with BGR; modes
2024-04-26 08:17:00 +10:00
Andrew Murray
f7c9327264
Merge branch 'bgr' into bgr-helper
2024-04-26 08:13:38 +10:00
Andrew Murray
f56a2c9b7e
Merge branch 'main' into bgr
2024-04-26 07:11:04 +10:00
Hugo van Kemenade
1138ea5370
Merge pull request #7921 from Yay295/testing
...
Fix ImagingAccess for I;16N on big-endian
2024-04-25 21:36:38 +03:00
pre-commit-ci[bot]
1420e72566
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-25 18:08:54 +00:00
Hugo van Kemenade
c0cb417a44
Add semicolons to fix indent
2024-04-25 21:08:24 +03:00
Yay295
a4080a7249
clean up comments in test_image_access.py
2024-04-25 08:51:33 -05:00
Hugo van Kemenade
0099de0ed9
Add deprecation helper for Image.new with BGR; modes
2024-04-25 16:00:14 +03:00
pre-commit-ci[bot]
617e7295a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-25 12:51:24 +00:00
Hugo van Kemenade
1b1c825f7b
Add ClangFormat to pre-commit
2024-04-25 15:17:25 +03:00
Hugo van Kemenade
3823675af0
Merge pull request #8011 from radarhere/imagingcms
2024-04-25 14:54:33 +03:00
Hugo van Kemenade
a1ff0da7e3
Merge pull request #8012 from radarhere/fedora
2024-04-25 09:36:49 +03:00
Andrew Murray
bbd5a87e60
Combined conditions
2024-04-25 16:16:33 +10:00
Andrew Murray
4241836012
Merge pull request #8001 from hugovk/dater
...
Automatically add dates to release notes
2024-04-25 15:05:20 +10:00
Hugo van Kemenade
9392906a3e
Merge pull request #117 from radarhere/dater
...
Use split instead of datetime
2024-04-25 07:10:11 +03:00
Andrew Murray
66ee1cb0c1
Merge pull request #8013 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.10.0
2024-04-25 13:36:39 +10:00
Andrew Murray
bc35bf0c9e
Use split instead of datetime
2024-04-25 13:14:38 +10:00
Andrew Murray
5faebadd56
BGR;16 does not fail on big-endian
2024-04-24 21:05:59 -05:00
renovate[bot]
35ffbdc9cd
Update dependency mypy to v1.10.0
2024-04-25 01:38:43 +00:00
Andrew Murray
02db411190
Added release notes
2024-04-25 09:14:48 +10:00
Andrew Murray
49ce63d257
Merge branch 'main' into bgr
2024-04-25 09:13:20 +10:00
Andrew Murray
03bcf03567
Removed Fedora 38 and added Fedora 40
2024-04-25 08:41:15 +10:00
Hugo van Kemenade
1fc1179ed5
Merge pull request #8008 from radarhere/convert
...
Simplified RGB to I;16, I;16L and I;16B conversion
2024-04-25 00:00:15 +03:00
Hugo van Kemenade
48907a6741
Merge pull request #8009 from radarhere/zlib-ng
2024-04-24 18:34:45 +03:00
Andrew Murray
4af831e70c
Accept '.zlib-ng' suffix to zlib version
2024-04-24 23:45:25 +10:00
Hugo van Kemenade
c0678eda62
Merge pull request #116 from radarhere/dater
2024-04-24 16:29:09 +03:00
Andrew Murray
ccf1efb3ef
Use subprocess.DEVNULL
2024-04-24 23:06:06 +10:00
Andrew Murray
41270f300f
Merge pull request #8010 from hugovk/fix-ci-3.8-3.9
...
GitHub Actions: use `macos-13` or `macos-14` instead of `macos-latest`
2024-04-24 22:01:27 +10:00
Hugo van Kemenade
76c17a10f0
GitHub Actions: macos-13 is Intel but macos-latest will be M1
2024-04-24 11:24:23 +03:00
Hugo van Kemenade
03627d92a7
GitHub Actions: Python 3.8 and 3.9 are on macos-13 but not macos-14
2024-04-24 11:23:44 +03:00
Hugo van Kemenade
98e3f591d4
Merge pull request #8006 from Yay295/patch-4
...
Extract band count check
2024-04-24 07:25:37 +03:00
Andrew Murray
46b85e6ab4
Simplified code
2024-04-24 11:02:56 +10:00
Andrew Murray
2adeb7a6c5
Merge pull request #8005 from Yay295/patch-2
...
Remove unused variable
2024-04-24 10:18:06 +10:00
Yay295
eee53ba664
extract band count check
2024-04-23 13:06:22 -05:00
Yay295
b9307f08d1
remove unused variable
2024-04-23 12:02:25 -05:00
Hugo van Kemenade
e63ae380f1
Merge pull request #8004 from Yay295/patch-2
2024-04-23 17:11:38 +03:00
Yay295
4a4eb0f3ee
remove semicolon after function definition
2024-04-23 01:08:42 -05:00
Andrew Murray
7f6ad116d1
Update CHANGES.rst [ci skip]
2024-04-23 08:02:42 +10:00
Hugo van Kemenade
1c21cd41bd
Merge pull request #8000 from radarhere/libtiff
2024-04-22 22:56:30 +03:00
Hugo van Kemenade
02915c778e
Merge pull request #7996 from radarhere/tiff_px
2024-04-22 17:10:44 +03:00
Hugo van Kemenade
3500334338
Fetch tags on Read the Docs
2024-04-22 15:48:44 +03:00
Hugo van Kemenade
d4a4b59ee3
Sphinx extension to add dates to release notes
...
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-04-22 15:48:19 +03:00
Hugo van Kemenade
37a8364278
Merge pull request #7998 from radarhere/libtiff_v3
2024-04-22 15:45:32 +03:00
Andrew Murray
5a0a288dd0
Added release notes
2024-04-22 19:16:55 +10:00
Andrew Murray
2e1d2b2029
Updated deprecation message
2024-04-22 19:15:38 +10:00
Andrew Murray
e144e41879
Updated wording
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-22 19:14:23 +10:00
Andrew Murray
0df8796e19
Parametrized test
2024-04-22 18:45:41 +10:00
Andrew Murray
c7bb152ed9
support_custom_tags attribute is not present if libtiff is not supported
2024-04-22 18:30:00 +10:00
Andrew Murray
023d017da0
Deprecate libtiff < 4
2024-04-22 18:26:20 +10:00
Hugo van Kemenade
492c726350
Merge pull request #7989 from radarhere/typehints_imagecms
...
Removed type hint ignores
2024-04-22 07:42:21 +03:00
Andrew Murray
f690b7f691
Added MPEG accept function
2024-04-22 13:39:35 +10:00
Andrew Murray
745eb23a87
Use LAB hopper file if conversion is not supported
2024-04-22 09:23:59 +10:00
Andrew Murray
4171435db4
Added more modes
2024-04-22 09:23:41 +10:00
Andrew Murray
d5c1ff4b43
Removed type hint ignores
2024-04-22 09:23:10 +10:00
Andrew Murray
eee633cb21
Merge pull request #7975 from radarhere/libtiff
...
Corrected check for libtiff feature
2024-04-22 09:00:35 +10:00
Andrew Murray
bb2411dd01
Support reading P mode TIFF images with padding
2024-04-22 08:11:45 +10:00
Andrew Murray
98a0515494
Read images as RGB, rather than RGBX
2024-04-22 08:05:59 +10:00
Yay295
98510570e6
ignore BGR;15/16 test failure on big-endian
2024-04-20 10:13:38 -05:00
Andrew Murray
5c960d6abc
rename "image_mode_names" to "modes"
2024-04-20 09:03:19 -05:00
Andrew Murray
5573ec7490
use hopper() for test_getdata_putdata()
2024-04-20 09:02:49 -05:00
Yay295
fe79ae5653
get pixel size by counting bytes in 1x1 image
2024-04-20 09:01:46 -05:00
Yay295
5dabc6cf14
fix I;16N lib pack test
2024-04-20 09:01:38 -05:00
Yay295
da7198c987
fix ImagingAccess for I;16N on big-endian
2024-04-20 09:01:38 -05:00
Yay295
0fed6a5fbc
use common image mode list for TestImageGetPixel tests
2024-04-20 09:01:38 -05:00
Yay295
5a4b771fb0
move image mode info variables to helper.py
2024-04-20 09:01:38 -05:00
Yay295
139245a3db
use namedtuple for image mode info
2024-04-20 09:01:37 -05:00
Andrew Murray
11ac0c1703
Combine tests through parametrization
2024-04-19 17:15:10 +10:00
Andrew Murray
533f78e0a2
Parametrize test
2024-04-19 07:47:14 +10:00
Andrew Murray
28f436c94d
Use monkeypatch to set READ_LIBTIFF and WRITE_LIBTIFF
2024-04-18 17:57:40 +10:00
Andrew Murray
2c0b2dceba
Updated nasm to 2.16.03
2024-04-18 08:33:37 +10:00
Hugo van Kemenade
f8160b858a
Merge pull request #7936 from adamjstewart/types/fromarray
2024-04-17 16:43:57 +03:00
Hugo van Kemenade
b3749e40c4
Merge pull request #7987 from radarhere/imageshow
...
Corrected ImageShow UnixViewer command
2024-04-17 11:31:22 +03:00
Andrew Murray
c20804df4c
Merge pull request #7988 from hugovk/rm-sphinx-removed-in
...
Remove sphinx-removed-in, now Sphinx 7.3 adds versionremoved
2024-04-17 17:52:41 +10:00
Hugo van Kemenade
a64f4cf685
Remove sphinx-removed-in, now Sphinx 7.3.0 adds versionremoved
2024-04-17 09:23:41 +03:00
Hugo van Kemenade
afd01bda62
Merge pull request #7985 from radarhere/sphinx
2024-04-17 09:23:18 +03:00
Andrew Murray
03835ce6f5
Corrected UnixViewer command
2024-04-17 14:51:12 +10:00
Andrew Murray
cd179541b1
Removed nitpick_ignore by updating Sphinx to 7.3
2024-04-17 11:47:35 +10:00
Hugo van Kemenade
0e90c1c9ae
Merge pull request #7952 from nulano/types-imagestat
2024-04-16 20:57:14 +03:00
Ondrej Baranovič
2e73bed053
ImageStat: simplify if block
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-04-16 18:34:48 +02:00
Ondrej Baranovič
8b62538617
ImageStat: simplify call to Image.histogram(mask)
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-16 18:27:48 +02:00
Adam J. Stewart
c655dc0c6b
Use a property
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-04-16 17:53:48 +02:00
Hugo van Kemenade
a83bc3f038
Merge pull request #7981 from radarhere/links
...
Updated installation links
2024-04-16 07:57:58 +03:00
Andrew Murray
712aa994f2
Updated libxcb to 1.17.0
2024-04-16 07:14:04 +10:00
Andrew Murray
1af66df732
Updated xcb-proto to 1.17.0
2024-04-16 07:13:40 +10:00
Andrew Murray
66d32a7dff
Updated installation links
2024-04-16 07:03:56 +10:00
Andrew Murray
d431c97ba3
Deprecate BGR;15, BGR;16 and BGR;24
2024-04-15 19:28:52 +10:00
Hugo van Kemenade
e7a0ef44bb
Merge pull request #7977 from radarhere/centos8
...
Removed CentOS Stream 8
2024-04-15 07:17:50 +03:00
Andrew Murray
25b4652324
Removed CentOS Stream 8
2024-04-14 23:06:28 +10:00
Andrew Murray
5d83a7f1f0
Merge pull request #7976 from radarhere/centos
...
Removed CentOS 7
2024-04-14 23:06:08 +10:00
Andrew Murray
3e1df0afeb
Removed CentOS 7
2024-04-14 22:28:28 +10:00
Andrew Murray
71029803e7
Corrected check for libtiff feature
2024-04-14 21:57:29 +10:00
Hugo van Kemenade
db21e7de1c
Merge pull request #7974 from radarhere/release-test
...
dist directory is no longer created
2024-04-13 11:04:19 +03:00
Andrew Murray
e58cccfc23
Update CHANGES.rst [ci skip]
2024-04-13 16:28:29 +10:00
Andrew Murray
22705d3da5
Merge pull request #7956 from Cirras/obscure-bitmap-headers
...
Add support for reading `BITMAPV2INFOHEADER` and `BITMAPV3INFOHEADER`
2024-04-13 16:25:26 +10:00
Andrew Murray
77e2c38aea
dist directory is no longer created
2024-04-13 15:54:42 +10:00
Andrew Murray
3037dea7e1
Merge pull request #7957 from hugovk/make-release-test-eggless
...
Update `make release-test`: no more eggs
2024-04-13 15:52:47 +10:00
Andrew Murray
7b9a276c7f
Updated libwebp to 1.4.0
2024-04-13 13:47:52 +10:00
Hugo van Kemenade
de18f55568
Merge pull request #7967 from Yay295/patch-1
...
Fix test error message grammar
2024-04-12 00:53:22 +03:00
Yay295
c1f6abbd37
Fix test error message grammar
2024-04-11 14:07:07 -05:00
Hugo van Kemenade
4897954223
Merge pull request #7951 from Yay295/patch-2
2024-04-11 13:47:05 +03:00
Hugo van Kemenade
3fd5739a72
Merge pull request #7964 from Yay295/patch-1
2024-04-11 13:43:18 +03:00
Yay295
82b7b8a9ee
Fix some comments
2024-04-11 00:29:31 -05:00
Andrew Murray
34b3cb519c
Converted example images to WebP
2024-04-10 23:37:38 +10:00
Andrew Murray
94fe670c0b
Test DIB header size
2024-04-10 23:18:31 +10:00
Andrew Murray
e2a57263c7
Reduced duplicate code
2024-04-10 20:37:44 +10:00
Andrew Murray
4b4cdbd40c
Added image to supported list
2024-04-10 20:37:44 +10:00
Andrew Murray
c1e2700442
Merge pull request #7959 from hugovk/update-release-checklist
...
Release checklist: inline the 'Source and Binary Distributions' step
2024-04-10 14:16:31 +10:00
Hugo van Kemenade
955c5dac03
Merge pull request #7960 from radarhere/selftest
2024-04-09 10:51:57 +03:00
Andrew Murray
3a92d4af01
Replace ImageMath.eval with ImageMath.lambda_eval
2024-04-09 07:34:52 +10:00
Hugo van Kemenade
bf463c25df
Inline the 'Source and Binary Distributions' step
2024-04-08 22:48:08 +03:00
Hugo van Kemenade
40504bb490
No more eggs
2024-04-08 22:15:51 +03:00
Andrew Murray
98ae91a65d
Added BGXR and BGAR unpackers
2024-04-09 00:45:48 +10:00
Jonah Jeleniewski
9e5b9fb18f
Improve comments around bitmap info headers
2024-04-08 22:38:06 +10:00
Jonah Jeleniewski
a1a2202ebe
Add support for bitmaps with header size 56
...
Size 56 is the undocumented `BITMAPV3INFOHEADER`.
It adds the alpha bit mask.
The format is known to be supported by:
- Windows (MS paint, etc.)
- Adobe Photoshop
- Popular web browsers
2024-04-08 22:38:06 +10:00
Jonah Jeleniewski
2f3281dcda
Add support for bitmaps with header size 52
...
Size 52 is the undocumented `BITMAPV2INFOHEADER`.
It adds the RGB bit masks.
The format is known to be supported by:
- Adobe Photoshop
- Popular web browsers
2024-04-08 21:18:19 +10:00
Hugo van Kemenade
33a73b5266
Merge pull request #7955 from radarhere/imagemode
...
Removed outdated comment
2024-04-07 09:51:24 +03:00
Andrew Murray
76fb002dd4
Removed outdated comment
2024-04-07 16:14:41 +10:00
Nulano
bcb2db6a87
ImageStat: use functools.cached_property and add type hints
2024-04-07 00:46:16 +02:00
Andrew Murray
a25a1aef05
Update CHANGES.rst [ci skip]
2024-04-07 08:38:43 +10:00
Andrew Murray
84238bd459
Merge branch 'main' into types/fromarray
2024-04-07 08:32:48 +10:00
Andrew Murray
84a02c851a
Merge pull request #7944 from nulano/type-image-open
...
Add type hints for `Image.open`, `Image.init`, and `Image.Image.save`
2024-04-07 08:31:55 +10:00
Hugo van Kemenade
38f4c7ba5a
Merge pull request #7950 from Yay295/patch-1
...
Rename test_roundtrip() to test_mode()
2024-04-07 00:18:58 +03:00
Yay295
05d2314606
Make ModeDescriptor a NamedTuple
2024-04-06 15:52:17 -05:00
Yay295
1635e7a571
Update Tests/test_image_getdata.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-04-06 15:18:16 -05:00
Andrew Murray
48b270590c
accept returns bool or str
2024-04-06 18:31:08 +02:00
Yay295
6a255de24f
Rename test_roundtrip() to test_hopper()
...
This test isn't actually roundtripping anything.
2024-04-06 11:14:38 -05:00
Hugo van Kemenade
06b71f714f
Merge pull request #7947 from radarhere/jpeg2000_cmyk
2024-04-06 16:24:39 +03:00
Andrew Murray
2245df0ac3
Only preserve IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
2024-04-06 20:59:06 +11:00
Hugo van Kemenade
f8ec9f7974
Merge pull request #7931 from Yay295/imagingcms_modes
...
Remove unused CMS properties and fix documentation
2024-04-06 09:28:45 +03:00
Andrew Murray
7eee479ce5
Corrected indentation
2024-04-05 23:35:12 -05:00
Andrew Murray
1c2a323a90
Corrected variable name
2024-04-05 23:35:12 -05:00
Andrew Murray
c61a481028
Support reading CMYK JPEG2000 images
2024-04-06 13:40:39 +11:00
Andrew Murray
ff64adee9d
Merge pull request #7937 from radarhere/qoi
...
Document that QoiImagePlugin uses Python for decoding
2024-04-05 16:42:54 +11:00
Nulano
819e1b9dd2
add type hints for Image.save
2024-04-04 23:38:50 +02:00
Andrew Murray
059b8e9171
Updated line formatting
2024-04-05 06:52:36 +11:00
Andrew Murray
0702f704fa
Remove commas
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-04-05 05:16:41 +11:00
Andrew Murray
2a2588d5df
Use extlink
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-05 05:09:11 +11:00
Nulano
8c14a394c1
add type hints for Image.open and Image.init
2024-04-04 20:01:24 +02:00
Andrew Murray
0cc5de4e09
Link to https://pypi.org/project/qoi
2024-04-04 12:17:02 +11:00
Adam J. Stewart
92dfb02096
Merge pull request #1 from radarhere/types/fromarray
...
Added SupportsArrayInterface
2024-04-03 11:20:05 +02:00
Andrew Murray
e85a84baa7
Added SupportsArrayInterface
2024-04-03 20:00:40 +11:00
Hugo van Kemenade
e8ab564077
Merge pull request #7938 from radarhere/appveyor
2024-04-03 09:23:28 +03:00
Andrew Murray
a6793bba5e
Updated pattern for skipping builds based on file changes
2024-04-03 12:19:45 +11:00
Andrew Murray
8c57cd56a5
QoiImagePlugin uses PyDecoder
2024-04-03 12:00:02 +11:00
Adam J. Stewart
5d19151cd3
Python 3.10+
2024-04-02 17:56:52 +02:00
pre-commit-ci[bot]
8a63980e39
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-02 15:53:42 +00:00
Adam J. Stewart
37ed8c337d
Try type comment
2024-04-02 17:53:11 +02:00
pre-commit-ci[bot]
8e47a6f2c8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-02 15:46:28 +00:00
Adam J. Stewart
4915f19b13
fromarray: add type hints
2024-04-02 17:45:06 +02:00
Hugo van Kemenade
aeeb596c98
Merge pull request #7934 from radarhere/macos
2024-04-02 10:54:41 +03:00
Andrew Murray
38e8112650
Updated macOS tested Pillow versions
2024-04-02 17:58:49 +11:00
Hugo van Kemenade
7f9a174b33
Merge pull request #7933 from jbjd/fix_ImageMath.rst
2024-04-02 09:36:45 +03:00
Andrew Murray
75454646f4
Moved code onto single line
2024-04-02 00:38:02 -05:00
jbjd
b37279a29c
fix parameter name in ImageMath docs
2024-04-01 20:09:02 -05:00
Andrew Murray
dc3ea89c33
Merge pull request #7932 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2024-04-02 08:59:58 +11:00
Hugo van Kemenade
7867040486
Check GHA, RTD and Renovate config with pre-commit
2024-04-01 20:55:19 +03:00
Hugo van Kemenade
55b8f9126b
Move Ruff's fix=true up from pre-commit to pyproject
2024-04-01 20:49:47 +03:00
Hugo van Kemenade
97c6e46f34
Fix lint
2024-04-01 20:49:19 +03:00
pre-commit-ci[bot]
88ddcde8d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-01 17:24:31 +00:00
pre-commit-ci[bot]
793bb7fb6f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.4 )
- [github.com/psf/black-pre-commit-mirror: 24.1.1 → 24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/24.1.1...24.3.0 )
- [github.com/PyCQA/bandit: 1.7.7 → 1.7.8](https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8 )
- [github.com/Lucas-C/pre-commit-hooks: v1.5.4 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.4...v1.5.5 )
2024-04-01 17:24:09 +00:00
Yay295
7a9b57ce08
remove mode properties from CmsTransform interface
2024-04-01 10:16:23 -05:00
Yay295
16ce3da0a4
remove unused mode properties from CmsTransformObject/PIL.ImageCms.core.CmsTransform
2024-04-01 09:45:52 -05:00
Yay295
8e96748aea
correct property names in method documentation
2024-04-01 09:40:39 -05:00
Hugo van Kemenade
6b676f2962
Merge pull request #7930 from radarhere/imagecms
2024-04-01 17:40:07 +03:00
Hugo van Kemenade
2f28ebbb6d
10.4.0.dev0 version bump
2024-04-01 15:35:42 +03:00
Andrew Murray
e4a10051b6
Corrected test
2024-04-01 23:25:27 +11:00