Commit Graph

23 Commits

Author SHA1 Message Date
mrKazzila
74063feadc chore: add f-string formatting 2024-05-04 19:21:49 +03:00
Andrew Murray
d431c97ba3 Deprecate BGR;15, BGR;16 and BGR;24 2024-04-15 19:28:52 +10:00
Hugo van Kemenade
4897954223
Merge pull request #7951 from Yay295/patch-2 2024-04-11 13:47:05 +03:00
Andrew Murray
76fb002dd4
Removed outdated comment 2024-04-07 16:14:41 +10:00
Yay295
05d2314606
Make ModeDescriptor a NamedTuple 2024-04-06 15:52:17 -05:00
Hugo van Kemenade
396b96f28b
Optimise ImageMode.getmode
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-12-26 15:08:58 -07:00
Hugo van Kemenade
26f58e7afc Optimise ImageMode.getmode 2023-12-26 18:05:55 +02:00
Hugo van Kemenade
17af8eca02
Add type hints for ImageMode
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-12-23 02:16:46 -07:00
Hugo van Kemenade
76809f09ef Add type hints for ImageMode 2023-12-22 16:23:28 +02:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
11d100ce5d Support creating BGR;15, BGR;16 and BGR;24 images 2023-03-20 00:30:10 +11:00
Andrew Murray
9e6ae98362 Dropped support for BGR;32 mode 2023-03-13 17:31:12 +11:00
Andrew Murray
9d3c8d2714 Added further typestr entries 2022-02-15 22:30:33 +11:00
Andrew Murray
3bbcad1ad2 Avoid circular dependency 2022-02-15 22:30:12 +11:00
Andrew Murray
a2313be894 Merged _MODE_CONV typ into ImageMode as typestr 2022-02-15 18:01:02 +11:00
Sebastian Wallkötter
11dd543837 remove mode BGR 2022-01-10 08:17:53 +01:00
Sebastian Wallkötter
f40c005399 Add missing ImageModes
The modes are mentioned in the docs, but weren't part of ImageMode.
2022-01-06 07:58:57 +01:00
Andrew Murray
ca204ba04f Removed Image._MODEINFO 2021-03-07 14:21:27 +11:00
Hugo
538d9e2e5d Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
Andrew Murray
b262378632 Added mode descriptors for all I;16 modes 2019-06-12 20:33:00 +10:00
Hugo
53a7e35004 Format with Black 2019-06-10 18:22:46 +03:00
Andrew Murray
c2189235af Line too long 2018-07-02 19:26:02 +10:00
wiredfool
0bb3f4fee9 source layout reorg 2017-12-28 14:49:47 +00:00