Commit Graph

17724 Commits

Author SHA1 Message Date
Hugo van Kemenade
5d37d028d3 Fix: PYI044 'from __future__ import annotations' has no effect in stub files, since type checkers automatically treat stubs as having those semantics 2024-03-23 20:44:43 +02:00
Hugo van Kemenade
41ffc1de81 Fix: PYI044 'from __future__ import annotations' has no effect in stub files, since type checkers automatically treat stubs as having those semantics 2024-03-23 20:41:29 +02:00
Hugo van Kemenade
9fc3fa8208 Add PYI (flake8-pyi) to Ruff 2024-03-23 20:41:29 +02:00
pre-commit-ci[bot]
66ef6ad9ac [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-23 13:49:20 +00:00
Jeffrey A. Clark (Alex)
4197263dff Clean up authors and contributors
- `s/Jeffrey A. Clark (Alex)/Jeffrey A. Clark/g`. People can figure out that I am Alex.
- We've added "contributors" to Fredrik's copyright statements because it seems appropriate that it be there based on: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#02b5-117.
- Fredrik is the PIL author and I am the Pillow author.
- Consistently apply all of the above everywhere.
2024-03-23 09:40:39 -04:00
Andrew Murray
e320bdc1cd Update CHANGES.rst [ci skip] 2024-03-23 09:17:16 +11:00
mergify[bot]
759630fbaf
Merge pull request #7891 from radarhere/kmeans
Raise ValueError if kmeans is negative
2024-03-22 22:02:42 +00:00
Hugo van Kemenade
0c73db31d7
Merge pull request #7893 from radarhere/osubfiletype 2024-03-22 18:00:03 +02:00
Andrew Murray
47040c7b35 Test positive and zero kmeans 2024-03-22 23:53:07 +11:00
Andrew Murray
3004c46683 Block saving TIFF tag OSUBFILETYPE using libtiff 2024-03-22 23:43:55 +11:00
Andrew Murray
171e497e05 Raise ValueError if kmeans is negative 2024-03-22 17:36:04 +11:00
Hugo van Kemenade
ca973709a0
Merge pull request #7882 from radarhere/ppm 2024-03-21 18:24:54 +02:00
Hugo van Kemenade
9d3c8d54b4
Merge pull request #7870 from radarhere/j2k_pclr 2024-03-21 18:24:45 +02:00
Hugo van Kemenade
3bbc865afc
Merge pull request #7872 from radarhere/webp_alpha_quality 2024-03-21 18:20:40 +02:00
Hugo van Kemenade
98067db82d
Merge pull request #7886 from radarhere/harfbuzz 2024-03-21 18:20:05 +02:00
Hugo van Kemenade
ee5702352d
Merge pull request #7887 from radarhere/ghostscript 2024-03-21 18:19:56 +02:00
Andrew Murray
9c41bf4641 Only specify image size once 2024-03-21 19:16:06 +11:00
Andrew Murray
a0ab9f488f Added type hints 2024-03-21 19:12:48 +11:00
Andrew Murray
10ceae924c Removed unused number of bands 2024-03-21 19:11:35 +11:00
Andrew Murray
c3997050b0 Simplified test using assert_image_equal 2024-03-21 19:11:19 +11:00
Andrew Murray
fd80b2e1d9 Moved sample data inside test 2024-03-21 18:46:09 +11:00
Andrew Murray
8b6a182815 Support conversion from RGB to RGBa 2024-03-21 16:25:40 +11:00
Andrew Murray
a0388f2a67 Updated Ghostscript to 10.3.0 2024-03-21 11:44:03 +11:00
Andrew Murray
75a206bf58 Added conversion from RGB to RGBa and La 2024-03-20 08:57:06 -05:00
Yay295
d30404fede
use dummy var name for unused parts of unpacked tuple
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-20 08:55:05 -05:00
Hugo van Kemenade
b3edfb08ce
Merge pull request #7885 from hugovk/update-release-notes 2024-03-17 19:22:13 +02:00
Hugo van Kemenade
e57fb3e819
Merge pull request #115 from radarhere/update-release-notes 2024-03-17 13:18:05 +02:00
Andrew Murray
0c436023a0 Corrected heading 2024-03-17 22:06:56 +11:00
Andrew Murray
73bb28c866 Removed blank lines 2024-03-17 21:59:57 +11:00
Andrew Murray
4f677f2183 Reordered sections to match template 2024-03-17 21:59:46 +11:00
Andrew Murray
d2dfb2f87f Swap order to match description 2024-03-17 21:43:04 +11:00
Andrew Murray
4ef6e4ef9b Highlight code 2024-03-17 21:41:55 +11:00
Andrew Murray
b3c1937456 Changed wording 2024-03-17 21:37:31 +11:00
Andrew Murray
e760a4fc2b Updated harfbuzz to 8.3.1 2024-03-17 21:26:00 +11:00
Andrew Murray
fe06d419fc Added heading 2024-03-17 18:30:56 +11:00
Andrew Murray
9cf0ece464 Changed heading level to be consistent 2024-03-17 18:18:04 +11:00
Andrew Murray
5fd4ad4aa0 Corrected CVEs being split into heading and text 2024-03-17 18:16:52 +11:00
Andrew Murray
5208712b49 Added "API Additions" section 2024-03-17 18:12:15 +11:00
Andrew Murray
3b68a56c10 Remove CVE already mentioned in heading 2024-03-17 18:10:39 +11:00
Andrew Murray
1528ac1a45 Consistently highlight filenames in headings 2024-03-17 18:05:07 +11:00
Andrew Murray
c7e4014411 Fixed heading 2024-03-17 18:02:39 +11:00
Hugo van Kemenade
b25a054241 Update release notes 2024-03-17 01:17:38 +02:00
Hugo van Kemenade
2568fd891f Remove listing of newly-added release notes in 10.4 release notes 2024-03-16 20:29:48 +02:00
Jeffrey A. Clark
913dc60d5d
Merge pull request #7877 from python-pillow/7864-backfill
Backfill release notes with security fix details
2024-03-16 06:06:42 -04:00
Andrew Murray
b795d4c59e Update CHANGES.rst [ci skip] 2024-03-16 18:59:51 +11:00
Andrew Murray
a78ed9595f Determine size from markers, not EXIF data 2024-03-16 18:40:16 +11:00
Andrew Murray
21801f3a45 Raise ValueError if seeking to greater than offset-sized integer 2024-03-16 13:33:04 +11:00
Andrew Murray
3ba8eb3b7e Raise a ValueError for negative values when loading P1-P3 PPM images 2024-03-16 12:29:21 +11:00
Alex Clark
e7d8774d70 Wording 2024-03-15 14:20:12 -04:00
Alex Clark
115179e5a6 Update release notes for #7864 2024-03-15 14:08:48 -04:00