Commit Graph

18596 Commits

Author SHA1 Message Date
Ondrej Baranovič
94732782d0
link to sphinx issue
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-30 10:26:39 +01:00
Andrew Murray
838bb6c493 Added RGB to I;16N conversion 2024-03-30 20:22:50 +11:00
Andrew Murray
328052730d
Merge branch 'main' into hopper-lru-cache 2024-03-30 20:20:51 +11:00
Hugo van Kemenade
a4e5dc219c
Merge pull request #7818 from nulano/bugreport 2024-03-30 11:13:02 +02:00
Hugo van Kemenade
c5eb7c7c29
Merge pull request #7918 from radarhere/convert 2024-03-30 11:12:05 +02:00
Hugo van Kemenade
0b1d0c23de
Merge pull request #7658 from nulano/build-editable 2024-03-30 11:10:46 +02:00
Hugo van Kemenade
016415800a
Merge pull request #7209 from Yay295/bytes_tests 2024-03-30 11:08:50 +02:00
Hugo van Kemenade
1de013a0ac
Merge pull request #7917 from radarhere/harfbuzz 2024-03-30 11:08:25 +02:00
Nulano
c4114adc41 use Flags not Flags|int 2024-03-30 09:14:48 +01:00
Nulano
5355af0ddd use SupportsFloat instead of float in _imagingcms.pyi 2024-03-30 09:11:15 +01:00
Ondrej Baranovič
6b0a79ce57 sort the parameters 2024-03-30 07:33:27 +00:00
Andrew Murray
1ac1540fe3 Combined test_report.py into test_main.py 2024-03-30 07:33:27 +00:00
Ondrej Baranovič
7e71621671
Update src/PIL/features.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-30 08:13:44 +01:00
Andrew Murray
fb6b860172 Added RGB to I;16, I;16L and I;16B conversion 2024-03-30 11:33:55 +11:00
Andrew Murray
f8825d3736 Updated harfbuzz to 8.4.0 2024-03-30 09:20:45 +11:00
Hugo van Kemenade
d131f1c513 Clarify comments 2024-03-28 22:13:09 +02:00
Andrew Murray
f0767ee4da Update CHANGES.rst [ci skip] 2024-03-29 06:41:44 +11:00
Andrew Murray
60976c8dbe
Merge branch 'main' into bytes_tests 2024-03-29 06:31:06 +11:00
Andrew Murray
e6fa5dff63 Append custom parameter to the end of sys.argv 2024-03-28 17:40:54 +00:00
Nulano
aef7ccda3a use SupportsRead instead of BinaryIO 2024-03-28 18:35:20 +01:00
Nulano
d3665ea0ea fix lint 2024-03-28 18:20:32 +01:00
Ondrej Baranovič
ff523e3009
Update .github/ISSUE_TEMPLATE/ISSUE_REPORT.md
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-28 17:52:15 +01:00
Nulano
a81b945129 Update CmsProfile docs to match _imagingcms type stubs 2024-03-28 17:26:05 +01:00
Nulano
abb73b5b86 use PIL.ImageCms.core as module for PIL._imagingcms classes 2024-03-28 17:26:05 +01:00
Nulano
0015e9ce68 expose ImageCms.core.CmsTransform 2024-03-28 17:26:03 +01:00
Nulano
047a0d2a64 do not allow ImageCms.core.CmsProfile to be instantiated directly 2024-03-28 17:24:50 +01:00
Nulano
afd6e1fa29 import _imagingcms as core 2024-03-28 17:23:54 +01:00
Nulano
21566ebcdc add type hints to pyCms functions in ImageCms 2024-03-28 17:23:54 +01:00
Nulano
a1a687c261 add type hints to ImageCms.get_display_profile 2024-03-28 17:23:54 +01:00
Nulano
0630ef061f add type hints for ImageCms.{ImageCmsProfile,ImageCmsTransform} 2024-03-28 17:23:54 +01:00
Nulano
24ed5db2d1 check type given to ImageCms.core.profile_tobytes instead of crashing 2024-03-28 17:23:54 +01:00
Nulano
e7eea5ea30 add type hints to _imagingcms 2024-03-28 17:23:49 +01:00
Hugo van Kemenade
c2904b83b5
Merge pull request #7884 from radarhere/mpo 2024-03-28 18:13:57 +02:00
Hugo van Kemenade
d734c8b702
Merge pull request #7888 from radarhere/convert_rgb 2024-03-28 18:11:12 +02:00
Hugo van Kemenade
6464d5cf91
Merge pull request #7894 from radarhere/fits_gzip 2024-03-28 18:09:55 +02:00
Hugo van Kemenade
504a2e17c8 Use functools.lru_cache for hopper() 2024-03-28 18:04:19 +02:00
Hugo van Kemenade
e3aeaa6ff8
Merge pull request #7911 from Yay295/fix_unclosed_images
Use setup_module() to open images so they aren't opened if skipped
2024-03-28 08:12:04 +02:00
Yay295
0d86da54bc
add typing to "ims" in test_image_fromqimage.py
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-27 14:02:02 -05:00
pre-commit-ci[bot]
26a212126f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-27 15:57:36 +00:00
Yay295
9c6b30560e use setup_module() to open images so they aren't opened if skipped 2024-03-27 10:53:07 -05:00
Yay295
a4aac18ba3
Merge pull request #13 from radarhere/bytes_tests
Simplify tests
2024-03-27 09:37:01 -05:00
Hugo van Kemenade
3f49b0cfd2
Merge pull request #7907 from radarhere/xorgproto 2024-03-27 16:12:21 +02:00
Hugo van Kemenade
59cb1d75a9
Merge pull request #7909 from hugovk/appveyor-skip
Skip AppVeyor builds for irrelevant files
2024-03-27 13:00:21 +02:00
Hugo van Kemenade
f05946a390 Skip AppVeyor builds for irrelevant files 2024-03-27 12:30:39 +02:00
Hugo van Kemenade
fac81d6228
Merge pull request #7905 from radarhere/current 2024-03-27 11:10:24 +02:00
Andrew Murray
6ca8bfb253
Merge pull request #7897 from hugovk/flake8-pyi
Type hints: Add PYI (flake8-pyi) to Ruff and fix errors
2024-03-27 19:58:53 +11:00
Hugo van Kemenade
73bf04474f
enum can't be None
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-27 10:35:28 +02:00
Hugo van Kemenade
98c7d90af6
Variables can be None; update comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-27 09:16:31 +02:00
Andrew Murray
142473c7b4 Support GZIP_1 compression 2024-03-26 21:29:28 +11:00
Andrew Murray
984480fd19 Updated xorgproto to 2024.1 2024-03-26 20:17:06 +11:00