Commit Graph

83 Commits

Author SHA1 Message Date
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
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
2954964cd2
Removed ImageCmsProfile._set method (#9032)
Co-authored-by: Luke Granger-Brown <git@lukegb.com>
2025-06-23 07:05:43 +10:00
Hugo van Kemenade
b0d79c87f1
Merge pull request #8197 from radarhere/imagecms_core
Conditionally define ImageCms type hint to avoid requiring core
2024-10-12 11:30:17 +03:00
Aleksandr Karpinskii
d8ef314205 Remove extra load() calls 2024-09-16 10:39:14 +02:00
Andrew Murray
1f3fe6f733 Use getim() 2024-09-16 10:21:17 +10:00
Aleksandr Karpinskii
56bc6a1a71 Use PyCapsule in _imagingcms 2024-09-08 17:30:23 +04:00
Andrew Murray
a34ac045c3 Conditionally define type hint to avoid requiring core 2024-07-03 21:05:48 +10:00
Andrew Murray
eea3ac765c Deprecate non-image and unsupported modes 2024-06-12 22:44:03 +10:00
Andrew Murray
8dae9b618f Corrected type hint 2024-06-03 08:50:46 +10:00
Andrew Murray
4aba0b8238 Changed default colorTemp 2024-06-02 16:27:05 +10:00
Andrew Murray
54150f2061 Corrected docstring 2024-06-02 16:26:35 +10:00
Andrew Murray
d5c1ff4b43 Removed type hint ignores 2024-04-22 09:23:10 +10:00
Andrew Murray
1c2a323a90 Corrected variable name 2024-04-05 23:35:12 -05:00
Yay295
8e96748aea correct property names in method documentation 2024-04-01 09:40:39 -05: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
Nulano
aef7ccda3a use SupportsRead instead of BinaryIO 2024-03-28 18:35:20 +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
Andrew Murray
b22e4711cb Import __version__ from . 2024-03-12 12:02:26 +11:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
Nulano
bddfebc331 add license comment to ImageCms; explicitly say "no replacement" for deprecations without a replacement 2024-01-08 12:57:23 +01:00
Nulano
08f11c57a1 deprecate ImageCms members: DESCRIPTION, VERSION, FLAGS, versions() 2024-01-08 00:32:47 +01:00
Ondrej Baranovič
d9ec2fd4bb
Add code formatting to ImageCms.Flags docstrings
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-06 14:33:11 +01:00
Nulano
0b2e2b224f document ImageCms.Flags 2024-01-01 21:40:41 +01:00
Nulano
90991428fa add LCMS2 flags to ImageCms 2024-01-01 21:40:38 +01:00
Nulano
90d5552800 use _util.DeferredError.new everywhere 2023-12-27 14:55:30 +01:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Hugo van Kemenade
27d7bd10c8 Use list comprehensions to create transformed lists 2023-12-03 21:59:44 +02:00
Andrew Murray
546f6cbc27 Replaced absolute PIL import with relative import 2023-05-20 17:11:43 +10:00
Andrew Murray
91b69857c7 Removed duplicate code 2023-04-22 10:13:56 +10:00
Hugo van Kemenade
c8ec15980b Remove constants deprecated in 9.1.0 2023-04-06 16:11:36 +03:00
Andrew Murray
68fdd2a9e7 Further improve exception traceback readability 2022-12-30 14:24:28 +11:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Hugo van Kemenade
959e576dd2 Use f-string 2022-06-15 21:43:18 +03:00
Jingxuan He
b47bcc246f
Fix a potential wrong operator bug 2022-06-15 17:39:37 +02:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
Cleanup: various
2022-04-26 18:51:44 +10:00
Andrew Murray
35fbf22250
Merge branch 'main' into cleanup-names 2022-04-16 19:49:40 +10:00
Hugo van Kemenade
7fa92c67b1 [Private] class names should be CamelCase 2022-04-10 23:55:16 +03:00
Hugo van Kemenade
ee85e387ba Remove redundant parentheses 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
4cb8e4b3fa Add deprecations helper 2022-04-06 13:19:52 +03:00
Andrew Murray
ed8073e846 Deprecated constants in favour of enums 2022-01-15 10:07:07 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00
Andrew Murray
97ed2ecd97 Changed URLs to https 2021-10-27 22:51:54 +11:00
Andrew Murray
622a1cd542 Changed URLs to HTTPS 2021-07-12 21:00:36 +10:00
Andrew Murray
c196af6ddb Fixed loading profile with non-ASCII path on Windows 2020-09-13 13:53:58 +10:00