Commit Graph

65 Commits

Author SHA1 Message Date
Andrew Murray
358150b837 libjxl < 0.9.0 is not supported. See https://github.com/libjxl/libjxl/issues/4400 2025-11-22 17:33:06 +11:00
Andrew Murray
e99989fde4
Merge branch 'main' into jxl-support2 2025-08-04 10:51:08 +10:00
Andrew Murray
cbd47d8609 Removed handling of deprecated WebP features 2025-07-08 23:07:07 +10:00
Andrew Murray
cce39084f5 Removed specific WebP feature checks 2025-07-01 23:57:50 +10:00
Andrew Murray
bc4a794efc
Merge branch 'main' into jxl-support2 2025-04-26 14:12:11 +10: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
06e02cc1d9 Added compile-time mozjpeg feature flag 2024-12-31 21:44:57 +11:00
Nulano
7885066e5f PIL.features: Add a compile-time zlib-ng feature flag and version number 2024-10-25 21:30:22 +02:00
Andrew Murray
afbf45055a Always raise warnings for deprecated feature checks 2024-10-11 20:59:15 +11:00
Andrew Murray
8a1c03e142
Merge branch 'main' into jxl-support2 2024-08-15 05:03:04 +10:00
Andrew Murray
359d7592c7 Test deprecation warnings 2024-08-14 18:41:39 +10:00
Andrew Murray
c7e6289b36 Use relative import 2024-08-13 19:07:01 +10:00
Alexander Karpinsky
93ce9ce004
Update features type
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-13 09:52:07 +04:00
Andrew Murray
924df9e60b Moved line after early return
Improve compiler advice

Update src/PIL/features.py
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
56ca359c65 Bring back removed features, add deprecations and Release notes 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
9bed5b4264 Remove _webp.WebPDecoderBuggyAlpha and _webp.HAVE_TRANSPARENCY 2024-08-13 09:26:04 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00
Andrew Murray
be73b13ad3 Added type hints 2024-06-12 21:15:55 +10:00
Andrew Murray
9313587fec
Merge branch 'main' into jxl-support2 2024-05-22 20:08:39 +10:00
Andrew Murray
e419fd7ab4 Added type hints 2024-05-15 20:19:09 +10:00
mrKazzila
74063feadc chore: add f-string formatting 2024-05-04 19:21:49 +03: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
olokelo
8fa280f6a5 rename jxl -> jpegxl 2024-03-19 22:17:35 +01:00
Andrew Murray
37b58f340b Removed feature 2024-03-06 20:58:52 +11:00
Nulano
07f2b965ed rename --bugreport to --report 2024-03-04 20:12:40 +01:00
Andrew Murray
970c691fa2 Document --bugreport 2024-03-02 10:44:45 +00:00
olokelo
23fb57dd26 minor fixes, linting corrections 2024-03-02 10:37:55 +01:00
pre-commit-ci[bot]
a57ebeaaf4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-02 00:38:52 +00:00
olokelo
8e0c5db1e0 add tests 2024-03-02 00:56:38 +01:00
Nulano
ab9dfd8181 Add sys.{executable,base_prefix,prefix} to features.pilinfo 2024-02-20 21:38:04 +01:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
c24c1ccf81 Use "not in"
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-14 08:52:55 +10:00
nulano
3d4e9b107d
warn if module is found but fails to import in PIL.features 2023-03-31 02:57:58 +02:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Andrew Murray
3795772187 Use python3 2021-05-08 12:37:06 +10:00
Andrew Murray
9b56833300
Merge branch 'master' into fribidi-link 2021-02-07 16:02:16 +11:00
Andrew Murray
cf98f178ad Added tk version 2021-01-26 08:01:26 +11:00
nulano
5cd688fc82 add option to statically link fribidi, version info 2021-01-05 00:06:29 +11:00
nulano
e65dd04a63 avoid using pkg_resources in PIL.features.pilinfo 2020-10-13 17:52:26 +01:00
nulano
40c9a5a2a0 compatibility for LCMS<2.7, vix LCMS version string 2020-10-12 02:58:24 +01:00
Hugo van Kemenade
e0eec1eb56 Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
Hugo van Kemenade
10615a7da7 Upgrade Python syntax for 3.6+
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
nulano
24672a2f75
simplify output
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-21 18:07:10 +01:00
nulano
6c1ff252d6 check run-time version numbers where available, add docs 2020-06-21 18:58:39 +10:00
nulano
a324f4a466 add version to features info block 2020-06-21 18:58:39 +10:00
nulano
d05a08a298 formatting improvements
Co-authored-by: Hugo <hugovk@users.noreply.github.com>
2020-06-14 06:49:00 +02:00
nulano
097104278b add docs for features module 2020-06-13 04:28:02 +02:00
nulano
3c39e6fcf6 xcb screengrab support 2020-03-24 19:29:44 +11:00
Jon Dufresne
c057ad1535 Warn on typos passed to features.check()
If the feature isn't one of the recognized types, a UserWarning is
emitted.
2020-02-18 19:48:48 -08:00