Hugo van Kemenade
877527cefc
Fix typo ( #9632 )
2026-05-15 12:41:28 +03:00
Andrew Murray
dcd6d41e77
Fixed typo
2026-05-15 18:42:04 +10:00
Hugo van Kemenade
94ec04d33e
Switch iOS back to macos-26-intel ( #9631 )
2026-05-15 11:41:19 +03:00
Andrew Murray
764e315923
Revert "Switch iOS back to macos-15-intel"
...
This reverts commit 27de86483d .
2026-05-15 15:02:42 +10:00
Hugo van Kemenade
0802206cfc
Update free-threading CI ( #9625 )
2026-05-14 15:02:56 +03:00
Hugo van Kemenade
e7556b19b7
Don't use list as default in PdfParser read_prev_trailer ( #9629 )
2026-05-14 14:09:33 +03:00
Hugo van Kemenade
3f74d08263
Remove default sep="="
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-05-14 14:05:55 +03:00
Hugo van Kemenade
e9855d1705
Remove unused params
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-05-13 13:30:01 +03:00
danigm
f0f67f8cf8
PdfParser: Fix typing in read_prev_trailer
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-05-13 11:37:39 +02:00
Hugo van Kemenade
c48b302602
Consistently use "coordinates" instead of "co-ordinates" ( #9628 )
2026-05-13 12:25:09 +03:00
Daniel Garcia Moreno
78ee80a6fd
PdfParser: Don't use list as def in read_prev_trailer
...
It's not recommended to use the empty list as default value in functions
or methods because Python interpreter evaluates during parsing, so it
will be the same list for different calls.
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/dangerous-default-value.html
2026-05-13 11:14:41 +02:00
Andrew Murray
381e264e18
Consistently use "coordinates" instead of "co-ordinates"
...
Co-authored-by: mokashang <mokashang@users.noreply.github.com>
2026-05-13 19:13:21 +10:00
Andrew Murray
9289863c2c
Add support for Python 3.15 ( #9624 )
2026-05-13 07:54:40 +10:00
Hugo van Kemenade
4dc442fb01
Don't force PYTHON_GIL=0, instead fail if anything re-enables
2026-05-12 23:45:03 +03:00
Hugo van Kemenade
0582f43bad
No longer test experimental 3.13t
2026-05-12 20:41:07 +03:00
Hugo van Kemenade
22e47e38bb
Simplify setting PYTHON_GIL
2026-05-12 20:41:07 +03:00
Hugo van Kemenade
954269051b
Do not draw line or arc if width is zero ( #9589 )
2026-05-12 19:55:18 +03:00
Andrew Murray
3ce681240f
Use _accept check in WebP _open ( #9605 )
2026-05-12 12:11:38 +10:00
Hugo van Kemenade
ea5901535d
Compare dist sizes vs latest PyPI release ( #9621 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-05-12 07:31:03 +10:00
Andrew Murray
24696af889
Increase AVIF test epsilon for riscv64 ( #9606 )
2026-05-08 19:50:29 +10:00
Hugo van Kemenade
7be56cc100
Do not generate SBOM in scheduled run on fork ( #9620 )
2026-05-07 22:59:33 +03:00
Andrew Murray
70713d69b0
Do not generate SBOM in scheduled run on fork
2026-05-07 23:53:24 +10:00
Andrew Murray
894c5d5335
Width is always provided
2026-05-07 19:48:08 +10:00
Andrew Murray
f693a3a0e5
Use plugin method directly when saving PDFs ( #9547 )
2026-05-06 23:51:16 +10:00
mergify[bot]
6a05e34b69
[pre-commit.ci] pre-commit autoupdate ( #9617 )
2026-05-04 17:58:03 +00:00
pre-commit-ci[bot]
903065f5e9
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.9...v0.15.12 )
- [github.com/pre-commit/mirrors-clang-format: v22.1.2 → v22.1.4](https://github.com/pre-commit/mirrors-clang-format/compare/v22.1.2...v22.1.4 )
- [github.com/python-jsonschema/check-jsonschema: 0.37.1 → 0.37.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.37.1...0.37.2 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.23.1 → v1.24.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.23.1...v1.24.1 )
- [github.com/tox-dev/pyproject-fmt: v2.21.0 → v2.21.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.0...v2.21.1 )
2026-05-04 17:17:50 +00:00
renovate[bot]
689a7f37fd
Update google/oss-fuzz digest to d872252 ( #9614 )
2026-05-04 21:45:55 +10:00
Hugo van Kemenade
599ddd368c
Set Renovate prCreation to not-pending ( #9616 )
2026-05-04 13:44:13 +03:00
Andrew Murray
ab25042353
Set prCreation to not-pending
2026-05-04 19:42:55 +10:00
Hugo van Kemenade
1cd2d0f67a
Update dependency lcms2 to v2.19 ( #9609 )
2026-05-03 19:06:59 +03:00
Hugo van Kemenade
5f469b6bd2
Update dependency libpng to v1.6.58 ( #9608 )
2026-05-03 19:06:30 +03:00
Hugo van Kemenade
ead2f34515
Update dependency harfbuzz to v14 ( #9610 )
2026-05-03 19:06:13 +03:00
Hugo van Kemenade
a6fc9992f2
Update dependency mypy to v1.20.2 ( #9599 )
2026-05-03 19:05:49 +03:00
Andrew Murray
2128d6465c
Do not draw line or arc if width is zero
2026-05-03 22:41:33 +10:00
Andrew Murray
4bba24632f
Update docs
2026-05-03 22:13:11 +10:00
Andrew Murray
21790fc0da
Check if sys.stdout is a TextIOWrapper instance
2026-05-03 13:26:42 +03:00
Andrew Murray
c234720aca
Convert Exif to dictionary before checking
2026-05-03 13:26:42 +03:00
renovate[bot]
575b33d811
Update dependency mypy to v1.20.2
2026-05-03 13:26:42 +03:00
Hugo van Kemenade
82614324ed
Raise error if PNG transparency has incorrect type or length when saving ( #9536 )
2026-05-03 13:25:49 +03:00
renovate[bot]
32b6c5f0ee
Update dependency harfbuzz to v14
2026-05-03 10:25:32 +00:00
renovate[bot]
956d434c68
Update dependency lcms2 to v2.19
2026-05-03 10:25:27 +00:00
renovate[bot]
3bbb7a2a04
Update dependency libpng to v1.6.58
2026-05-03 10:25:22 +00:00
Hugo van Kemenade
b656f900b4
If PdfParser buffer is memoryview, release it when closing ( #9596 )
2026-05-03 13:23:51 +03:00
Hugo van Kemenade
586604d0c3
Update github-actions ( #9611 )
2026-05-03 10:20:37 +03:00
renovate[bot]
d92b826c4a
Update github-actions
2026-05-03 06:03:07 +00:00
renovate[bot]
2d02654c54
Update dependency cibuildwheel to v3.4.1 ( #9607 )
2026-05-03 14:11:33 +10:00
Hayato Ikoma
7e4ca8b3ab
Correct integer overflow in 16-bit resampling ( #9480 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-05-02 14:36:20 +10:00
Hugo van Kemenade
be8563347b
SBOM: Use real versions from dependencies.json ( #9593 )
2026-05-01 00:05:37 +03:00
Hugo van Kemenade
fc47d07603
No need to sort a sorted list
2026-04-30 16:17:39 +03:00
Hugo van Kemenade
7fe1b9ee04
Restrict SBOM upload to only Pillow JSON ( #9598 )
2026-04-30 16:13:24 +03:00
Andrew Murray
4af29fb732
Restrict SBOM upload to Pillow JSON
2026-04-30 18:41:41 +10:00
Andrew Murray
1f3b8a831d
If PdfParser buffer is memoryview, release it when closing
2026-04-30 00:13:37 +10:00
Andrew Murray
0ef81c33af
Add Fedora 44 ( #9594 )
2026-04-29 10:30:17 +10:00
Hugo van Kemenade
3dda1d190f
Git ignore generated SBOM
2026-04-28 15:58:33 +03:00
Hugo van Kemenade
f2ee74b2f8
Use versions from dependencies.json, remove historical 'tested on'
2026-04-28 15:58:33 +03:00
Hugo van Kemenade
99869f0313
Sort things alphabetically to make easier to find
2026-04-28 15:52:41 +03:00
Andrew Murray
fe054a1b3f
Added CVEs to 12.2.0 release notes ( #9591 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-04-28 08:53:21 +10:00
Hugo van Kemenade
852a832832
Deduplicate path triggers in workflows ( #9590 )
2026-04-27 18:35:58 +03:00
Hugo van Kemenade
755b73b274
Deduplicate path triggers in workflows
2026-04-27 14:14:13 +03:00
Hugo van Kemenade
f0fe496315
Fix typo to trigger on self change
2026-04-27 13:44:52 +03:00
Hugo van Kemenade
fba17910aa
Test Ubuntu 26.04 LTS (Resolute Raccoon) ( #9587 )
2026-04-26 12:05:56 +03:00
Jeffrey 'Alex' Clark
d2b20102e4
Generate CycloneDX SBOM at release time via CI ( #9550 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com>
2026-04-26 00:35:21 +03:00
Hugo van Kemenade
8c522096e8
Archive non-amd64 variants of 24.04
2026-04-25 14:38:17 +03:00
Hugo van Kemenade
855774a175
Test Ubuntu 26.04
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-04-25 14:06:06 +03:00
Hugo van Kemenade
2ae2c4e84f
Skip EPS test_1 for Ghostscript 10.06.0 ( #9588 )
2026-04-25 08:58:02 +03:00
Andrew Murray
a908c62460
Skip test_1 for Ghostscript 10.06.0
2026-04-25 13:19:01 +10:00
Andrew Murray
53800d4fcf
Raise ValueError if ImageOps border has unsupported format ( #9426 )
2026-04-24 21:10:05 +10:00
Andrew Murray
a0cd878bed
Check PyLong_AsVoidPtr result ( #9548 )
2026-04-24 21:04:00 +10:00
Jeffrey 'Alex' Clark
4e0aeba4af
Revise development support information in README ( #9583 )
2026-04-22 22:22:50 -04:00
Jeffrey 'Alex' Clark
5f9112e862
Update README.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-22 22:22:33 -04:00
Jeffrey 'Alex' Clark
9605fccf00
Revise development support information in README
...
Updated development support section with new sponsors.
2026-04-22 21:25:52 -04:00
Jeffrey 'Alex' Clark
1382fc4767
Add INCIDENT_RESPONSE.md ( #9555 )
2026-04-22 20:12:57 -04:00
Jeffrey 'Alex' Clark
c8c391b9c0
Update .github/INCIDENT_RESPONSE.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-22 20:11:03 -04:00
Jeffrey 'Alex' Clark
ecef4fb33f
Add STRIDE threat model to security docs ( #9562 )
2026-04-22 12:33:03 -04:00
Jeffrey 'Alex' Clark
0cb00acc92
Update docs/handbook/security.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-22 12:32:08 -04:00
Jeffrey 'Alex' Clark
da06640873
docs: fix nested inline markup in E-3 and E-4 headings
...
RST does not allow inline markup (backticks) nested inside bold
markers. Remove backticks from the E-3 and E-4 heading text so
they render correctly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-21 11:58:06 -04:00
Jeffrey 'Alex' Clark
d3b73ea462
Update docs/handbook/security.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-21 11:33:48 -04:00
Jeffrey 'Alex' Clark
5af49b380e
docs: address Andrew's review comments on security.rst
...
- Add image.getexif() alongside image._getexif() in T-1 mitigations
- Remove 'appended bytes' from T-2 (Pillow does not preserve them on resave)
- Reframe R-1 threat as user-facing (not Pillow dev advice); add
DecompressionBombError to the log/alert list
- Add blank line before E-3 heading
- Qualify dependency list in recommendation #4 as non-exhaustive
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-21 11:32:36 -04:00
Jeffrey 'Alex' Clark
1f026416f9
Update docs/handbook/security.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-21 11:23:54 -04:00
Jeffrey 'Alex' Clark
114e4d5695
docs: list all 8 C extensions in security threat model diagram
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-21 11:22:58 -04:00
Jeffrey 'Alex' Clark
2911422753
s/littlecms/littlecms2/
2026-04-21 11:11:00 -04:00
Jeffrey 'Alex' Clark
13433dc0a9
Update docs/handbook/security.rst
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-21 11:10:19 -04:00
Hugo van Kemenade
9f6a6a6921
Catch subprocess.CalledProcessError in test_grab_x11 ( #9578 )
2026-04-21 13:17:20 +03:00
Andrew Murray
9867b51d89
Catch subprocess.CalledProcessError in test_grab_x11
2026-04-21 07:51:50 +10:00
Hugo van Kemenade
087376dc18
Hash pin GitHub Actions ( #9568 )
2026-04-17 17:18:41 +03:00
Hugo van Kemenade
2593703e51
Hash pin GitHub Actions
2026-04-17 15:54:41 +03:00
Jeffrey 'Alex' Clark
74e07b5b8a
Lint
2026-04-16 06:48:09 -04:00
Jeffrey 'Alex' Clark
07b20b3b33
Remove Sensitive exception messages
2026-04-16 06:45:55 -04:00
Jeffrey 'Alex' Clark
0c0bdf8d5a
Update security docs
...
- docs/handbook/security.rst
- .github/SECURITY.md
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-15 13:07:37 -04:00
Jeffrey 'Alex' Clark
b300e78838
Update docs/handbook/security.rst
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-15 13:07:30 -04:00
Andrew Murray
b893310045
Reorder renovate.json ( #9565 )
2026-04-16 00:22:23 +10:00
Andrew Murray
b27ae0b2fd
Reorder to match dependencies order
2026-04-15 22:46:51 +10:00
Andrew Murray
237ab0763c
Remove unneeded ? from matchStrings regex
2026-04-15 22:46:51 +10:00
Andrew Murray
ff00aaa6d3
Use keys from dependencies JSON
2026-04-15 22:46:51 +10:00
Andrew Murray
658d9ce258
Updated wheels path regex
2026-04-15 22:46:51 +10:00
Hugo van Kemenade
433e46471e
Move dependency versions to single JSON and enable Renovate ( #9559 )
2026-04-15 15:43:14 +03:00
Jeffrey 'Alex' Clark
082cf04e85
Add python-pillow GitHub Sponsors to FUNDING.yml ( #9563 )
2026-04-14 22:39:25 -04:00
Jeffrey 'Alex' Clark
2d89dcc7eb
Update .github/FUNDING.yml
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-14 22:37:55 -04:00
Jeffrey 'Alex' Clark
b71b4b98d9
Lint
2026-04-14 19:56:59 -04:00
Jeffrey 'Alex' Clark
c07f7e56a1
Add python-pillow GitHub Sponsors to FUNDING.yml
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-14 19:54:25 -04:00
Jeffrey 'Alex' Clark
9f24881521
Add STRIDE threat model to security docs
...
- Update .github/SECURITY.md with threat model summary and link to handbook
- Add docs/handbook/security.rst with full STRIDE analysis (14 threats
across Spoofing, Tampering, Repudiation, Information Disclosure,
Denial of Service, and Elevation of Privilege categories)
- Add prioritised mitigation recommendations
- Link security.rst into the handbook toctree
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-14 12:13:45 -04:00
Jeffrey 'Alex' Clark
a124ed208f
Update template wording
2026-04-14 11:36:33 -04:00
Jeffrey 'Alex' Clark
ee24a11073
Update .github/INCIDENT_RESPONSE.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-14 11:26:03 -04:00
Hugo van Kemenade
6dd03edba8
Use GitLab as data source for FreeType
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-13 15:39:38 +03:00
Hugo van Kemenade
65767a0cf7
Use GitLab as data source for libtiff
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-12 12:08:07 +03:00
Hugo van Kemenade
a49c63208a
Move dependency versions to single JSON and enable Renovate
2026-04-12 12:07:07 +03:00
Andrew Murray
3a3dab8bb0
Updated raqm to 0.10.5 ( #9557 )
2026-04-12 15:13:32 +10:00
Andrew Murray
4b911c889b
Correct environment URL ( #9558 )
2026-04-11 20:22:22 +10:00
Hugo van Kemenade
b04c9a3d2f
Add CVEs to 12.2.0 release notes ( #9556 )
2026-04-11 11:03:38 +03:00
Andrew Murray
3157407762
Remove or protect secrets in Actions ( #9544 )
2026-04-11 17:05:49 +10:00
Andrew Murray
fb1375d93b
Added CVEs
2026-04-11 08:34:08 +10:00
Jeffrey 'Alex' Clark
6e1ccab749
Address review feedback on INCIDENT_RESPONSE.md
...
- Update CVSS v3.1 to CVSS 4.0 throughout
- Remove 'Direct maintainer contact' from detection sources
- Fix 'before it stays public' wording for user bug reports
- Simplify sections 7.3 and 7.4 to reference RELEASING.md instead
of duplicating release process steps
- Update RELEASING.md Point release section with security-specific
steps (amend CVE in commits, publish GitHub Security Advisory)
- Fix PyPI API tokens entry (remove GitHub secrets reference)
- Fix 404 PyPI manage URL (use correct case and /releases/ path)
- Replace security@pypi.org mailto with https://pypi.org/security/
- Remove unconfirmed 'Notify GitHub Security' bullet
- Fix section numbering: 10.x → 9.x under Section 9. Dependency Map
- Reorder: move 9.3 Responding to Upstream Vulnerability before 9.3
Downstream Dependencies (now 9.2 and 9.3 respectively)
- Add anchor link for Section 5 reference in 9.2
- Add #plugin-list anchor to third-party plugins handbook link
- Fix GitLab issue tracker URLs to use /-/work_items for libtiff,
freetype2, and bzip2
- Add pyproject.toml reference for complete optional dependencies list
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-10 10:58:43 -04:00
Jeffrey 'Alex' Clark
0cbdd2eff9
Update .github/INCIDENT_RESPONSE.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-04-10 10:37:34 -04:00
Hugo van Kemenade
eda14b6c4a
Restrict nightly Anaconda uploads to environment
2026-04-10 16:33:18 +03:00
Jeffrey 'Alex' Clark
24b12dc84f
Combine plan maintenance into a single paragraph
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-10 07:49:37 -04:00
Jeffrey 'Alex' Clark
d016c90108
Remove active exploitation escalation bullet from incident response
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-10 07:44:27 -04:00
Jeffrey 'Alex' Clark
6a0192a40a
Update .github/INCIDENT_RESPONSE.md
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-04-10 07:44:16 -04:00
Jeffrey 'Alex' Clark
6fe81dd52e
Remove Wand from downstream dependencies
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:19:22 -04:00
Jeffrey 'Alex' Clark
55989595ea
Add private channels note to internal communication guidance
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:17:39 -04:00
Jeffrey 'Alex' Clark
b579577aa0
Link to section 1.3 in Plan Maintenance
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:15:25 -04:00
Jeffrey 'Alex' Clark
6f815c2d8d
Clarify advisory thread purpose as reporter coordination
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:13:43 -04:00
Jeffrey 'Alex' Clark
80a91fdb4e
Add setuptools to Python-level dependencies
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:08:44 -04:00
Jeffrey 'Alex' Clark
0d440b7d09
Trim Plan Maintenance section
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:04:00 -04:00
Jeffrey 'Alex' Clark
00ff8636a2
Remove section 7.5 Rollback Procedures
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 18:01:08 -04:00
Jeffrey 'Alex' Clark
e74a89f70e
Trim version support matrix prose
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:59:29 -04:00
Jeffrey 'Alex' Clark
20af4ec89c
Change Critical/High SLA targets to best effort
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:55:11 -04:00
Jeffrey 'Alex' Clark
3f90d5c4da
Replace section sign (§) with plain Section references
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:53:04 -04:00
Jeffrey 'Alex' Clark
68be7f30ff
Remove Tidelift notification step from triage
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:50:45 -04:00
Jeffrey 'Alex' Clark
e0f9e2b98e
Fix severity classification cross-reference, remove incident lead assignment step
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:46:58 -04:00
Jeffrey 'Alex' Clark
ad582c1a8e
Simplify Roles section note
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:38:34 -04:00
Jeffrey 'Alex' Clark
c2ac2da31c
Inline Readiness Review procedure as prose
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:28:42 -04:00
Jeffrey 'Alex' Clark
3aa076129f
Remove backport comment from version support matrix
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:25:32 -04:00
Jeffrey 'Alex' Clark
4a74a20b86
Update Readiness Review: quarterly cadence, trim checklist
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 17:23:52 -04:00
Jeffrey 'Alex' Clark
64ed4710b9
Fix version support matrix to reflect main-only security policy
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 16:59:41 -04:00
Jeffrey 'Alex' Clark
cdaa1bf9ef
Add sections from Bootstrap example
...
At the risk of making this document larger, add in sections in Bootstrap
IRP but not ours.
- https://github.com/twbs/bootstrap/blob/main/.github/INCIDENT_RESPONSE.md
2026-04-09 12:57:16 -04:00
Jeffrey 'Alex' Clark
4d63d0b3a6
Fix links
2026-04-09 12:47:50 -04:00
Jeffrey 'Alex' Clark
cb5736ea3e
Add INCIDENT_RESPONSE.md
2026-04-09 12:36:00 -04:00
Hugo van Kemenade
5ada8c8306
Use github.event.repository.fork ( #9551 )
2026-04-09 18:43:23 +03:00
Andrew Murray
6ede62874b
Update README with revised security policy ( #9553 )
2026-04-09 19:01:17 +10:00
Jeffrey 'Alex' Clark
b97034ae02
Link to New draft security advisory
2026-04-08 20:01:39 -04:00
Jeffrey 'Alex' Clark
77b2f6791a
Update security policy ( #9552 )
2026-04-08 16:23:51 -04:00
Jeffrey 'Alex' Clark
8f625f19ef
Update .github/SECURITY.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-04-08 16:17:52 -04:00
Jeffrey 'Alex' Clark
8edb7734b5
Update .github/SECURITY.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-04-08 14:52:36 -04:00
Jeffrey 'Alex' Clark
05860779a1
Update .github/SECURITY.md
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-04-08 14:52:19 -04:00
Jeffrey 'Alex' Clark
ab02e810b0
Update security policy
2026-04-08 13:16:37 -04:00
Andrew Murray
ed89b93940
Use github.event.repository.fork
2026-04-08 21:51:43 +10:00
Hugo van Kemenade
7cf4dac7ae
Move Homebrew dependencies into Brewfile ( #9546 )
2026-04-07 19:09:30 +10:00
Trần Bách
117de2b181
fix(security)(_imagingtk.c): unsafe pointer dereference from unchecked python i
...
In `_tkinit`, `PyLong_AsVoidPtr(arg)` converts an arbitrary Python object to a `void*` pointer which is then cast to `Tcl_Interp*` and passed to `TkImaging_Init`. If `PyLong_AsVoidPtr` fails (returns NULL and sets an error), or if the caller passes an arbitrary integer value, the code proceeds to dereference it without any validation, potentially leading to a crash or arbitrary memory access.
Affected files: _imagingtk.c
Signed-off-by: Trần Bách <45133811+barttran2k@users.noreply.github.com>
2026-04-07 09:41:12 +07:00
Hugo van Kemenade
43a3e5ca21
Remove Codecov token
2026-04-06 23:35:44 +03:00
Hugo van Kemenade
c722aaec53
Do not precompute horizontal coefficients if not horizontal resizing ( #9543 )
2026-04-06 20:29:12 +03:00
pre-commit-ci[bot]
b72f5730e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-04-06 17:25:20 +00:00
pre-commit-ci[bot]
ecc48f9b3e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.4...v0.15.9 )
- [github.com/psf/black-pre-commit-mirror: 26.1.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/26.1.0...26.3.1 )
- [github.com/pre-commit/mirrors-clang-format: v22.1.0 → v22.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v22.1.0...v22.1.2 )
- [github.com/python-jsonschema/check-jsonschema: 0.37.0 → 0.37.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.37.0...0.37.1 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.22.0 → v1.23.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.22.0...v1.23.1 )
- [github.com/tox-dev/pyproject-fmt: v2.16.2 → v2.21.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.16.2...v2.21.0 )
2026-04-06 17:24:37 +00:00
Hugo van Kemenade
fcf033bdfb
Fix comparison warnings ( #9541 )
2026-04-06 12:37:24 +03:00
Hugo van Kemenade
698fbb768a
Correct feature name ( #9542 )
2026-04-06 12:37:07 +03:00
Andrew Murray
abb9b200ef
Do not precompute horizontal coefficients if not horizontal resizing
2026-04-06 14:21:21 +10:00
Andrew Murray
b65bc406d8
Fixed comparison warning
2026-04-06 13:19:32 +10:00
Andrew Murray
d7d2df8ab2
Correct feature name
2026-04-06 09:39:23 +10:00
Hugo van Kemenade
f5ab7bb37b
Skip test if FreeType is not available ( #9540 )
2026-04-05 13:04:12 +03:00
Andrew Murray
17612be407
Skip test if FreeType is not available
2026-04-05 12:57:01 +10:00
Andrew Murray
64f6d4ebd8
Close PdfParser if error occurs during init ( #9539 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-04-05 05:30:11 +10:00
Hugo van Kemenade
a865345add
Remove type hint ignore ( #9538 )
2026-04-04 15:24:25 +03:00
Andrew Murray
1dd1c9a3e5
Replace custom class with TextIOWrapper
2026-04-04 19:33:07 +11:00
Andrew Murray
7f3751d498
Remove type hint ignore
2026-04-04 19:29:11 +11:00
Hugo van Kemenade
e81acb8f79
Drop experimental Python 3.13 free-threaded wheels ( #9535 )
2026-04-03 15:54:13 +03:00
Andrew Murray
e58c67347a
Raise error if transparency is incorrect type or length when saving
2026-04-03 22:19:52 +11:00
Andrew Murray
7f68decf2c
Clarified condition
2026-04-03 22:16:51 +11:00
Andrew Murray
c03ba8b3c0
Added release notes
2026-04-03 21:41:13 +11:00
Hugo van Kemenade
82ac16d89d
Update macOS tested Python versions ( #9534 )
2026-04-03 09:56:30 +03:00
Andrew Murray
20307667f9
Remove deprecated option to allow Python 3.13t wheels
2026-04-03 15:51:01 +11:00
Andrew Murray
9d790af50c
Update macOS tested Python versions
2026-04-03 15:41:02 +11:00
renovate[bot]
3f78ebb542
Update dependency cibuildwheel to v3.4.0 ( #9532 )
2026-04-03 15:38:40 +11:00
renovate[bot]
c39eda6348
Update github-actions ( #9533 )
2026-04-03 15:20:29 +11:00
Hugo van Kemenade
abb1d2bf6e
Remove Debian 12 and Fedora 42 from CI ( #9530 )
2026-04-02 18:11:35 +11:00
Hugo van Kemenade
d16c00fa0c
Remove manylinux2014 and Amazon Linux 2 ( #9528 )
2026-04-02 08:05:42 +03:00
Andrew Murray
4dc9398402
Remove manylinux2014
2026-04-02 07:55:58 +11:00
Andrew Murray
30b3dff0cb
Remove Amazon Linux 2
2026-04-02 07:55:58 +11:00
Hugo van Kemenade
7d78ac519b
12.3.0.dev0 version bump
2026-04-01 17:53:55 +03:00
Hugo van Kemenade
3c41c09506
12.2.0 version bump
2026-04-01 15:11:14 +03:00
Hugo van Kemenade
cdaa29eb52
Check calloc return value ( #9527 )
2026-04-01 15:11:00 +03:00
Andrew Murray
585b2f5a78
Check calloc return value
2026-04-01 22:57:56 +11:00
Hugo van Kemenade
ecf011ea15
Check all allocs in the Arrow tree ( #9488 )
2026-04-01 14:56:15 +03:00
Hugo van Kemenade
cf6de8ca9b
Reject non-numeric elements inside list coords ( #9526 )
2026-04-01 22:50:45 +11:00
Andrew Murray
ffdcede651
Update 12.2.0 release notes ( #9522 )
2026-04-01 17:43:36 +11:00
Hugo van Kemenade
7929d7760f
Added security release notes ( #149 )
2026-04-01 09:02:36 +03:00
Andrew Murray
c4f7aa5dfb
Added security release notes
2026-04-01 16:49:20 +11:00
Hugo van Kemenade
22cdb5f2e4
Move variable declaration inside define ( #9525 )
2026-04-01 06:35:32 +03:00
Hugo van Kemenade
fc15b3b018
Resize tall images vertically first ( #9524 )
2026-04-01 06:34:26 +03:00
Hugo van Kemenade
44db0708c4
Update xz to 5.8.3 ( #9523 )
2026-04-01 06:31:15 +03:00
Andrew Murray
58f9a1d166
Avoid overflow by not adding extents together ( #9520 )
2026-04-01 13:45:30 +11:00
Andrew Murray
459bdf766f
Move variable declaration inside define
2026-04-01 10:38:22 +11:00
Andrew Murray
4ef0ac611d
Resize tall images vertically first
2026-04-01 10:00:39 +11:00
Andrew Murray
f5e893e46e
Seek raises OverFlowError on 32-bit
2026-04-01 09:46:09 +11:00
Hugo van Kemenade
ec8272044d
Use long for glyph position ( #9518 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-04-01 08:52:09 +11:00
Andrew Murray
d9035515f2
Merge branch 'main' into psd_size
2026-04-01 08:42:16 +11:00
Andrew Murray
cf4a8ee0b9
Updated xz to 5.8.3
2026-04-01 08:26:13 +11:00
Hugo van Kemenade
3bf614e4b8
Raise an error if the trailer chain loops back on itself ( #9519 )
2026-04-01 08:03:15 +11:00
Hugo van Kemenade
3cb854e8b2
Only read as much data from gzip-decompressed data as necessary ( #9521 )
2026-04-01 08:02:08 +11:00
Hugo van Kemenade
3cb814f338
Update 12.2.0 release notes
2026-03-31 23:15:06 +03:00
Gareth Davidson
2696e962c2
Add loader plugins: AMOS abk, Atari Degas, 40+ more obscure formats via Netpbm ( #9482 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-31 23:03:12 +03:00
Hugo van Kemenade
6dfc2be807
Allow None extents in C setimage() ( #9504 )
2026-03-31 22:02:41 +03:00
Hugo van Kemenade
da0ed929a0
Use critical sections to protect FontObject ( #9498 )
2026-03-31 21:54:29 +03:00
Hugo van Kemenade
2c2c2a1eae
Add ImageText.Text.wrap() to wrap text ( #9286 )
2026-03-31 21:49:22 +03:00
Andrew Murray
cc22efda7a
Parametrize tests
2026-03-31 21:42:16 +03:00
Andrew Murray
b2a16f0dbe
Copy offset check from C into Python
2026-03-31 21:42:16 +03:00
Andrew Murray
591ce38ca5
Skip OverflowError on Windows Python 3.10
2026-03-31 21:42:16 +03:00
Andrew Murray
4bada07dc6
Avoid overflow by not adding extents together
2026-03-31 21:42:16 +03:00
Hugo van Kemenade
d66a77223b
Cleanup .spider extension in the same test where it is added ( #9517 )
2026-03-31 15:55:30 +03:00
Andrew Murray
09c585dc21
Cleanup .spider extension in the same test where it is added
2026-03-31 22:02:23 +11:00
Andrew Murray
1f74a55be2
Run tests in parallel via tox for 3.5x speedup ( #9516 )
2026-03-31 21:58:13 +11:00
Hugo van Kemenade
228a85e56e
Safer test_file_spider teardown under pytest-xdist
2026-03-31 11:22:11 +03:00
Andrew Murray
751b373d41
Always call StubHandler open() when opening StubImageFile ( #9412 )
2026-03-31 09:20:47 +11:00
Andrew Murray
f6b50a540d
Improved BCn overflow check ( #9043 )
2026-03-31 08:05:58 +11:00
Hugo van Kemenade
8d801bcafa
Image will never be None ( #9512 )
2026-03-30 18:49:06 +03:00
Hugo van Kemenade
40168cca95
Update libjpeg-turbo to 3.1.4.1 ( #9507 )
2026-03-30 18:47:54 +03:00
Hugo van Kemenade
7406b371ca
Raise EOFError when seeking too far in PSD ( #9388 )
2026-03-30 18:34:08 +03:00
Hugo van Kemenade
ded95a6c3d
Raise error if ImageGrab subprocess gives non-zero returncode ( #9321 )
2026-03-30 18:33:05 +03:00
Andrew Murray
73e1ed91e3
For DXT1, only check if 8 bytes are left
2026-03-30 18:23:49 +03:00
Hugo van Kemenade
ea9d4ecf4e
Update Python versions ( #9515 )
2026-03-30 18:10:36 +03:00
Hugo van Kemenade
f80de2152c
Run tests in parallel via tox
2026-03-30 16:34:07 +03:00
Hugo van Kemenade
b2e3f788f9
Allow for different palette entry sizes when correcting BMP pixel data offset ( #9472 )
2026-03-30 16:06:55 +03:00
Hugo van Kemenade
33e1518cc7
Ignore unspecified extra samples for TIFF separate planar configuration ( #9514 )
2026-03-30 15:54:41 +03:00
Andrew Murray
a03b7b52f9
Updated Python versions
2026-03-30 22:57:51 +11:00
Andrew Murray
007974d35b
Ignore EXTRASAMPLES tag from separate planes image when saving
2026-03-30 20:04:39 +11:00
Andrew Murray
84cb30d7a7
For separate planar configuration, ignore unspecified extra components
2026-03-30 19:42:07 +11:00
Andrew Murray
07c180b21e
Simplify SAMPLEFORMAT when all values match for values other than 1
2026-03-30 19:40:04 +11:00
Jeffrey 'Alex' Clark
602acd5828
Jeffrey A. Clark -> Jeffrey 'Alex' Clark ( #9513 )
2026-03-29 12:42:15 -04:00
Jeffrey 'Alex' Clark
7c121637c9
Jeffrey A. Clark -> Jeffrey 'Alex' Clark
...
Follow up to 4197263dff . People cannot figure out
my preferred name, hence this final (I hope!) update to my name in Pillow.
2026-03-29 10:05:18 -04:00
Andrew Murray
7ef54f6bfd
Image will never be None
...
Co-authored-by: jorenham <jhammudoglu@gmail.com>
2026-03-29 19:40:16 +11:00
Andrew Murray
f298638632
Merge branch 'main' into arrow_malloc_guard
2026-03-29 19:13:53 +11:00
Andrew Murray
a69b4ec228
Merge branch 'main' into wrap
2026-03-28 22:44:21 +11:00
Andrew Murray
b62ff96779
Add PERF to lint and fix findings ( #9510 )
2026-03-28 21:56:07 +11:00
Hugo van Kemenade
4b8ae8ede4
Add release notes for #9394 and #9419 ( #9467 )
2026-03-28 11:31:58 +02:00
Hugo van Kemenade
a9ef0e2922
PERF203 and PERF401 fixes ( #148 )
2026-03-28 11:30:49 +02:00
Andrew Murray
3121c77cad
Added release notes for #9456
2026-03-28 19:19:48 +11:00
Andrew Murray
ccf9863ba8
Added release notes for #9394
2026-03-28 19:11:51 +11:00
Andrew Murray
1ed39726c5
Added release notes for #9419
2026-03-28 19:11:51 +11:00
Andrew Murray
9f3f6de109
Allow None extents in C setimage
2026-03-28 18:31:49 +11:00
Andrew Murray
701b49adc5
PERF401 fix
2026-03-28 15:13:42 +11:00
Andrew Murray
9a7b91e5db
PERF203 fixes
2026-03-28 15:13:41 +11:00
Andrew Murray
018801805f
Simplify setimage()
2026-03-28 14:08:32 +11:00
Andrew Murray
65c4f4ea8d
Updated libjpeg-turbo to 3.1.4
2026-03-28 13:19:27 +11:00
Andrew Murray
9006c305cf
Merge branch 'main' into perflint
2026-03-28 06:51:26 +11:00
Andrew Murray
91a5a09595
Switch iOS back to macos-15-intel ( #9509 )
2026-03-28 06:49:38 +11:00
Hugo van Kemenade
754c7ea3a0
PERF203 and fixes
2026-03-27 14:18:37 +02:00
Hugo van Kemenade
090ca9461b
PERF403 and fixes
2026-03-27 14:18:37 +02:00
Hugo van Kemenade
9a358fa289
PERF402 and fixes
2026-03-27 14:18:37 +02:00
Hugo van Kemenade
b85b8534d7
PERF401 and fixes
2026-03-27 14:18:37 +02:00
Hugo van Kemenade
624fc87d2d
PERF102
2026-03-27 14:15:30 +02:00
Hugo van Kemenade
b337b33564
PERF101
2026-03-27 14:15:30 +02:00
Andrew Murray
27de86483d
Switch iOS back to macos-15-intel
2026-03-27 21:54:45 +11:00
Andrew Murray
9568bceeb8
Catch struct.error ( #9505 )
2026-03-27 21:22:28 +11:00
Andrew Murray
396b0a2a39
Check PyCapsule_GetPointer and PyBytes_FromStringAndSize return values ( #9508 )
2026-03-27 20:40:20 +11:00
Andrew Murray
20a9401971
Check PyBytes_FromStringAndSize return value
2026-03-27 15:26:41 +11:00
Andrew Murray
40400edd62
Check PyCapsule_GetPointer return value
2026-03-27 15:26:25 +11:00
wiredfool
7672b19af4
Fix missing null dereference checks ( #9489 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-03-27 15:23:01 +11:00
Hugo van Kemenade
ef6951d1a5
CI: Retry failed downloads ( #9506 )
2026-03-27 09:57:43 +11:00
Andrew Murray
f176f5dad6
Update libpng to 1.6.56 ( #9499 )
2026-03-27 08:57:45 +11:00
Andrew Murray
9b7dccfe32
Use PyModule_AddObjectRef ( #9503 )
2026-03-27 08:47:58 +11:00
Andrew Murray
92ccedea87
Release reference to encoder on error ( #9500 )
2026-03-27 08:46:33 +11:00
Andrew Murray
fcecc8c6c4
Fixed AVIF and WEBP dealloc ( #9501 )
2026-03-27 08:45:40 +11:00
Andrew Murray
d305ee6a25
Check PyType_Ready return values ( #9502 )
2026-03-27 08:45:02 +11:00
Andrew Murray
da729c832c
Check if PyObject_CallMethod result is NULL ( #9494 )
2026-03-27 08:43:32 +11:00
Hugo van Kemenade
43e4ebe037
Do not use palette from grayscale or bilevel colorspace when reading JPEG2000 images ( #9468 )
2026-03-26 15:33:18 +02:00
Hugo van Kemenade
051fb0b995
If TGA v2 extension area specifies no alpha, fill alpha channel ( #9478 )
2026-03-26 15:32:35 +02:00
Andrew Murray
67c0767b64
If Photoshop blocks are truncated, do not raise struct.error
2026-03-26 23:43:35 +11:00
Andrew Murray
f551ecdc43
If Makernote is truncated, do not raise struct.error
2026-03-26 23:43:35 +11:00
Sam Gross
e4d72b53f5
Use critical sections to protect FontObject
...
FreeType FT_Face objects are not thread-safe. Use per-object critical
sections to protect FontObject methods that access the underlying FT_Face
in the free-threaded build.
Fixes #9497
2026-03-26 14:42:00 +02:00
Hugo van Kemenade
8e9068e36f
Set image pixels individually on 32-bit Windows ( #9492 )
2026-03-26 14:41:22 +02:00
Hugo van Kemenade
d4f78128ab
Revert "Skip build 1.4.1 for lint" ( #9495 )
2026-03-26 07:47:22 +11:00
Hugo van Kemenade
e7f150df7f
Update freetype to 2.14.3 ( #9485 )
2026-03-25 14:37:14 +02:00
Andrew Murray
5b69607c35
Skip build 1.4.1 for lint ( #9491 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-25 14:35:27 +02:00
Hugo van Kemenade
2654d73626
Add error messages before returning NULL when encoding ( #9493 )
2026-03-25 14:25:43 +02:00
Andrew Murray
33d62fc8a1
Added error messages
2026-03-25 23:11:59 +11:00
Andrew Murray
93729a0062
Removed unused code
2026-03-25 23:04:35 +11:00
Hugo van Kemenade
9a89944e73
Fix _getxy refcount leaks ( #9487 )
2026-03-25 23:00:18 +11:00
Andrew Murray
47386d191c
Set image pixels individually on 32-bit Windows
2026-03-25 22:33:37 +11:00
Hugo van Kemenade
3a83d6abc3
Enable colour in CI logs ( #9486 )
2026-03-25 10:54:16 +11:00
wiredfool
ffd32a861a
Check all allocs in the Arrow tree
...
* handle alloc failure
* Ensure we're calling release so the refcount on the image is
decremented
* Ensure that release array/schema can handle partially allocated
children arrays.
2026-03-24 21:14:16 +00:00
Andrew Murray
f0b5f56e9f
Updated libavif to 1.4.1 ( #9479 )
2026-03-24 22:34:11 +11:00
Andrew Murray
4e85badfc1
Updated freetype to 2.14.3
2026-03-23 21:23:24 +11:00
Andrew Murray
fc0f65998f
Updated harfbuzz to 13.2.1 ( #9461 )
2026-03-23 21:21:51 +11:00
Andrew Murray
43bc816e88
Merge branch 'main' into jpeg2000_l
2026-03-21 23:44:44 +11:00
Andrew Murray
0d7f5077a7
If v2 extension area specifies no alpha, fill alpha channel
2026-03-21 23:43:26 +11:00
Hugo van Kemenade
1bb14c4ef5
Fix invalid test font ( #9483 )
2026-03-21 14:14:00 +02:00
Andrew Murray
4d0089141c
Fixed invalid test font
2026-03-21 19:26:55 +11:00
Hugo van Kemenade
a4b0e3ecab
Add Exif tag "FrameRate" ( #9470 )
2026-03-20 16:20:09 +02:00
Hugo van Kemenade
c0fbe54978
Update Ghostscript to 10.7.0 ( #9469 )
2026-03-20 16:14:24 +02:00
Andrew Murray
77df8a36c1
Merge branch 'main' into jpeg2000_l
2026-03-21 01:10:35 +11:00
Hugo van Kemenade
a67ce7fba1
Support reading JPEG2000 images with CMYK palettes ( #9456 )
2026-03-20 16:03:55 +02:00
Andrew Murray
3b1f70da61
Simplify setimage() by always passing extents ( #9395 )
2026-03-21 01:01:20 +11:00
Hugo van Kemenade
6ab139eaab
If bitmap buffer is empty, do not render anything ( #8324 )
2026-03-20 15:53:02 +02:00
Hugo van Kemenade
46c529fa69
Simplify TGA test code ( #9477 )
2026-03-20 15:46:57 +02:00
Andrew Murray
c304186190
Simplified code
2026-03-20 10:02:14 +11:00
Andrew Murray
735d02584b
Allow for different palette entry sizes when correcting offset
2026-03-19 10:38:28 +11:00
Andrew Murray
93de6a78d8
Generate test image programmatically
2026-03-19 10:10:06 +11:00
Andrew Murray
98c149f030
Simplified code
2026-03-19 09:26:58 +11:00
Zhiyuan Ouyang
e6bb8626c8
Add a ExifTag "FrameRate" to be supported in PIL.
...
Reference: https://exiftool.org/TagNames/EXIF.html
2026-03-17 10:30:40 -07:00
Andrew Murray
e34c7bee91
Updated Ghostscript to 10.7.0
2026-03-17 10:56:32 +11:00
Andrew Murray
8442a8541c
Support saving images with non-RGB palettes as PNGs
2026-03-16 23:52:43 +11:00
Andrew Murray
6a06285bf8
Support reading JPEG2000 images with CMYK palettes
2026-03-16 23:52:33 +11:00
Andrew Murray
4f5802b6b1
Do not use palette from grayscale or bilevel colorspace
2026-03-16 23:45:22 +11:00
Andrew Murray
29509ffa75
Detect CMYK palette in JPEG2000 images
2026-03-16 20:48:46 +11:00
Andrew Murray
d5d0734169
Add CMYK palettes
2026-03-16 20:48:25 +11:00
Gareth Davidson
3a44ba1c75
Add Amiga Workbench .info loader to 3rd party plugins list ( #9459 )
2026-03-14 09:42:15 +11:00
Hugo van Kemenade
5e91231ed6
Update tests to check for ValueError when encoding an empty image ( #9464 )
2026-03-13 16:17:38 +02:00
Andrew Murray
dd042da9c2
Update tests to change for ValueError when encoding an empty image
2026-03-13 06:32:15 +11:00
Hugo van Kemenade
8004234d87
Change to ValueError when encoding an empty image ( #9394 )
2026-03-12 16:57:01 +02:00
Hugo van Kemenade
c66ab56b4b
Update harfbuzz to 13.0.1 ( #9453 )
2026-03-10 16:12:57 +02:00
Hugo van Kemenade
27ca696c07
Update libavif to 1.4.0 ( #9460 )
2026-03-10 16:12:14 +02:00
Andrew Murray
686174b5cc
Updated libavif to 1.4.0
2026-03-10 20:26:31 +11:00
Andrew Murray
de2845b19a
Revert "Patch libavif for svt-av1 4.0 compatibility"
...
This reverts commit f86ad8b36d .
2026-03-10 10:18:55 +11:00
Andrew Murray
42a4af5c81
Merge branch 'main' into harfbuzz
2026-03-09 22:41:04 +11:00
Andrew Murray
28524f2069
Update freetype to 2.14.2 ( #9449 )
2026-03-09 22:39:27 +11:00
Andrew Murray
5450f9d08a
Updated harfbuzz to 13.0.1
2026-03-08 07:12:17 +11:00
Andrew Murray
2c87ce2d3d
Add FontFile.to_imagefont() ( #9419 )
2026-03-07 17:24:43 +11:00
Frank Henigman
abbd515e9b
Improve efficiency of FontFile._encode_metrics()
...
Build up mutable sequences instead of recreating mutable ones.
2026-03-06 22:30:59 -05:00
fjhenigman
97bdfeb4a5
Merge branch 'python-pillow:main' into usepcf
2026-03-06 22:00:52 -05:00
Andrew Murray
c68cc49d8e
Upgrade CI from macos-15-intel to macos-26-intel ( #9454 )
2026-03-05 22:51:03 +11:00
Hugo van Kemenade
55b0cbc273
Update CI targets docs
2026-03-05 10:01:13 +02:00
Hugo van Kemenade
c27d24bad8
[pre-commit.ci] pre-commit autoupdate ( #9450 )
2026-03-03 17:04:57 +02:00
Andrew Murray
f7582b8d58
Updated documentation terms
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-03 23:04:00 +11:00
Andrew Murray
f7ee26575e
Avoid shadowing built-in
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-03 22:57:34 +11:00
Andrew Murray
04470d5151
Removed unused argument
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-03 22:51:41 +11:00
Andrew Murray
a8cf13010b
Use native configuration
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-03 18:02:49 +11:00
renovate[bot]
0fae74731d
Update actions/download-artifact action to v8 ( #9451 )
2026-03-03 16:36:24 +11:00
pre-commit-ci[bot]
7fc49a5cf4
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-03-02 17:27:45 +00:00
pre-commit-ci[bot]
0c2dc2047e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.4 )
- [github.com/PyCQA/bandit: 1.9.3 → 1.9.4](https://github.com/PyCQA/bandit/compare/1.9.3...1.9.4 )
- [github.com/pre-commit/mirrors-clang-format: v21.1.8 → v22.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.8...v22.1.0 )
- [github.com/python-jsonschema/check-jsonschema: 0.36.1 → 0.37.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.36.1...0.37.0 )
- [github.com/tox-dev/pyproject-fmt: v2.12.1 → v2.16.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.12.1...v2.16.2 )
- [github.com/abravalheri/validate-pyproject: v0.24.1 → v0.25](https://github.com/abravalheri/validate-pyproject/compare/v0.24.1...v0.25 )
2026-03-02 17:25:35 +00:00
Hugo van Kemenade
f273619682
Test on macos-26-intel
2026-03-02 15:44:23 +02:00
Hugo van Kemenade
bb54c5020f
Use walrus operator ( #9448 )
2026-02-28 23:24:04 +02:00
Andrew Murray
26c70950e9
Use walrus operator
2026-02-27 08:13:18 +11:00
Andrew Murray
e96c5a5a53
Updated libpng to 1.6.55 ( #9425 )
2026-02-24 21:17:12 +11:00
Kadir Can Ozden
2fe7c42148
Only close file handle in ImagePalette.save() if it was opened internally ( #9444 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-24 18:01:24 +11:00
Varun Chawla
e50d8a5192
Improve border validation error message wording
2026-02-22 18:50:14 -08:00
Andrew Murray
81e0cf2bc4
Add check-case-conflict hook ( #9446 )
2026-02-22 15:17:59 +02:00
Kadir Can Ozden
43c12af730
Fix self.decode typo ( #9445 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-21 14:23:38 +02:00
Kadir Can Ozden
4777a0b318
Fix BMP RLE delta escape reading from wrong file position ( #9443 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-21 14:21:48 +02:00
Andrew Murray
02764a0077
Correct error check when encoding AVIF images ( #9442 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-19 14:09:59 +02:00
Andrew Murray
3cd69cb12f
Specify platform when pulling docker image ( #9440 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-17 09:57:29 +02:00
Andrew Murray
a5c9eba30a
Fix unexpected error when saving zero dimension images ( #9391 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-16 12:57:27 +02:00
Hugo van Kemenade
2c00c6f80e
GHA: Cache libavif and webp builds for Ubuntu ( #9437 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-02-16 12:29:42 +02:00
Varun Chawla
f708c00527
Fix UnboundLocalError in _border for invalid tuple lengths and document rgba() color format
...
The _border helper in ImageOps raised UnboundLocalError when given a tuple
with a length other than 2 or 4 (e.g. 1-tuple or 3-tuple). This changes
it to raise a clear ValueError instead.
Also adds documentation for the rgba() color format in ImageColor, which
was supported in code and tested but missing from the docs.
2026-02-13 19:38:48 -08:00
fjhenigman
a18a62cda6
Merge pull request #2 from radarhere/usepcf
...
Updated documentation
2026-02-13 19:51:49 -05:00
Andrew Murray
3c087bb58b
Merge branch 'main' into wrap
2026-02-14 11:14:42 +11:00
Hugo van Kemenade
d4111967a8
Merge PFM documentation into PPM ( #9434 )
2026-02-14 00:38:40 +02:00
Andrew Murray
f71d74eec2
Use versionadded
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-02-13 18:29:41 +11:00
Andrew Murray
0ce21f98e7
Updated documentation
2026-02-13 18:06:29 +11:00
fjhenigman
97673f4e70
Merge branch 'python-pillow:main' into usepcf
2026-02-12 13:50:53 -05:00
fjhenigman
57be9dc25b
Merge pull request #1 from radarhere/usepcf
...
Remove temporary buffer
2026-02-12 13:49:10 -05:00
Hugo van Kemenade
1457c6032a
Use uppercase format ID for PALM ( #9435 )
2026-02-12 15:13:27 +02:00
Andrew Murray
657d0414f0
Merge PFM into PPM
2026-02-12 21:51:01 +11:00
Andrew Murray
3795a1b916
Use uppercase format id
2026-02-12 21:47:04 +11:00
Hugo van Kemenade
913698b667
Update macOS tested Pillow versions ( #9431 )
2026-02-11 18:52:47 +02:00
Andrew Murray
27765189c8
Updated macOS tested Pillow versions
2026-02-11 23:51:33 +11:00
Hugo van Kemenade
a15f9c6121
Fix CVE number ( #9430 )
2026-02-11 22:48:11 +11:00
Andrew Murray
54ba4db542
Fix OOB Write with invalid tile extents ( #9427 )
...
Co-authored-by: Eric Soroos <eric-github@soroos.net>
2026-02-11 10:24:50 +11:00
Andrew Murray
723e764826
Improved coverage
2026-02-09 22:20:33 +11:00
Andrew Murray
612e3c24a4
Remove temporary buffer
2026-02-09 22:20:33 +11:00
Andrew Murray
0604d6a2c9
Remove unused argument
2026-02-09 22:20:31 +11:00
Andrew Murray
3e14bea593
Use assert_image_equal_tofile when similarity is zero
2026-02-09 22:18:01 +11:00
Andrew Murray
f78663b806
CI: Disable pip upgrade warning ( #9424 )
2026-02-09 22:16:01 +11:00
Hugo van Kemenade
657d6ea4b6
CI: Disable pip upgrade warning
2026-02-09 11:07:07 +02:00
Andrew Murray
ea9baaf99f
Merge branch 'main' into usepcf
2026-02-09 07:03:05 +11:00
Hugo van Kemenade
49bc134ee1
Use assert_image_equal* when similarity is zero ( #9421 )
2026-02-08 14:20:25 +02:00
Hugo van Kemenade
26a188c062
Simplify code in FpxImagePlugin.py ( #9423 )
2026-02-07 14:36:32 +02:00
Andrew Murray
fd8fa7df79
Simplified code
2026-02-07 11:19:18 +11:00
Andrew Murray
18cab11437
Use assert_image_equal* when similarity is zero
2026-02-06 08:34:13 +11:00
Frank Henigman
a90075a668
Add FontFile.to_imagefont().
2026-02-04 21:35:06 -05:00
Hugo van Kemenade
2a2638e58f
Update harfbuzz to 12.3.2 ( #9402 )
2026-02-04 18:34:10 +02:00
Hugo van Kemenade
8eddb86076
Updated zlib-ng to 2.3.3 ( #9418 )
2026-02-04 18:33:31 +02:00
Andrew Murray
1ac7691fe5
Updated zlib-ng to 2.3.3
2026-02-04 20:39:31 +11:00
Andrew Murray
e108e646da
Updated lcms2 to 2.18 ( #9387 )
2026-02-04 08:57:34 +11:00
Andrew Murray
62aa42f9da
Update dependency cibuildwheel to v3.3.1 ( #9416 )
2026-02-03 18:23:26 +11:00
renovate[bot]
508e9c9984
Update dependency cibuildwheel to v3.3.1
2026-02-03 01:32:07 +00:00
Hugo van Kemenade
095cdb3c4a
[pre-commit.ci] pre-commit autoupdate ( #9415 )
2026-02-02 21:46:00 +01:00
pre-commit-ci[bot]
7cbe8c4924
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-02-02 17:17:55 +00:00
pre-commit-ci[bot]
27924be4fd
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.14.14 )
- [github.com/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.12.0...26.1.0 )
- [github.com/PyCQA/bandit: 1.9.2 → 1.9.3](https://github.com/PyCQA/bandit/compare/1.9.2...1.9.3 )
- [github.com/Lucas-C/pre-commit-hooks: v1.5.5 → v1.5.6](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.5...v1.5.6 )
- [github.com/python-jsonschema/check-jsonschema: 0.36.0 → 0.36.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.36.0...0.36.1 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.19.0 → v1.22.0](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.19.0...v1.22.0 )
- [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.12.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.11.1...v2.12.1 )
2026-02-02 17:17:12 +00:00
Andrew Murray
fc4dbc3810
Remove unnecessary code in WmfHandler ( #9411 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-01-30 17:41:44 +02:00
Andrew Murray
799564dd52
Always call StubHandler open() when opening StubImageFile
2026-01-30 23:26:45 +11:00
Andrew Murray
0e8bb72a66
Patch libavif for svt-av1 4.0 compatibility ( #9413 )
2026-01-30 23:25:42 +11:00
Hugo van Kemenade
f86ad8b36d
Patch libavif for svt-av1 4.0 compatibility
2026-01-29 23:26:20 +01:00
Andrew Murray
29ff5fcb55
Use monkeypatch ( #9406 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2026-01-27 23:43:14 +02:00
Andrew Murray
6a5c588c5f
Fix docstring typo ( #9407 )
2026-01-27 08:58:11 +11:00
Hugo van Kemenade
a293273b31
Fix docstring typo
2026-01-26 16:10:37 +02:00
Andrew Murray
6564325e43
Encode using latin-1 in PSDraw text() to match the latin-1 specification in setfont() ( #9403 )
2026-01-26 13:25:27 +11:00
Andrew Murray
93c8a60784
Lazy import only required plugin: open 2.3-15.6x & save 2.2-9x faster ( #9398 )
2026-01-26 13:25:14 +11:00
Andrew Murray
b6178303a1
Improve error message ( #9392 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-25 23:01:02 +02:00
Hugo van Kemenade
d568c8d9e3
Check ext is not empty during save ( #145 )
2026-01-25 14:46:11 +02:00
Andrew Murray
d08d7ee99e
Check ext is not empty during save
2026-01-25 22:55:19 +11:00
Hugo van Kemenade
2b186fceb8
Use __spec__.parent instead of calculating each time
2026-01-24 23:02:39 +02:00
Hugo van Kemenade
c036185514
Ensure lower before checking if ext in EXTENSION
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-01-24 22:48:41 +02:00
Andrew Murray
d737687fc3
Updated harfbuzz to 12.3.2
2026-01-25 06:45:13 +11:00
Hugo van Kemenade
34814d8d2f
Improve wording
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-01-24 12:52:49 +02:00
Hugo van Kemenade
3968886cf6
format overrides file extension when saving ( #144 )
2026-01-24 11:08:37 +02:00
Andrew Murray
bc64ccbf28
Updated libpng to 1.6.54 ( #9397 )
2026-01-24 12:16:14 +11:00
Andrew Murray
76d3116ef0
Added logger messages to match init()
2026-01-24 09:44:31 +11:00
Andrew Murray
a6b36f0b6b
format overrides file extension when saving
2026-01-24 09:44:31 +11:00
Andrew Murray
a0f51493ca
Refer to lazy importing, as lazy loading of images is separate
2026-01-24 09:44:31 +11:00
Steve Dougherty
a6a701c4db
Match PSDraw text() encoding to the latin-1 specification in setfont()
...
Without this, characters that are in latin-1 but reflected differently in UTF-8 will not be properly rendered. For example,"ó" becomes "ó".
2026-01-21 06:01:00 -05:00
Hugo van Kemenade
e08f910db4
Improve PaletteFile coverage ( #9396 )
2026-01-20 13:04:44 +02:00
Hugo van Kemenade
d1974d76f7
Updated MinGW Python version ( #9400 )
2026-01-20 10:56:17 +02:00
Andrew Murray
5ea2d3a056
Updated MinGW Python version
2026-01-20 18:16:34 +11:00
Hugo van Kemenade
d23a899f23
Link to m from _imagingmath, except on Windows ( #9393 )
2026-01-19 12:21:29 +02:00
Hugo van Kemenade
096c479cfb
If plugin has already been imported and registered the extension, return early
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2026-01-19 11:28:42 +02:00
Hugo van Kemenade
7f38f980dd
Check that _EXTENSION_PLUGIN contains all registered extensions ( #143 )
2026-01-19 11:21:00 +02:00
Andrew Murray
b06118c2b3
Do not register empty extension
2026-01-19 17:24:28 +11:00
Andrew Murray
9c8059fdea
Cleanup .spider extension registered by test code during save
2026-01-19 17:18:30 +11:00
Andrew Murray
1baf141146
Check that _EXTENSION_PLUGIN contains all registered extensions
2026-01-19 17:13:43 +11:00
Hugo van Kemenade
6b9de40533
Lazy import only required plugin
2026-01-18 22:59:28 +02:00
Andrew Murray
ef8ff756fa
Updated libpng to 1.6.54
2026-01-15 12:10:01 +11:00
Andrew Murray
2e9d54887b
Improved coverage
2026-01-14 19:42:18 +11:00
Andrew Murray
7e208ccf9d
Change to ValueError when encoding an empty image
2026-01-13 23:49:10 +11:00
Andrew Murray
0f4becea73
Link to m from _imagingmath, except on Windows
2026-01-13 16:26:08 +11:00
Hugo van Kemenade
e2b87a0420
Fix joining rounded rectangle corners ( #9384 )
2026-01-12 12:21:06 +02:00
Andrew Murray
400ffbc18d
Raise EOFError when seeking too far
2026-01-10 14:37:18 +11:00
Andrew Murray
d7dfeeb7ad
Updated lcms2 to 2.18
2026-01-10 06:46:04 +11:00
Andrew Murray
426ad8307d
Fix joining rounded rectangle corners
2026-01-08 19:27:19 +11:00
Hugo van Kemenade
627d8743b7
Simplify test code ( #9382 )
2026-01-06 14:21:49 +02:00
Andrew Murray
dcd52ebf65
Simplified code
2026-01-06 09:56:56 +11:00
Andrew Murray
d6e0a8d174
[pre-commit.ci] pre-commit autoupdate ( #9381 )
2026-01-06 09:33:57 +11:00
pre-commit-ci[bot]
2210714a43
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.7...v0.14.10 )
- [github.com/psf/black-pre-commit-mirror: 25.11.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/25.11.0...25.12.0 )
- [github.com/pre-commit/mirrors-clang-format: v21.1.6 → v21.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.6...v21.1.8 )
- [github.com/python-jsonschema/check-jsonschema: 0.35.0 → 0.36.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.35.0...0.36.0 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.18.0 → v1.19.0](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.18.0...v1.19.0 )
- [github.com/tox-dev/tox-ini-fmt: 1.7.0 → 1.7.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.7.0...1.7.1 )
2026-01-05 17:20:09 +00:00
Hugo van Kemenade
3d7801417a
Move from deprecated getdata to get_flattened_data ( #9373 )
2026-01-04 15:36:32 +02:00
Andrew Murray
a85d3b135d
Only update Python palette when loading an image if rawmode was different ( #9309 )
2026-01-04 06:20:56 +11:00
Andrew Murray
932aa68d2a
Add seven-day cooldown to Renovate ( #9380 )
2026-01-04 05:22:19 +11:00
Hugo van Kemenade
fe236d77a5
Add seven-day cooldown to Renovate
2026-01-03 11:32:19 +02:00
Andrew Murray
bc0e2c0e61
Remove add-imaging-libs option from setup.py ( #9378 )
...
Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
2026-01-03 20:18:57 +11:00
Hugo van Kemenade
e66dd607f0
Update xorgproto to 2025.1 ( #9379 )
2026-01-03 10:56:55 +02:00
Hugo van Kemenade
d5d8a91597
Replace shell: cmd with shell: bash ( #9359 )
2026-01-03 10:12:48 +02:00
Andrew Murray
b8351fde41
Added type hints to map_metadata_keys() ( #9337 )
2026-01-03 17:08:17 +11:00
Andrew Murray
36cf82ae76
Updated xorgproto to 2025.1
2026-01-03 16:25:37 +11:00
renovate[bot]
525842215f
Update dependency mypy to v1.19.1 ( #9374 )
2026-01-03 13:59:38 +11:00
renovate[bot]
844b10f894
Update github-actions ( #9375 )
2026-01-03 13:55:50 +11:00
Andrew Murray
555fb8371c
Move from deprecated getdata to get_flattened_data
2026-01-03 08:16:37 +11:00
Hugo van Kemenade
0a1d6c3c61
Remove Sphinx dependency from mypy ( #9370 )
2026-01-02 18:30:53 +02:00
mergify[bot]
00ec73dfd1
Fix unclosed file warning ( #9371 )
2026-01-02 12:33:25 +00:00
Andrew Murray
e924cfd181
Fix unclosed file warning
2026-01-02 21:32:22 +11:00
Hugo van Kemenade
2360d0df17
Revert "Use minimum supported Python version for Lint ( #9364 )"
...
This reverts commit 900636e7db .
2026-01-02 12:31:22 +02:00
Hugo van Kemenade
499b796556
Remove Sphinx dependency from mypy
2026-01-02 12:30:14 +02:00
Andrew Murray
1918c6811d
Merge branch 'main' into wrap
2026-01-02 20:44:12 +11:00
Andrew Murray
5b677ca1c6
Assert palette is not None
2026-01-02 20:31:47 +11:00
Andrew Murray
b71109d435
Merge branch 'main' into load_palette
2026-01-02 20:21:23 +11:00
Andrew Murray
4337139f0c
12.2.0.dev0 version bump
2026-01-02 20:16:49 +11:00
Andrew Murray
46f45f674d
12.1.0 version bump
2026-01-02 17:03:05 +11:00
Hugo van Kemenade
c9ac097edb
Simplify band splitting ( #9291 )
2026-01-02 07:42:46 +02:00
Andrew Murray
3baedf2648
Deprecate getdata(), in favour of new get_flattened_data() ( #9292 )
2026-01-02 10:59:56 +11:00
Hugo van Kemenade
b51a036685
Specify APNG duration type when opening ( #9368 )
2026-01-01 23:28:16 +02:00
Hugo van Kemenade
8d08e31533
Add release notes for #9348 ( #9369 )
2026-01-01 20:24:18 +02:00
Andrew Murray
432707ea81
Added release notes for #9348
2026-01-02 04:18:15 +11:00
Andrew Murray
2d589107fb
Specify APNG duration type when opening
2026-01-02 03:49:56 +11:00
Hugo van Kemenade
8dee8dd5ba
Add ImageFile context manager ( #9367 )
2026-01-01 15:50:26 +02:00
Hugo van Kemenade
b2d9bc3c76
Support saving APNG float durations ( #9365 )
2026-01-01 15:49:03 +02:00
Hugo van Kemenade
f130c10a9c
Allow 1 mode images in MorphOp ( #9348 )
2026-01-01 15:30:47 +02:00
Andrew Murray
ce11a0c499
Added ImageFile context manager
2026-01-01 20:31:22 +11:00
Andrew Murray
51b35d17e1
Added fp type hint
2026-01-01 20:31:22 +11:00
Andrew Murray
a868c29eb1
Assert fp is not None ( #8617 )
2026-01-01 20:01:38 +11:00
Andrew Murray
43f8efad79
Added release notes for #9350 ( #9366 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-01 18:41:34 +11:00
Andrew Murray
91f219fdcf
Support saving float durations
2026-01-01 17:32:59 +11:00
Andrew Murray
900636e7db
Use minimum supported Python version for Lint ( #9364 )
2026-01-01 17:31:36 +11:00
Andrew Murray
d62955031b
Allow for duplicate font variation styles ( #9362 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-01 08:53:04 +11:00
Andrew Murray
2ebfe30ae3
Added return type to ImageFile _close_fp() ( #9356 )
2025-12-31 14:47:50 +02:00
Andrew Murray
19910ed03e
Call parent verify method ( #9357 )
2025-12-31 14:47:33 +02:00
Andrew Murray
6b892c495c
Merge branch 'main' into imagemorph_get_on_pixels
2025-12-31 23:10:34 +11:00
Andrew Murray
0a9a47fb9b
Update ImageMorph documentation ( #9349 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-31 14:02:31 +02:00
Andrew Murray
15c9d11f35
Replace pre-commit with prek ( #9360 )
2025-12-31 14:32:39 +11:00
Hugo van Kemenade
81e80f7a50
Install and run tox/lint/mypy via uv
2025-12-29 19:35:41 +02:00
Hugo van Kemenade
72931475f2
Replace shell: cmd with shell: bash
2025-12-29 14:57:25 +02:00
Andrew Murray
79357a2718
Revert "Disable https://docs.zizmor.sh/audits/#obfuscation "
...
This reverts commit 9342e209b2 .
2025-12-29 14:44:12 +02:00
Andrew Murray
3abb62ed29
Do not use cmd shell
2025-12-29 14:44:03 +02:00
Hugo van Kemenade
080afe1bf7
Replace pre-commit with prek
2025-12-28 23:46:02 +02:00
Andrew Murray
2ebb3e9964
Use different variables for Image and ImageFile instances ( #9316 )
2025-12-28 23:09:46 +02:00
Andrew Murray
a04c9806b1
Return LUT from LutBuilder build_default_lut() ( #9350 )
2025-12-28 23:03:47 +02:00
Andrew Murray
faa843e9c2
Simplify WebP code ( #9329 )
2025-12-28 23:01:23 +02:00
Andrew Murray
66e3d65a72
Update harfbuzz to 12.3.0 ( #9355 )
2025-12-28 17:04:44 +02:00
Andrew Murray
4be5b8a2fb
Use unsigned long for DWORD ( #9352 )
2025-12-28 07:34:57 +11:00
Andrew Murray
e85700fe48
Test PyQt6 on Python 3.14 on Windows ( #9353 )
2025-12-27 15:54:10 +02:00
Andrew Murray
a704711404
Allow 1 mode images in apply() and match()
2025-12-23 14:13:51 +11:00
Andrew Murray
9b7200d2b4
Allow 1 mode images in MorphOp get_on_pixels()
2025-12-23 12:50:26 +11:00
Andrew Murray
ca21683316
Cast to UINT32 before shifting bits ( #9347 )
2025-12-22 18:12:10 +11:00
Hugo van Kemenade
4cbef1667f
Revert "Pin docutils to 0.21 ( #9344 )" ( #9346 )
2025-12-22 08:09:20 +02:00
Andrew Murray
9dd756f9fe
Revert "Pin docutils to 0.21 ( #9344 )"
...
This reverts commit 6df6cd4480 .
2025-12-22 09:34:03 +11:00
Hugo van Kemenade
00e2198eeb
Test 32-bit Windows on Windows Server 2022 ( #9345 )
2025-12-21 23:36:12 +02:00
Andrew Murray
9d3555c37e
Test Windows Server 2022
2025-12-21 22:39:19 +11:00
Andrew Murray
6df6cd4480
Pin docutils to 0.21 ( #9344 )
2025-12-20 23:51:05 +11:00
Hugo van Kemenade
205e52b1ee
Update xz to 5.8.2 ( #9343 )
2025-12-18 00:43:51 +02:00
Andrew Murray
6bf4313a68
Updated xz to 5.8.2
2025-12-18 07:44:40 +11:00
Hugo van Kemenade
8494b06c71
Correct variable type ( #9335 )
2025-12-11 18:38:35 +02:00
Andrew Murray
6a769da21b
Corrected variable type
2025-12-11 23:27:29 +11:00
Andrew Murray
2c6fd36f10
Docs: update major bump cadence ( #9334 )
2025-12-11 20:02:54 +11:00
Hugo van Kemenade
c0b8c2f0a2
Updated libjpeg-turbo to 3.1.3 ( #9333 )
2025-12-11 09:47:37 +02:00
Hugo van Kemenade
79ae888d45
Docs: update major bump cadence
2025-12-11 09:29:54 +02:00
Andrew Murray
11d599c798
Added documentation
2025-12-11 18:20:58 +11:00
Andrew Murray
b3da65df94
Updated libjpeg-turbo to 3.1.3
2025-12-11 10:53:04 +11:00
Hugo van Kemenade
1f424efd25
Updated zlib-ng to 2.3.2 ( #9324 )
2025-12-10 23:13:28 +02:00
Andrew Murray
4b2d4811e1
Added scaling argument to wrap()
2025-12-11 07:51:12 +11:00
Andrew Murray
16691657cc
Added height argument to wrap()
2025-12-11 07:51:11 +11:00
Andrew Murray
9ac4edc54b
Added wrap()
2025-12-11 07:51:11 +11:00
Andrew Murray
374957cefd
Fix ResourceWarnings in selftest.py ( #9332 )
2025-12-11 07:45:47 +11:00
Hugo van Kemenade
6d493aa817
Fix testing good P mode BMP images ( #9319 )
2025-12-10 22:04:23 +02:00
Hugo van Kemenade
33204aac4d
Add release notes for #9070 ( #9320 )
2025-12-10 21:59:36 +02:00
Hugo van Kemenade
4eb7cd6f29
Improve type hints ( #9317 )
2025-12-10 21:58:50 +02:00
Hugo van Kemenade
76532808f4
Fix ResourceWarning in selftest.py
2025-12-10 15:26:14 +02:00
Andrew Murray
3332c1d82e
Updated libpng to 1.6.53 ( #9325 )
2025-12-10 18:23:16 +11:00
Andrew Murray
b3d7263f74
Test Python 3.15 pre-release ( #9331 )
2025-12-07 22:28:13 +11:00
Hugo van Kemenade
a01fa7d08e
Test Python 3.15 pre-release
2025-12-07 11:12:38 +02:00
Andrew Murray
db7a994ad6
Updated libpng to 1.6.53
2025-12-06 10:15:33 +11:00
Andrew Murray
07fee96880
[pre-commit.ci] pre-commit autoupdate ( #9318 )
2025-12-05 20:53:18 +11:00
Andrew Murray
fd1ddd6d56
Use consistent type
2025-12-03 22:46:42 +11:00
Andrew Murray
7c3ece07c9
Changed type so that im has fp attribute
2025-12-03 22:46:42 +11:00
Andrew Murray
61b1c3c841
Do not change variable type
2025-12-03 22:46:42 +11:00
Andrew Murray
46ac30aa80
Use different variables for Image and ImageFile instances
2025-12-03 22:46:42 +11:00
Andrew Murray
4024f0287d
Assert image type
2025-12-03 22:46:42 +11:00
Andrew Murray
4d511d86ed
Changed argument type to match use
2025-12-03 22:46:42 +11:00
Andrew Murray
fd3d44d2ef
Updated zlib-ng to 2.3.2
2025-12-03 22:38:32 +11:00
Andrew Murray
24b1702360
Update actions/checkout action to v6 ( #9323 )
2025-12-03 20:09:44 +11:00
mergify[bot]
ae45187719
Update dependency mypy to v1.19.0 ( #9322 )
2025-12-03 08:47:56 +00:00
renovate[bot]
b633f49b9c
Update actions/checkout action to v6
2025-12-03 07:14:19 +00:00
renovate[bot]
7adecb792c
Update dependency mypy to v1.19.0
2025-12-03 07:14:12 +00:00
Andrew Murray
b428f7209f
Open a macOS window on CI
2025-12-02 23:53:45 +11:00
Andrew Murray
04ee0cc3b1
Raise error if subprocess gives non-zero returncode
2025-12-02 23:06:18 +11:00
Andrew Murray
dbc5a4fc90
Added release notes for #9070
2025-12-02 22:26:23 +11:00
Andrew Murray
b3d9ba8e88
Removed unused files
2025-12-02 10:42:14 +11:00
Andrew Murray
47c6aae0ca
Fixed testing good P mode BMP images
2025-12-02 10:40:43 +11:00
Andrew Murray
9342e209b2
Disable https://docs.zizmor.sh/audits/#obfuscation
2025-12-02 10:21:55 +11:00
pre-commit-ci[bot]
ce3e085751
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.3...v0.14.7 )
- [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...25.11.0 )
- [github.com/PyCQA/bandit: 1.8.6 → 1.9.2](https://github.com/PyCQA/bandit/compare/1.8.6...1.9.2 )
- [github.com/pre-commit/mirrors-clang-format: v21.1.2 → v21.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.2...v21.1.6 )
- [github.com/python-jsonschema/check-jsonschema: 0.34.1 → 0.35.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.34.1...0.35.0 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.16.2 → v1.18.0](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.16.2...v1.18.0 )
- [github.com/sphinx-contrib/sphinx-lint: v1.0.1 → v1.0.2](https://github.com/sphinx-contrib/sphinx-lint/compare/v1.0.1...v1.0.2 )
- [github.com/tox-dev/pyproject-fmt: v2.11.0 → v2.11.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.11.0...v2.11.1 )
2025-12-01 17:26:21 +00:00
Andrew Murray
b0a5bc2a6b
Allow window ID to be passed to ImageGrab.grab() on macOS ( #9070 )
2025-12-01 20:42:09 +11:00
Andrew Murray
370da461cf
Updated libpng to 1.6.51 ( #9305 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-01 10:02:09 +11:00
Hugo van Kemenade
77e16b1030
Apply encoder options when saving multiple PNG frames ( #9300 )
2025-11-30 22:21:42 +02:00
Hugo van Kemenade
2150f088ed
Read all non-zero transparency from mode 1 PNG images as 255 ( #9282 )
2025-11-30 22:20:38 +02:00
Hugo van Kemenade
972bb4c39b
Test ImageFont.ImageFont, in case freetype2 is not supported ( #9287 )
2025-11-30 22:20:15 +02:00
Hugo van Kemenade
c9095cb02a
Support writing IFD, SIGNED_RATIONAL and InkNames TIFF tags ( #9276 )
2025-11-30 22:14:18 +02:00
Hugo van Kemenade
416f02338b
Remove unused modes ( #9275 )
2025-11-30 22:12:22 +02:00
Hugo van Kemenade
89795df94f
Use different variables for Image and ImageFile instances ( #9268 )
2025-11-30 22:11:22 +02:00
Hugo van Kemenade
93aa55cece
Updated brotli to 1.2.0 ( #9284 )
2025-11-30 22:08:30 +02:00
Hugo van Kemenade
8d7dc9db5b
Update libimagequant to 4.4.1 ( #9301 )
2025-11-30 22:07:42 +02:00
Hugo van Kemenade
4a733e5092
Correct allocating new color to RGBA palette ( #9313 )
2025-11-30 21:57:22 +02:00
Hugo van Kemenade
da76f6d99b
Close image on ImageFont exception ( #9304 )
2025-11-30 21:56:35 +02:00
Hugo van Kemenade
65c32ecca4
retina -> Retina
2025-11-30 21:55:59 +02:00
Hugo van Kemenade
5543e85ad2
Update zlib-ng to 2.3.1, except on manylinux2014 aarch64 ( #9312 )
2025-11-29 11:13:07 +02:00
Andrew Murray
37da2ba381
Corrected allocating new color to RGBA palette
2025-11-29 17:22:44 +11:00
Andrew Murray
8814d42fd9
Update zlib-ng to 2.3.1, except on manylinux2014 aarch64
2025-11-29 14:24:43 +11:00
Andrew Murray
d06c8b3591
Test drawing a new color onto a dirty palette
2025-11-27 13:12:42 +11:00
Andrew Murray
6a9960e8c1
Only update Python palette if rawmode was different to the mode
2025-11-25 23:40:34 +11:00
Hugo van Kemenade
ec40c546d7
Updated Ubuntu version ( #9306 )
2025-11-22 13:40:52 +02:00
Andrew Murray
7055937eb1
Updated Ubuntu version
2025-11-22 17:47:09 +11:00
Andrew Murray
cce73b1e89
Close image on ImageFont exception
2025-11-19 21:52:21 +11:00
Andrew Murray
88247a9ef3
Updated version
2025-11-19 21:31:27 +11:00
Andrew Murray
71b3e5c015
Updated harfbuzz to 12.2.0 ( #9289 )
2025-11-18 18:00:44 +11:00
Andrew Murray
75280b8b0f
Merge branch 'main' into brotli
2025-11-15 19:59:23 +11:00
Andrew Murray
6107b9e82d
Update libimagequant to 4.4.1
2025-11-15 07:41:59 +11:00
Hugo van Kemenade
38c6c478e0
Reapply "Use macos-latest for iOS arm64 simulator" ( #9259 )
2025-11-14 14:17:40 +02:00
Andrew Murray
bc1237ef3d
Update dependency cibuildwheel to v3.3.0
2025-11-14 21:22:58 +11:00
Andrew Murray
142c1320b2
Apply encoder options when saving multiple PNG frames
2025-11-14 20:08:49 +11:00
Andrew Murray
3b8fd040de
Escape period in pre-commit-config ( #9036 )
2025-11-10 22:35:49 +11:00
Andrew Murray
8fbb801275
Add Apache-2.0 notice to IcoImagePlugin ( #8947 )
2025-11-10 21:56:10 +11:00
Andrew Murray
921a470506
Simplified code
2025-11-06 18:24:10 +11:00
Hugo van Kemenade
b33a31524a
Add Fedora 43 ( #9290 )
2025-11-05 19:24:43 +02:00
Andrew Murray
18c7f87fe3
Added Fedora 43
2025-11-05 23:21:46 +11:00
Andrew Murray
e44ce2f00e
Updated harfbuzz to 12.2.0
2025-11-05 19:09:49 +11:00
Andrew Murray
b59e031256
[pre-commit.ci] pre-commit autoupdate ( #9288 )
2025-11-04 08:03:42 +11:00
Hugo van Kemenade
666dd52478
Drop removed rule
2025-11-03 19:56:21 +02:00
pre-commit-ci[bot]
85d783fb52
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.3 )
- [github.com/python-jsonschema/check-jsonschema: 0.34.0 → 0.34.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.34.0...0.34.1 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.14.2 → v1.16.2](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.14.2...v1.16.2 )
- [github.com/sphinx-contrib/sphinx-lint: v1.0.0 → v1.0.1](https://github.com/sphinx-contrib/sphinx-lint/compare/v1.0.0...v1.0.1 )
- [github.com/tox-dev/pyproject-fmt: v2.7.0 → v2.11.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.7.0...v2.11.0 )
- [github.com/tox-dev/tox-ini-fmt: 1.6.0 → 1.7.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.6.0...1.7.0 )
2025-11-03 17:20:17 +00:00
Andrew Murray
b3d9bd9950
Test ImageFont.ImageFont, in case freetype2 is not supported
2025-11-03 23:07:15 +11:00
Andrew Murray
1a27f958d7
Updated brotli to 1.2.0
2025-10-31 18:19:05 +11:00
Andrew Murray
dfd24ba615
Read all non-zero transparency from mode 1 images in the same way
2025-10-30 22:03:39 +11:00
Hugo van Kemenade
e36e67081a
Simplify code now that I;16* modes are the only IMAGING_TYPE_SPECIAL ( #9263 )
2025-10-27 15:19:54 +02:00
Hugo van Kemenade
b90a00eccb
Remove BytesIO from DdsImagePlugin ( #9273 )
2025-10-27 15:16:27 +02:00
Hugo van Kemenade
ce3323afa9
Update github-actions ( #9277 )
2025-10-27 07:23:50 +02:00
renovate[bot]
29c5ffe745
Update github-actions
2025-10-27 02:48:10 +00:00
Hugo van Kemenade
cc4ca5bf17
Added type hints ( #9269 )
2025-10-24 16:56:36 +03:00
Hugo van Kemenade
148a19eee4
Fix ZeroDivisionError in DdsImagePlugin ( #9272 )
2025-10-24 16:44:46 +03:00
Hugo van Kemenade
a63ba0e3b6
Correct __getitem__ return type ( #9264 )
2025-10-24 16:42:14 +03:00
Andrew Murray
82cdaa456c
Support writing SIGNED_RATIONAL tag types
2025-10-24 03:55:45 +11:00
Andrew Murray
ddd4f00720
Support writing IFD tag types
2025-10-23 20:03:14 +11:00
Andrew Murray
b04d8792f5
Support writing InkNames
2025-10-23 08:53:00 +11:00
Andrew Murray
109ee1569d
Removed I;32L rawmode
2025-10-22 22:24:15 +11:00
Andrew Murray
208bbe95f9
Remove I;32L and I;32B modes
2025-10-22 22:22:00 +11:00
Andrew Murray
b1e2f2e652
Improved coverage
2025-10-22 20:08:22 +11:00
Andrew Murray
7d6f2ce90b
Removed BytesIO
2025-10-21 23:35:17 +11:00
Andrew Murray
e1f4352ce9
Fixed ZeroDivisionError
2025-10-21 23:11:18 +11:00
Andrew Murray
e90bb1559c
Rearranged code
2025-10-20 21:00:29 +11:00
Andrew Murray
4b90888a7d
Added type hints
2025-10-20 19:38:29 +11:00
Andrew Murray
51e3fe45bf
Use different variables for Image and ImageFile instances
2025-10-20 19:18:00 +11:00
Hugo van Kemenade
76f04b46c5
Fix warnings ( #9257 )
2025-10-17 21:18:10 +03:00
Hugo van Kemenade
2d23257595
Update macOS tested Pillow versions ( #9265 )
2025-10-17 15:29:08 +03:00
Andrew Murray
03d48f4011
Updated macOS tested Pillow versions
2025-10-17 23:05:33 +11:00
Andrew Murray
e969fa7aea
Correct __getitem__ return type
2025-10-17 06:14:02 +11:00
Andrew Murray
ae43b36030
Simplified code now that I;16* modes are the only IMAGING_TYPE_SPECIAL
2025-10-16 20:55:56 +11:00
Hugo van Kemenade
5122c8356d
Remove Fedora 41 ( #9260 )
2025-10-16 07:19:52 +03:00
Yan-Ke Guo
424168b69c
Merge branch 'main' into main
2025-10-16 09:46:04 +08:00
Andrew Murray
ae7d28eddb
Removed Fedora 41
2025-10-16 12:03:13 +11:00
Andrew Murray
933df2450d
Reapply "Use macos-latest for iOS arm64 simulator"
...
This reverts commit 592b2f820a .
2025-10-16 07:21:15 +11:00
Hugo van Kemenade
3620d48459
12.1.0.dev0 version bump
2025-10-15 21:28:16 +03:00
Hugo van Kemenade
693df7b42c
12.0.0 version bump
2025-10-15 20:06:44 +03:00
Hugo van Kemenade
d175bb88a3
Use macos-14 for iOS arm64 simulator ( #9258 )
2025-10-15 19:22:42 +03:00
Hugo van Kemenade
592b2f820a
Revert "Use macos-latest for iOS arm64 simulator"
2025-10-15 19:00:54 +03:00
Andrew Murray
c680ff029f
Merge branch 'main' into main
2025-10-15 22:31:20 +11:00
Andrew Murray
7d89946688
Removed duplicate library
2025-10-15 22:21:51 +11:00
Andrew Murray
3eecafd62c
Fixed warning
2025-10-15 22:19:38 +11:00
mergify[bot]
5dddb2ce94
Use enums for Modes and RawModes in C ( #9256 )
2025-10-15 10:58:36 +00:00
mergify[bot]
e7b72a3bbd
Add ImageText ( #9098 )
2025-10-15 10:49:52 +00:00
mergify[bot]
864d4b6e09
Shift bits before making value negative ( #9255 )
2025-10-15 10:21:37 +00:00
mergify[bot]
994a9def5d
Install arro3 dependencies when type checking ( #9254 )
2025-10-15 09:37:01 +00:00
Andrew Murray
d5e1601b32
Improved documentation
2025-10-15 20:02:12 +11:00
Andrew Murray
e533ccccfc
Merge branch 'main' into imagetext
2025-10-15 19:38:38 +11:00
Andrew Murray
95a85dc669
Use snake case
2025-10-15 19:38:30 +11:00
Andrew Murray
4889863139
Renamed ImageText class to Text
2025-10-15 19:38:25 +11:00
Andrew Murray
4fbe28a3a2
Merge branch 'main' into mode_enums
2025-10-15 19:25:58 +11:00
Andrew Murray
78b0e06dbb
Shift bits before making value negative
2025-10-15 19:07:21 +11:00
Hugo van Kemenade
5ee57e4c83
Support saving variable length rational TIFF tags by default ( #9241 )
2025-10-15 11:06:57 +03:00
Hugo van Kemenade
1148b7af72
Check return types ( #9045 )
2025-10-15 11:06:20 +03:00
Hugo van Kemenade
7a6664d70b
Added four private SGI TIFF tags ( #9245 )
2025-10-15 11:01:35 +03:00
Andrew Murray
ef323ab7d7
Install dependencies when type checking
2025-10-15 18:58:55 +11:00
Hugo van Kemenade
9e3a70a514
Band names for arrow exported images ( #9099 )
2025-10-15 10:56:32 +03:00
Hugo van Kemenade
608619c17f
Use macos-latest for iOS arm64 simulator ( #9250 )
2025-10-15 10:55:22 +03:00
Andrew Murray
9cb36a91d0
Upgrade from macos-13 ( #9212 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-10-15 10:53:49 +03:00
Hugo van Kemenade
9042234052
If pasting an image onto itself at a lower position, copy from bottom ( #8882 )
2025-10-15 10:51:31 +03:00
Hugo van Kemenade
1e5237af77
Removed unused access for I;32L and I;32B ( #9238 )
2025-10-15 10:50:51 +03:00
Hugo van Kemenade
33eb16bb39
Update comment: ImagingHistogramInstance can use two bands ( #9251 )
2025-10-14 15:08:33 +03:00
Andrew Murray
2e74354e92
Corrected scientific-python-nightly-wheels pattern ( #9252 )
2025-10-14 23:06:07 +11:00
Andrew Murray
8de7e7763e
Corrected scientific-python-nightly-wheels pattern
2025-10-14 21:47:56 +11:00
Andrew Murray
55a4901bba
Removed BGR;15 and BGR;16 modes
2025-10-14 20:34:03 +11:00
Andrew Murray
a591000055
Removed BGR;24 and BGR;32
2025-10-14 20:31:42 +11:00
Andrew Murray
2caa504991
ImagingHistogramInstance can use two bands
2025-10-14 18:57:26 +11:00
Andrew Murray
55f3e63b22
Revert "Use macos-14 for iOS arm64 simulator ( #9161 )"
...
This reverts commit c214ad8c8d .
2025-10-14 18:25:56 +11:00
Andrew Murray
014f421221
Removed assert
2025-10-14 08:48:22 +11:00
Andrew Murray
c60b36d0a7
Run sdist when scheduled, but do not upload to scientific-python-nightly-wheels index ( #9248 )
2025-10-13 15:24:04 +03:00
Hugo van Kemenade
4892244908
Update 12.0.0 release notes ( #9247 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-10-13 00:31:32 +03:00
Andrew Murray
5d09e0d325
Update dependency cibuildwheel to v3.2.1 ( #9246 )
2025-10-12 22:51:38 +11:00
Andrew Murray
416fb81074
Removed shebang lines and executable flags ( #9179 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-10-12 13:19:34 +03:00
renovate[bot]
1b2121c7a1
Update dependency cibuildwheel to v3.2.1
2025-10-12 09:35:05 +00:00
Andrew Murray
e36bf768c5
Added four private SGI tags
2025-10-12 15:58:22 +11:00
Andrew Murray
c874256132
Support saving variable length rational TIFF tags by default
2025-10-12 07:08:52 +11:00
Hugo van Kemenade
fbdf607c7f
Wheels CI: Check number of expected dists ( #9239 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-10-11 17:13:22 +03:00
wiredfool
52413cf0dc
Update Tests/test_arro3.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-10-11 08:25:07 +01:00
Andrew Murray
a66d0d1f05
Assert getpalette does not return None
2025-10-11 14:48:13 +11:00
Andrew Murray
755ebb8307
Assert getcolors does not return None
2025-10-11 14:48:01 +11:00
Andrew Murray
76ab80f10b
Assert getpixel returns tuple
2025-10-11 14:48:01 +11:00
wiredfool
b4fe17cecf
More typey lint
2025-10-10 15:39:47 +01:00
wiredfool
13e4e587e6
added import-not-found ignores, removed call-overload ignores
2025-10-10 15:34:11 +01:00
Andrew Murray
324258ca7a
Split parametrization
2025-10-10 15:19:25 +01:00
Hugo van Kemenade
9fd4af55f7
Remove Pillow version from PDF comment ( #9176 )
2025-10-10 16:54:06 +03:00
Hugo van Kemenade
c47b8badb3
Assert image type ( #8845 )
2025-10-10 16:43:14 +03:00
Hugo van Kemenade
ef8d5d3c2a
Support saving variable length rational TIFF tags ( #9111 )
2025-10-10 16:40:37 +03:00
Andrew Murray
5d3086b01f
Removed unused access for I;32L and I;32B
2025-10-10 22:44:09 +11:00
wiredfool
bd6e70fccd
Check against mode 1 instead of input mode for Chops.c
2025-10-10 12:42:58 +01:00
wiredfool
2b4c7c011e
Typing import suggestion
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-10 11:55:45 +01:00
Hugo van Kemenade
6d6f0496d9
Build Python 3.14 on macOS 10.15 ( #9234 )
2025-10-10 13:40:56 +03:00
Hugo van Kemenade
3a8b9052e0
Added ImageDraw alpha channel examples ( #9201 )
2025-10-10 13:13:07 +03:00
Hugo van Kemenade
7cb074f095
Test GD transparency ( #9196 )
2025-10-10 12:59:22 +03:00
Hugo van Kemenade
10c674510f
Test mode when saving PPM images ( #9195 )
2025-10-10 12:58:56 +03:00
Hugo van Kemenade
8e3784f37b
Test unsupported BMP bitfields layout ( #9193 )
2025-10-10 12:58:45 +03:00
Hugo van Kemenade
396755ed1b
Test largest CUR cursor ( #9191 )
2025-10-10 12:58:15 +03:00
Hugo van Kemenade
274a65b5d0
Do not unnecessarily update FLI __offset ( #9184 )
2025-10-10 12:56:14 +03:00
Hugo van Kemenade
71e6660f5d
Fill alpha channel when quantizing RGB images ( #9133 )
2025-10-10 12:50:38 +03:00
Hugo van Kemenade
8c42abd946
Allow RGBA palettes to work with ImageOps.expand() ( #9138 )
2025-10-10 12:48:12 +03:00
Hugo van Kemenade
c22e7af885
Fixed loading rotated PCD images ( #9177 )
2025-10-10 12:45:28 +03:00
Andrew Murray
c40ba22a5f
Cast before shifting bits ( #9236 )
2025-10-10 07:58:32 +11:00
Andrew Murray
a2ef220b32
Cast before additional shifting
2025-10-09 21:01:42 +11:00
Andrew Murray
1d4cda65cf
Cast to UINT32 before shifting bits
2025-10-09 21:01:17 +11:00
Hugo van Kemenade
6b4bb79b44
Use _ensure_mutable() ( #9200 )
2025-10-08 19:22:04 +03:00
Hugo van Kemenade
797d83f818
Seek past BeginBinary data when parsing EPS metadata ( #9211 )
2025-10-08 19:20:58 +03:00
Andrew Murray
cec262ce6b
Do not allow negative offset with memory mapping ( #9235 )
2025-10-08 19:02:27 +11:00
Andrew Murray
6d19b8adef
Do not allow negative offset with memory mapping
2025-10-08 17:08:39 +11:00
Andrew Murray
7259685ba4
Build Python 3.14 on macOS 10.15
2025-10-07 09:05:53 +11:00
Hugo van Kemenade
8b41e5b479
[pre-commit.ci] pre-commit autoupdate ( #9233 )
2025-10-06 20:49:19 +03:00
pre-commit-ci[bot]
09e571780e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.11...v0.13.3 )
- [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...25.9.0 )
- [github.com/pre-commit/mirrors-clang-format: v21.1.0 → v21.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.0...v21.1.2 )
- [github.com/python-jsonschema/check-jsonschema: 0.33.3 → 0.34.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.33.3...0.34.0 )
- [github.com/zizmorcore/zizmor-pre-commit: v1.12.1 → v1.14.2](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.12.1...v1.14.2 )
- [github.com/tox-dev/pyproject-fmt: v2.6.0 → v2.7.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.6.0...v2.7.0 )
2025-10-06 17:29:41 +00:00
Hugo van Kemenade
c807f6508b
Clear C image when MPO frame image size changes ( #9208 )
2025-10-05 11:53:06 +03:00
Andrew Murray
2275993541
When converting RGBA to PA, use RGB to P quantization ( #9153 )
2025-10-05 06:10:59 +11:00
Andrew Murray
b3d1836907
Update harfbuzz to 12.1.0 ( #9218 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-04 19:49:09 +10:00
Andrew Murray
762bdce34f
Merge branch 'main' into rgba_pa
2025-10-04 18:58:00 +10:00
Hugo van Kemenade
1a1194abe7
Remove use of sudo from libavif and raqm install scripts ( #9231 )
2025-10-04 11:13:10 +03:00
Hugo van Kemenade
3ced6ca78f
Load image palette into Python after converting to PA ( #9152 )
2025-10-04 11:02:35 +03:00
Hugo van Kemenade
a2e2939240
Check all reserved bytes in FLI header ( #9183 )
2025-10-04 11:02:10 +03:00
Hugo van Kemenade
5a5c51c7a2
Limit length of read operation in ImageFont._load_pilfont_data() ( #9181 )
2025-10-04 11:01:36 +03:00
Hugo van Kemenade
8324b49394
Update libtiff to 4.7.1 ( #9222 )
2025-10-04 10:59:35 +03:00
Hugo van Kemenade
ffe00106f5
Update FreeType to 2.14.1 on macOS and Linux wheels ( #9217 )
2025-10-04 10:59:17 +03:00
Andrew Murray
0c0ff7c38f
Removed use of sudo from libavif and raqm install scripts
2025-10-03 20:27:42 +10:00
Hugo van Kemenade
88c2c11612
Update Python version ( #9230 )
2025-10-02 23:56:03 +03:00
Andrew Murray
7cb518031a
Updated FreeType to 2.14.1 on macOS and Linux
2025-10-02 22:21:30 +10:00
Andrew Murray
0bcfd3b55c
Updated Python version
2025-10-02 21:35:26 +10:00
Andrew Murray
a953d86b4d
Python 3.9 wheels are no longer needed ( #9214 )
2025-10-01 23:11:53 +10:00
Hugo van Kemenade
6b10d4c1d0
Remove unused Image _expand() ( #9227 )
2025-09-30 19:16:40 +03:00
Andrew Murray
e2a8e217da
Removed _expand()
2025-09-29 23:18:47 +10:00
Andrew Murray
637f25dc2c
Revert "Allow cmake<4 when building libtiff"
...
This reverts commit 8141221201 .
2025-09-25 21:01:33 +10:00
Andrew Murray
2c43883073
Updated libtiff to 4.7.1
2025-09-25 21:01:16 +10:00
renovate[bot]
d42e537efe
Update dependency cibuildwheel to v3.2.0 ( #9219 )
2025-09-23 12:17:40 +10:00
Hugo van Kemenade
4aef5d0743
Update Ghostscript to 10.6.0 ( #9202 )
2025-09-21 10:44:53 +03:00
Hugo van Kemenade
de4c4ae485
Update openjpeg to 2.5.4 ( #9215 )
2025-09-21 10:44:34 +03:00
Hugo van Kemenade
24ace1d1ef
Update harfbuzz to 11.5.0 ( #9203 )
2025-09-21 10:43:56 +03:00
Andrew Murray
913a6d8390
Updated harfbuzz to 11.5.0
2025-09-21 07:45:03 +10:00
Andrew Murray
ce8d05484b
Use naturally created image
2025-09-21 07:44:47 +10:00
Andrew Murray
9ba1029d51
Clear C image when MPO frame image size changes
2025-09-21 07:44:47 +10:00
Andrew Murray
222933df54
Seek past BeginBinary data when parsing metadata
2025-09-21 07:44:31 +10:00
Andrew Murray
d64f56f53b
Updated openjpeg to 2.5.4
2025-09-21 07:38:17 +10:00
Hugo van Kemenade
abfdbdd6ce
Updated FreeType to 2.14.1 on Windows ( #9206 )
2025-09-21 00:21:42 +03:00
Andrew Murray
04177eb6ba
Updated FreeType to 2.14.1 on Windows
2025-09-20 20:17:10 +10:00
Andrew Murray
6916a73b57
Build FreeType 2.14.1 on macOS 13, instead of using 2.14.0 from brew
2025-09-20 20:16:50 +10:00
Andrew Murray
92e671d797
Updated tests for FreeType 2.14.1
2025-09-20 20:15:20 +10:00
renovate[bot]
9e4256e8aa
Update dependency mypy to v1.18.2 ( #9213 )
2025-09-19 22:22:30 +10:00
Hugo van Kemenade
0013f9590a
Updated macOS tested Pillow versions ( #9209 )
2025-09-17 15:36:56 +01:00
Andrew Murray
c8b4a24e75
Updated macOS tested Pillow versions
2025-09-17 19:51:50 +10:00
Andrew Murray
ca3528f46e
Document that macOS window value is a CGWindowID
2025-09-16 21:43:24 +10:00
Andrew Murray
610d564aea
Merge branch 'main' into main
2025-09-16 19:43:34 +10:00
Andrew Murray
53302c2281
Split versionadded info
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-16 19:43:03 +10:00
renovate[bot]
d70cba3762
Update dependency mypy to v1.18.1 ( #9207 )
2025-09-14 15:55:50 +10:00
Andrew Murray
5df7f98a59
Updated Ghostscript to 10.6.0
2025-09-10 13:16:12 +10:00
Andrew Murray
410fb60f65
Added alpha channel examples
2025-09-09 22:01:07 +10:00
Andrew Murray
3a580e0f79
Use _ensure_mutable
2025-09-09 21:04:16 +10:00
Hugo van Kemenade
b7e0570cb1
Add GitHub profile link to release notes ( #9197 )
2025-09-08 17:42:23 +03:00
Andrew Murray
4b8bcb6f37
Use link
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-09 00:04:01 +10:00
Andrew Murray
2d8244c45a
Added GitHub profile link
2025-09-08 23:39:04 +10:00
renovate[bot]
a58fc562f0
Update github-actions ( #9194 )
2025-09-07 13:55:35 +10:00
Andrew Murray
b90fe802ce
Test transparency
2025-09-07 12:49:10 +10:00
Andrew Murray
7d379842c1
Test saving unsupported mode
2025-09-07 12:28:20 +10:00
Andrew Murray
4469ee0fc0
Test saving P4 images
2025-09-07 12:25:56 +10:00
Hugo van Kemenade
eef4848a0a
Use monkeypatch ( #9192 )
2025-09-05 22:07:58 +03:00
Andrew Murray
2bf482230d
Test unsupported BMP bitfields layout
2025-09-05 23:43:47 +10:00
Andrew Murray
d4ed512bec
Use monkeypatch
2025-09-05 23:14:52 +10:00
Andrew Murray
067569790b
Test largest cursor
2025-09-05 20:11:02 +10:00
Andrew Murray
bf18e5fe8b
Assert fp is not None
2025-09-05 20:10:27 +10:00
Andrew Murray
a529797857
Assert fp is not None
2025-09-05 20:04:50 +10:00
Andrew Murray
476b122ae4
Simplified code
2025-09-05 20:00:04 +10:00
Hugo van Kemenade
ba04d58851
Only deprecate fromarray mode for changing data types ( #9063 )
2025-09-04 16:43:21 +03:00
Andrew Murray
54d329f98f
Updated harfbuzz to 11.4.5 ( #9150 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-04 23:26:47 +10:00
Hugo van Kemenade
8f685e1235
Split versionadded info ( #9190 )
2025-09-04 15:06:51 +03:00
Andrew Murray
5de27c6258
Split versionadded info
2025-09-04 21:09:00 +10:00
Andrew Murray
73490e10ad
Mention Pillow 11.3.0 behaviour
2025-09-04 21:00:13 +10:00
Hugo van Kemenade
bd63c4fdba
Deprecate Image._show ( #9186 )
2025-09-04 13:57:15 +03:00
Hugo van Kemenade
9e73e6e8db
Always check XMLPacket value ( #9113 )
2025-09-04 13:49:01 +03:00
Hugo van Kemenade
25db48254a
Rename variable to not shadow import ( #9124 )
2025-09-04 13:47:30 +03:00
Hugo van Kemenade
29309e4637
Remove unused code ( #9114 )
2025-09-04 13:46:44 +03:00
Hugo van Kemenade
ae65315e78
Fix reading RGB and CMYK IPTC images ( #9088 )
2025-09-04 13:41:03 +03:00
Hugo van Kemenade
61718eab59
Install zstd for libtiff on Linux wheels ( #9097 )
2025-09-04 13:38:34 +03:00
Hugo van Kemenade
84c04b01da
Revert "Removed unused code" ( #9185 )
2025-09-04 13:37:47 +03:00
Hugo van Kemenade
c0004726d6
Improve WalImageFile test coverage ( #9189 )
2025-09-04 13:37:39 +03:00
Hugo van Kemenade
f570c67025
Update zlib-ng to 2.2.5 ( #9140 )
2025-09-04 13:35:53 +03:00
Hugo van Kemenade
c1538aca21
Update raqm to 0.10.3 ( #9137 )
2025-09-04 13:35:19 +03:00
Hugo van Kemenade
8b5e105bc5
Update libjpeg-turbo to 3.1.2 ( #9188 )
2025-09-04 13:34:53 +03:00
Andrew Murray
cfca02a759
Improved WAL test coverage
2025-09-04 08:27:52 +10:00
Andrew Murray
e0da1a62ec
Use walrus operator
2025-09-04 08:10:31 +10:00
Andrew Murray
f0bbab94a6
Updated libjpeg-turbo to 3.1.2
2025-09-04 07:23:15 +10:00
Andrew Murray
877707379b
Deprecate Image._show
2025-09-03 22:38:37 +10:00
Andrew Murray
abf088fae5
Updated comment
2025-09-03 21:52:27 +10:00
Andrew Murray
caede14465
Revert "Removed unused code"
...
This reverts commit 0e22b0ca6c .
2025-09-03 21:46:54 +10:00
Hugo van Kemenade
208e9b52dc
Removed unused code ( #9182 )
2025-09-03 13:50:27 +03:00
Andrew Murray
e73b5ff4cd
Do not unnecessarily update __offset
2025-09-03 19:35:01 +10:00
Andrew Murray
72c067af29
Check all reserved bytes in header
2025-09-03 19:23:26 +10:00
Andrew Murray
0e22b0ca6c
Removed unused code
2025-09-03 18:33:52 +10:00
Andrew Murray
caacd38e1b
Raise mode error before reading
2025-09-02 21:32:13 +10:00
Andrew Murray
485d9884cf
Limit length of read operation
2025-09-02 21:24:57 +10:00
Andrew Murray
57a5f76e6d
Removed unused split
2025-09-02 21:09:07 +10:00
pre-commit-ci[bot]
31eee6e5f7
[pre-commit.ci] pre-commit autoupdate ( #9180 )
2025-09-02 07:57:54 +10:00
Andrew Murray
1c70e716ce
Merge branch 'main' into fromarray_mode
2025-09-01 08:30:22 +10:00
Andrew Murray
c7a268e5a5
ImageMorph operations must have length 1 ( #9102 )
2025-09-01 08:23:30 +10:00
Andrew Murray
c6915f717f
rotate() will use "angle % 360"
2025-08-29 07:43:51 +10:00
Andrew Murray
05a6010311
Fixed loading rotated PCD images
2025-08-29 07:35:18 +10:00
Andrew Murray
a59ce257e9
Install zstd for libtiff on Linux
2025-08-28 19:37:26 +10:00
Andrew Murray
b33254f370
Merge branch 'main' into mode_enums
2025-08-28 08:36:22 +10:00
Hugo van Kemenade
35f23fb78c
Set correct size for rotated PCD images after opening ( #9086 )
2025-08-27 17:59:10 +03:00
Hugo van Kemenade
801f7adb3c
Simplify check for GBR width and height ( #9089 )
2025-08-27 17:58:03 +03:00
Hugo van Kemenade
bb8dfa4c23
Make in parallel when building libjpeg-turbo and openjpeg for macOS and Linux wheels ( #9144 )
2025-08-27 17:47:24 +03:00
Hugo van Kemenade
146d03c250
Fix ZeroDivisionError in ImageStat ( #9105 )
2025-08-27 17:45:55 +03:00
Hugo van Kemenade
a74e4fa9a5
When deleting EXIF IFD tag, delete IFD data ( #9083 )
2025-08-27 17:43:19 +03:00
Hugo van Kemenade
9a2c5160f2
Allow alpha_composite to use LA images ( #9066 )
2025-08-27 17:42:50 +03:00
Hugo van Kemenade
bde90757fa
Improve _accept length check ( #9170 )
2025-08-27 17:41:40 +03:00
Andrew Murray
84e89bf5c3
Restored unpacker
2025-08-27 07:07:13 +10:00
Andrew Murray
178b3a70cc
Updated formatting
2025-08-27 06:58:51 +10:00
Andrew Murray
ed164d1bfa
pre-commit fixes
2025-08-26 22:13:45 +10:00
Andrew Murray
59d6f313d6
Removed setuptools version requirement
2025-08-26 21:07:32 +10:00
Hugo van Kemenade
f9db7a3d08
Add has_feature_version helper ( #9172 )
2025-08-26 11:27:20 +03:00
Andrew Murray
0d72707d4f
Removed version from PDF comment
2025-08-26 08:55:11 +10:00
Hugo van Kemenade
97a4d1f593
Replace print with assert ( #9171 )
2025-08-22 13:14:15 +03:00
Andrew Murray
f80ac8d6b8
Check version independently
2025-08-22 19:16:38 +10:00
Andrew Murray
54f4a346ef
Added has_feature_version
2025-08-22 19:06:19 +10:00
Andrew Murray
84122a20c7
Replaced print with assert
2025-08-22 18:29:25 +10:00
Andrew Murray
009444f9c5
Improved _accept length check
2025-08-21 21:56:03 +10:00
Hugo van Kemenade
9f5d1f71a0
Do not set core to DeferredError ( #9166 )
2025-08-20 22:21:39 +03:00
Andrew Murray
6a3bde05a4
Do not set core to DeferredError
2025-08-20 15:32:12 +10:00
renovate[bot]
34c651deb8
Update dependency cibuildwheel to v3.1.4 ( #9164 )
2025-08-20 08:48:38 +10:00
Hugo van Kemenade
dabeb689c9
Document ImageFile.MAXBLOCK ( #9163 )
2025-08-19 20:20:53 +03:00
Andrew Murray
c826b932c0
Document MAXBLOCK
2025-08-19 15:45:42 +10:00
renovate[bot]
1435339290
Update actions/checkout action to v5 ( #9156 )
2025-08-19 10:13:56 +10:00
Andrew Murray
c214ad8c8d
Use macos-14 for iOS arm64 simulator ( #9161 )
2025-08-19 06:43:07 +10:00
Hugo van Kemenade
c9907e8be2
Remove support for FreeType <= 2.9.0 ( #9159 )
2025-08-18 12:40:44 +03:00
Andrew Murray
62546924b5
Remove support for FreeType <= 2.9.0
2025-08-18 08:07:12 +10:00
Hugo van Kemenade
9d39fe6ada
Updated macOS version in CI targets ( #9157 )
2025-08-17 21:21:13 +03:00
Andrew Murray
425a3a1af0
Updated macOS version in CI targets
2025-08-16 11:33:02 +10:00
Andrew Murray
ba66fec3d2
When converting RGBA to PA, use RGB to P quantization
2025-08-15 23:39:33 +10:00
Andrew Murray
0ae2611b44
Copy C palette when merging
2025-08-15 23:22:14 +10:00
Andrew Murray
6d974b61d6
Load image palette into Python after converting to PA
2025-08-15 14:37:31 +10:00
Hugo van Kemenade
092d4422d5
Update redirected URLs ( #9148 )
2025-08-12 10:57:51 +03:00
Andrew Murray
a72c631877
Updated URLs
2025-08-12 12:36:33 +10:00
Hugo van Kemenade
5e7f131287
Add Debian 13 Trixie ( #9147 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-08-11 17:40:32 +10:00
Hugo van Kemenade
165a133d36
Do not import from Tests directory in checks ( #9143 )
2025-08-09 15:10:35 +03:00
Andrew Murray
1a5acabd32
Make in parallel when building libjpeg-turbo and openjpeg
2025-08-09 19:53:05 +10:00
Hugo van Kemenade
e786019e83
Make in parallel when building brotli and libavif for macOS and Linux wheels ( #9142 )
2025-08-09 11:59:53 +03:00
Andrew Murray
f69c221376
Do not import from Tests directory
2025-08-09 18:56:55 +10:00
Andrew Murray
5a90fb81cb
Added checks directory to mypy
2025-08-09 18:37:17 +10:00
Andrew Murray
ee8fbc0ac9
Make in parallel when building brotli and libavif
2025-08-09 14:58:31 +10:00
renovate[bot]
b1cfa7769b
Update actions/download-artifact action to v5 ( #9141 )
2025-08-09 07:13:41 +10:00
Andrew Murray
b8ffea2c56
Revert "Revert to zlib on macOS < 10.15"
...
This reverts commit 6c7917d7a6 .
2025-08-08 06:05:30 +10:00
Andrew Murray
d975e312e2
Updated zlib-ng to 2.2.5
2025-08-08 05:46:10 +10:00
Hugo van Kemenade
526415d807
Fix typos ( #9135 )
2025-08-06 18:31:44 +03:00
Andrew Murray
35c92308ad
Allow RGBA palettes to work with expand()
2025-08-06 11:41:26 +10:00
Andrew Murray
4f8ac76407
Updated raqm to 0.10.3
2025-08-06 09:00:36 +10:00
Andrew Murray
b07dbc167c
Fixed typo
2025-08-06 08:17:09 +10:00
Hugo van Kemenade
1e76b758f6
Use Python 3.14 for gcc problem matching ( #9134 )
2025-08-05 20:27:58 +03:00
Hugo van Kemenade
680e68632c
Updated harfbuzz to 11.3.3 ( #9103 )
2025-08-05 12:07:27 +03:00
Andrew Murray
d3fa549ec9
Use Python 3.14 for gcc problem matching
2025-08-05 18:03:47 +10:00
Andrew Murray
0465627f0c
Fill alpha channel when quantizing RGB images
2025-08-05 13:00:33 +10:00
pre-commit-ci[bot]
cee238bcb8
[pre-commit.ci] pre-commit autoupdate ( #9131 )
2025-08-05 06:57:50 +10:00
Andrew Murray
2973f69a75
Updated libimagequant to 4.4.0 ( #9074 )
2025-08-04 21:36:17 +10:00
renovate[bot]
4677cf3b16
Update dependency mypy to v1.17.1 ( #9130 )
2025-08-03 13:58:41 +10:00
renovate[bot]
77247b6283
Update dependency cibuildwheel to v3.1.3 ( #9129 )
2025-08-03 12:48:47 +10:00
Andrew Murray
fcdeb6404e
Merge branch 'main' into imagetext
2025-08-02 22:18:51 +10:00
Andrew Murray
94a32628f3
Merge branch 'main' into fromarray_mode
2025-08-02 22:15:13 +10:00
Russell Keith-Magee
148e1ac914
Add libavif support for iOS ( #9117 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-08-02 22:10:55 +10:00
Hugo van Kemenade
2ab301dcc9
Drop support for Python 3.9 ( #9119 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-08-02 12:02:20 +00:00
Hugo van Kemenade
eb59176b09
Move imports into TYPE_CHECKING ( #9123 )
2025-08-02 13:56:00 +03:00
Hugo van Kemenade
baaccda280
Remove support for NumPy 1.20 when type checking ( #9125 )
2025-08-02 12:59:06 +03:00
Andrew Murray
ae6bb29b82
Removed support for NumPy 1.20 when type checking
2025-08-02 18:35:16 +10:00
Andrew Murray
0620daf860
Renamed variable to not shadow import
2025-08-02 13:10:18 +10:00
Andrew Murray
27a7582b35
Moved imports into TYPE_CHECKING
2025-08-02 11:40:35 +10:00
Andrew Murray
726de49229
Merge branch 'main' into mode_enums
2025-08-01 10:25:32 +10:00
Andrew Murray
5fc0cf19c6
Merge branch 'main' into pyarrow_band_names
2025-08-01 10:25:14 +10:00
Andrew Murray
19829c3d95
Updated harfbuzz to 11.3.3
2025-08-01 10:23:45 +10:00
Russell Keith-Magee
98d6c3bf88
Restore pyroma test for iOS ( #9116 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-08-01 10:22:28 +10:00
Hugo van Kemenade
162836a004
Use correct bands for two band histograms ( #9054 )
2025-07-31 14:40:57 +03:00
Hugo van Kemenade
9a37051bc6
Improve features test coverage ( #9077 )
2025-07-31 14:37:29 +03:00
Hugo van Kemenade
54de16836b
Remove WebP feature handling ( #9096 )
2025-07-31 13:30:42 +03:00
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
Andrew Murray
e8b3c17ebc
Updated documentation
2025-07-29 07:28:03 +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
283dcfc024
Removed unused code
2025-07-26 23:39:11 +10:00
Andrew Murray
a6acc67660
Always check XMLPacket value
2025-07-26 21:00:26 +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
Andrew Murray
7afbafd1e2
Support saving variable length rational TIFF tags
2025-07-26 19:21:50 +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
Andrew Murray
63163d065d
Removed WebP feature handling
2025-07-24 19:34:46 +10:00
Andrew Murray
969e468749
Allow ImageDraw text() to use ImageText
2025-07-24 19:34:30 +10:00
Andrew Murray
24681a3927
Added ImageText
2025-07-24 19:34:29 +10:00
Andrew Murray
103a5a0b59
Fixed ZeroDivisionError
2025-07-24 19:33:15 +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
wiredfool
9e415c7876
A way to make nested arrays in nano arrow but detouring through a buffer
2025-07-21 17:24:52 +02:00
wiredfool
c07fe6e943
Added flat image metadata tests
...
This metadata is available in nanoarrow, but not pyarrow or arro3
2025-07-21 11:33:14 +02:00
wiredfool
7d2abbdcf9
lint.
2025-07-21 11:22:45 +02:00
wiredfool
28c7645d8b
Added tests for integration with nanoarrow
2025-07-21 11:19:45 +02:00
wiredfool
1a02d4ed5a
lint fixes
2025-07-20 13:01:39 +02:00
wiredfool
1159e65b4f
Added integration tests for Arro3, comparable to PyArrow tests
2025-07-20 12:58:54 +02:00
wiredfool
adfb66f1d6
Fix Compliation errors from rebase
2025-07-20 10:18:59 +02:00
wiredfool
64556405e2
WIP - Not working in pyarrow
2025-07-19 17:34:39 +02:00
eyedav
84aa4372fd
linter changes
2025-07-19 17:06:44 +02:00
eyedav
d82576ff38
require types-setuptools>=75.2.0
...
this is necessary to have https://github.com/python/typeshed/pull/12791
2025-07-19 17:03:31 +02:00
Yay295
2f169fa121
use mode enums in _imagingcms.c
2025-07-19 17:02:05 +02:00
Yay295
0567f064e4
add debug check that all modes and rawmodes are defined
2025-07-19 17:02:05 +02:00
eyedav
28adda9299
build Mode.c as a common library
2025-07-19 17:02:00 +02:00
Yay295
e483a976d2
use a different temp build dir for each module
2025-07-19 17:00:37 +02:00
eyedav
47503477d4
add Mode.c as a dependency for _imagingft.c and _webp.c
2025-07-19 17:00:35 +02:00
Yay295
f8bfa2fe4e
use more mode enums in decode.c
2025-07-19 16:58:11 +02:00
Yay295
a53f83f023
use mode enums in _imagingft.c
2025-07-19 16:58:11 +02:00
eyedav
aa39e84f7a
use mode enums in Jpeg2KDecode.c
2025-07-19 16:58:08 +02:00
wiredfool
85212dbbb6
Add image band metadata for the 4 channel images
2025-07-19 16:55:52 +02:00
Yay295
4d721bc591
use mode enums in _webp.c
2025-07-19 16:54:36 +02:00
eyedav
9527ce7f8c
change mode structs to enums
...
Structs have better type safety, but they make allocation more difficult, especially when we have multiple Python modules trying to share the same code.
2025-07-19 16:54:32 +02:00
Yay295
4b07ed52fd
use Mode struct for windows display code
2025-07-19 16:00:28 +02:00
Yay295
16fc61ee65
use RawMode struct for jpegmode
2025-07-19 16:00:28 +02:00
Yay295
422eb1ebc4
replace some string function usage with imaging mode checks
2025-07-19 16:00:28 +02:00
Yay295
579c55ea86
check for null input in findMode() and findRawMode()
2025-07-19 16:00:28 +02:00
Yay295
20a5aeac84
fix findRawMode()
...
and change findMode() to match
2025-07-19 16:00:28 +02:00
Yay295
cacb8b3ce7
define rawmodes
2025-07-19 16:00:28 +02:00
eyedav
c9c50ac678
initialize accessors similar to converters/packers/unpackers
2025-07-19 16:00:26 +02:00
Yay295
feb7e6ef2d
use mode structs in map.c
2025-07-19 15:55:48 +02:00
eyedav
d11819ca6b
use mode structs in Unpack.c
2025-07-19 15:55:44 +02:00
Yay295
31118b0019
set pointer to NULL after free
2025-07-19 15:54:15 +02:00
Yay295
39d434b39d
use (void) for empty function parameters
2025-07-19 15:54:15 +02:00
Yay295
141c95df9a
use mode structs in TiffDecode.c
2025-07-19 15:54:15 +02:00
eyedav
e75a0a9c39
use mode structs in Storage.c
2025-07-19 15:54:11 +02:00
eyedav
858b0b3805
use mode structs in Resample.c
2025-07-19 15:47:47 +02:00
Yay295
c80fba3045
use mode structs in Reduce.c
2025-07-19 15:47:10 +02:00
Yay295
fb73d9003e
use mode structs in Quant.c
2025-07-19 15:47:10 +02:00
Yay295
7e48697f82
use mode structs in Point.c
2025-07-19 15:47:10 +02:00
Yay295
2a9d712ceb
use mode structs in Paste.c
2025-07-19 15:47:10 +02:00
Yay295
af3c24e12b
use mode structs in Palette.c
2025-07-19 15:47:10 +02:00
eyedav
e5bc5b4ffa
use mode structs in Pack.c
2025-07-19 15:47:07 +02:00
eyedav
4906285619
add function isModeI16() to check if a mode is an I;16 mode
2025-07-19 15:41:13 +02:00
Yay295
378c3bd23d
use mode structs in Matrix.c
2025-07-19 15:39:18 +02:00
Yay295
0abfdd25b1
use mode structs in JpegEncode.c
2025-07-19 15:39:18 +02:00
Yay295
30d4cd0229
use mode structs in JpegDecode.c
2025-07-19 15:39:18 +02:00
Yay295
98a2c63326
use mode structs in Jpeg2KEncode.c
2025-07-19 15:39:18 +02:00
Yay295
33272580d0
use mode structs in Jpeg2KDecode.c
2025-07-19 15:39:18 +02:00
Yay295
27497700ee
use mode structs in Histo.c
2025-07-19 15:39:18 +02:00
Yay295
2668338583
use mode structs in GetBBox.c
2025-07-19 15:39:18 +02:00
Yay295
cfe9155a0b
use mode structs in Geometry.c
2025-07-19 15:39:18 +02:00
eyedav
af22363327
use mode structs in Filter.c
2025-07-19 15:39:16 +02:00
Yay295
6202eefcff
use mode structs in Fill.c
2025-07-19 15:37:08 +02:00
Yay295
19c0d1da76
use mode structs in File.c
2025-07-19 15:37:08 +02:00
Yay295
b5c4b821bc
use mode structs in Effects.c
2025-07-19 15:37:08 +02:00
eyedav
bcfe5f2172
use mode structs in Draw.c
2025-07-19 15:37:03 +02:00
eyedav
9bf3495898
use mode structs in Convert.c
2025-07-19 15:12:51 +02:00
Yay295
ecf1fce82b
use mode structs in Chops.c
2025-07-19 14:53:31 +02:00
Yay295
6f6e1f99fc
use mode structs in BoxBlur.c
2025-07-19 14:53:31 +02:00
Yay295
38c75b9449
use mode structs in Blend.c
2025-07-19 14:53:31 +02:00
Yay295
d0541a73b9
use mode structs in Bands.c
2025-07-19 14:53:31 +02:00
Yay295
82182ba548
use mode structs in AlphaComposite.c
2025-07-19 14:53:31 +02:00
eyedav
0df2ed0640
use mode structs in Access.c
2025-07-19 14:53:22 +02:00
eyedav
a12dc30dc0
use mode structs in encode.c and decode.c
2025-07-19 14:46:29 +02:00
Yay295
a37f53c949
use mode structs in tkImaging.c
2025-07-19 14:44:51 +02:00
eyedav
12409e4574
use mode structs in _imaging.c
2025-07-19 14:44:41 +02:00
Yay295
63a45ad8d0
add special modes
2025-07-19 14:29:08 +02:00
Yay295
cd93629a5c
use a struct for mode names instead of just a string
2025-07-19 14:29:08 +02: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
79914ec8a5
Check for scaling in macOS windows
2025-07-13 15:11:23 +08:00
Andrew Murray
7eaac3fcf0
Updated documentation
2025-07-13 15:11:23 +08:00
Yan-Ke Guo
1f7e9c3b51
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-07-13 15:11:23 +08:00
GUO YANKE
5ce88dbe53
feat(ImageGrab): enhance grab function to support window-based screenshot capturing on macOS
2025-07-13 15:11:23 +08:00
Andrew Murray
d85fa7a247
Improved WmfImagePlugin test coverage
2025-07-13 16:13:44 +10:00
Andrew Murray
4adff39bfd
Improved test coverage
2025-07-12 19:55:58 +10:00
Andrew Murray
6fdbf54331
Width and height are unsigned
2025-07-12 19:50:19 +10:00
Andrew Murray
cfa51ad4ad
Populate single band
2025-07-12 15:09:07 +10:00
Andrew Murray
68ac3375c6
Codec is always "iptc"
2025-07-12 12:47:54 +10:00
Andrew Murray
bc2519abf1
Removed helper method _i8, unused since dump() was removed
2025-07-12 12:34:33 +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
7328cf2e5e
Reduced number of bytes read
2025-07-11 17:19:56 +10:00
Andrew Murray
561ae3760c
Set correct size for rotated images after opening
2025-07-11 17:18:47 +10:00
Andrew Murray
74e36e0ee5
Added RGBX and CMYK as alternatives for RGBA array data
2025-07-11 16:48:46 +10: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
8b695cc0d3
When deleting EXIF IFD tag, clear IFD data
2025-07-10 22:50:05 +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
Andrew Murray
31e6c716ac
Improved features test coverage
2025-07-09 22:26:25 +10: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
Andrew Murray
99737228c5
Only deprecate fromarray mode for changing data types
2025-07-08 06:53:22 +10:00
Andrew Murray
7ec13fedc7
Merge branch 'main' into alpha_composite
2025-07-08 06:50:44 +10:00
Hugo van Kemenade
27d47b3abf
[pre-commit.ci] pre-commit autoupdate ( #9073 )
2025-07-07 23:43:15 +03:00
Andrew Murray
dc7d646db0
Use correct bands for 2 band histograms
2025-07-08 06:39:56 +10: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
Andrew Murray
3152da4735
Allow alpha_composite to use LA images
2025-07-05 13:51:18 +10:00
Andrew Murray
5554e778bb
Removed unnecessary checks
2025-07-05 13:44: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
Andrew Murray
49efe40f28
Escape period
2025-06-30 22:19:14 +10: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
9f0614de7e
Merge branch 'main' into patch-1
2025-05-24 10:34:10 +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
Stefan
a666057989
HTTP -> HTTPS
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-21 15:40:16 +02: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
Stefan
349cc44fd4
Add Apache-2.0 notice to IcoImagePlugin
...
Closes #8946 .
2025-05-07 17:21:22 +02: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
81fa4e18c7
If pasting image to self at lower position with mask, copy from bottom
2025-04-12 08:19:18 +10:00
Andrew Murray
79f834ef65
If pasting an image onto itself at a lower position, copy from bottom
2025-04-11 22:26:42 +10: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
f4cd5e7502
Assert image type
2025-04-03 18:44:45 +11: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
f636cb8c15
Updated freetype to 2.13.3
2025-01-02 10:28:51 +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
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
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
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
413cae5a03
Merge branch 'main' into emf_records
2024-12-18 19:01:56 +11:00
Andrew Murray
7dcf4d8ab3
Added logging to fixIFD()
2024-11-25 19:41:41 +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
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
f68219713c
Merge branch 'main' into imagegrab
2024-11-05 21:15:08 +11:00
Andrew Murray
9622266c2a
Use DPI awareness from window
2024-11-05 18:33:25 +11:00
Andrew Murray
28e5b929f8
Test 0
2024-11-05 08:40:09 +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
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
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
ce4059171c
Skip failing records when rendering
2024-10-26 18:41:05 +11:00
Andrew Murray
94c3ee6944
Merge branch 'main' into bitmap_buffer
2024-09-30 19:47:11 +10:00
Andrew Murray
f9f7ba4ce9
Do not raise error if bitmap buffer is empty
2024-08-23 18:24:04 +10:00