Commit Graph

3776 Commits

Author SHA1 Message Date
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
Hugo van Kemenade
fdf103c5ad
Merge pull request #8085 from void4/imagedraw_circle 2024-05-28 12:35:31 +03:00
void4
8db5fbead1
Update src/PIL/ImageDraw.py - set circle argument xy to type Sequence[float] instead of Coords, radius to float
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-27 13:27:56 +02:00
void4
38e6913579
Simplify circle() by reusing ellipse() 2024-05-27 13:01:10 +02:00
pre-commit-ci[bot]
2ee3cef50e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-26 22:25:16 +00:00
void4
2c4a6e1179 Add function and documentation to draw circle 2024-05-27 00:23:16 +02:00
Andrew Murray
82d9926905 Split depth/type into bit depth and color type 2024-05-26 10:04:44 -05:00
Yay295
1b878189d8
don't reuse variable name 2024-05-26 02:25:45 -05:00
Andrew Murray
1a6b0bb6b5 Removed documentation of unused argument 2024-05-25 19:30:20 +10:00
Andrew Murray
33e304ed66 Use @cached_property 2024-05-22 19:43:00 +10:00
Andrew Murray
82910a5e4f Lint fixes 2024-05-19 22:00:45 +10:00
Andrew Murray
22b64ffcf2
Merge pull request #8015 from hugovk/pre-commit-clang
Add ClangFormat to pre-commit
2024-05-19 16:27:30 +10:00
Hugo van Kemenade
c6fb36ff36
Merge pull request #8064 from radarhere/mingw
Fix type errors
2024-05-18 07:18:39 -04:00
Andrew Murray
3062ec4dd2 Fix type errors 2024-05-16 22:55:03 +10:00
Andrew Murray
e419fd7ab4 Added type hints 2024-05-15 20:19:09 +10:00
Andrew Murray
a8d154877d Added type hints 2024-05-13 18:47:51 +10:00
Andrew Murray
82c87c4adf
Merge branch 'main' into pre-commit-clang 2024-05-13 12:39:47 +10:00
Hugo van Kemenade
0c8be38878
Merge pull request #7999 from radarhere/accept
Added MPEG accept function
2024-05-11 23:02:51 +03:00
Hugo van Kemenade
5e48d54769
Merge pull request #7984 from radarhere/modes
Added more modes to Image.MODES
2024-05-11 23:01:42 +03:00
Andrew Murray
18b87c8515 Added type hints 2024-05-11 10:48:09 +10:00
Hugo van Kemenade
bfbe339ae3
Merge pull request #8045 from radarhere/strings 2024-05-10 18:44:37 +03:00
Andrew Murray
ce8dedadfd
Merge branch 'main' into modes 2024-05-08 22:11:50 +10:00
Andrew Murray
c6a3f0fdd8
Merge branch 'main' into accept 2024-05-08 18:45:10 +10:00
Andrew Murray
58ee112a9a
Merge branch 'main' into type_hint 2024-05-08 18:04:02 +10:00
Andrew Murray
ed0867abec Set stream length for later use 2024-05-08 06:30:43 +10:00
Andrew Murray
b17f1e507b Use f-strings 2024-05-07 14:01:08 +10:00
pre-commit-ci[bot]
71b8d99b36 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-04 19:27:45 +00:00
mrKazzila
984c2e7f30 chore: update __repr__ for PdfName 2024-05-04 19:26:22 +03:00
mrKazzila
74063feadc chore: add f-string formatting 2024-05-04 19:21:49 +03:00
Andrew Murray
6036d81d97 Added type hints 2024-05-04 20:51:54 +10:00
Andrew Murray
7d62c306cc
Merge branch 'main' into pre-commit-clang 2024-04-30 21:34:41 +10:00
Andrew Murray
2250fbeb9a Added type hints 2024-04-29 20:25:11 +10:00
Andrew Murray
996c053d89 Change comment style 2024-04-28 22:49:56 +10:00
Hugo van Kemenade
5597f618a3
Change comment style
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-04-28 02:49:42 -06:00
Andrew Murray
fd8c6a6295 Do not indent goto labels 2024-04-28 13:51:32 +10:00
Cees Timmerman
8cc48b24fe
Update ExifTags.py
Fixed typo. No other instances in this repo.
2024-04-26 17:17:44 +02:00
Andrew Murray
f56a2c9b7e
Merge branch 'main' into bgr 2024-04-26 07:11:04 +10:00
Hugo van Kemenade
1138ea5370
Merge pull request #7921 from Yay295/testing
Fix ImagingAccess for I;16N on big-endian
2024-04-25 21:36:38 +03:00
pre-commit-ci[bot]
1420e72566 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-25 18:08:54 +00:00
Hugo van Kemenade
c0cb417a44
Add semicolons to fix indent 2024-04-25 21:08:24 +03:00
pre-commit-ci[bot]
617e7295a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-25 12:51:24 +00:00
Andrew Murray
bbd5a87e60 Combined conditions 2024-04-25 16:16:33 +10:00
Andrew Murray
49ce63d257
Merge branch 'main' into bgr 2024-04-25 09:13:20 +10:00
Hugo van Kemenade
1fc1179ed5
Merge pull request #8008 from radarhere/convert
Simplified RGB to I;16, I;16L and I;16B conversion
2024-04-25 00:00:15 +03:00
Hugo van Kemenade
98e3f591d4
Merge pull request #8006 from Yay295/patch-4
Extract band count check
2024-04-24 07:25:37 +03:00
Andrew Murray
46b85e6ab4 Simplified code 2024-04-24 11:02:56 +10:00
Yay295
eee53ba664
extract band count check 2024-04-23 13:06:22 -05:00
Yay295
b9307f08d1
remove unused variable 2024-04-23 12:02:25 -05:00
Yay295
4a4eb0f3ee
remove semicolon after function definition 2024-04-23 01:08:42 -05:00