Commit Graph

19507 Commits

Author SHA1 Message Date
Hugo van Kemenade
5e448b3013
Merge pull request #7904 from radarhere/releasenotes
Added release notes for #7872, #7882 and #7891
2024-03-25 07:56:10 +02:00
Andrew Murray
38f9193796 Added release notes for #7872 2024-03-25 10:35:00 +11:00
Andrew Murray
d7dba1cc67 Added release notes for #7882 2024-03-25 10:04:02 +11:00
Andrew Murray
0248e41800 Added release notes for #7891 2024-03-25 10:02:19 +11:00
pre-commit-ci[bot]
901c13c4b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-24 04:47:28 +00:00
scaramallion
ce060a8e8b Fix 9-bit JPEG 2000 images not using I;16 2024-03-24 15:40:11 +11:00
Andrew Murray
19cd94bdb3
Merge pull request #7895 from python-pillow/clean-up-authors-contributors
Clean up authors and contributors
2024-03-24 14:59:26 +11:00
Jeffrey A. Clark
567ee6bdaa
Update docs/conf.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-23 17:50:41 -04:00
Hugo van Kemenade
eff78cb514 Skip PYI034 as typing.Self is in Python 3.10+ 2024-03-23 20:52:51 +02:00
Hugo van Kemenade
20d8095439 Fix: PYI041 Use float instead of int | float 2024-03-23 20:52:50 +02:00
Hugo van Kemenade
6ed952b510 Fix: PYI024 Use typing.NamedTuple instead of collections.namedtuple 2024-03-23 20:52:50 +02:00
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
pre-commit-ci[bot]
0b71605dbf [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-20 21:31:02 +00:00
olokelo
fa5bfacbd6 add more metadata test cases 2024-03-20 22:27:22 +01: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
olokelo
e5003ff270 change Optional to python 3.10+ syntax 2024-03-19 22:47:10 +01:00
pre-commit-ci[bot]
8cab1c122c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-19 21:40:13 +00:00
olokelo
62c58c2d00 fix some type hinting mistakes 2024-03-19 22:39:12 +01:00
pre-commit-ci[bot]
443a35235a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-19 21:30:13 +00:00
olokelo
48bbc2e2f8 flip cases in metadata test 2024-03-19 22:27:51 +01:00
olokelo
58c37bf7eb add test case for seeking to the same frame 2024-03-19 22:25:19 +01:00
olokelo
8fa280f6a5 rename jxl -> jpegxl 2024-03-19 22:17:35 +01:00
olokelo
6048520fcf add type hints 2024-03-19 20:33:24 +01:00
olokelo
1b049ab4a8 minor plugin code tweaks 2024-03-19 19:22:37 +01:00
olokelo
5320450679 fix _jxl_decoder_count_frames 2024-03-19 13:03:08 +01:00
olokelo
f6086d40cc modify leak test 2024-03-19 13:00:50 +01:00
Hugo van Kemenade
f4036728ca
Merge branch 'main' into jxl-support2 2024-03-19 11:20:50 +02:00