Andrew Murray
|
99666dac29
|
Simplified casts
|
2024-06-25 22:00:51 +10:00 |
|
Andrew Murray
|
d2b5e11d2b
|
Merge pull request #8032 from nulano/type_hints
Added type hints for PixelAccess related methods and others
|
2024-06-25 19:15:31 +10:00 |
|
Hugo van Kemenade
|
920698eea7
|
Merge pull request #8153 from radarhere/type_hint
|
2024-06-23 07:29:11 -06:00 |
|
Hugo van Kemenade
|
9c7ba240e9
|
Merge pull request #7966 from radarhere/palette
Support unpacking more rawmodes to RGBA palettes
|
2024-06-23 01:43:41 -06:00 |
|
Andrew Murray
|
cc83cc8ec8
|
Updated type hints
|
2024-06-22 10:09:11 +10:00 |
|
Nulano
|
b64847e07f
|
Do not use a protocol for PixelAccess object
|
2024-06-19 21:48:48 +02:00 |
|
Andrew Murray
|
7ab3aee7bc
|
Merge branch 'main' into xmp
|
2024-06-19 09:06:10 +10:00 |
|
Andrew Murray
|
6b5b2f6e58
|
Added type hints to Image
|
2024-06-18 22:44:17 +10:00 |
|
pre-commit-ci[bot]
|
0a2baab6c1
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-06-12 20:19:20 +00:00 |
|
Nulano
|
238110303c
|
getpixel and putpixel also support a list argument
|
2024-06-12 22:17:10 +02:00 |
|
Nulano
|
2a2033eea1
|
mypy fixes after merge
|
2024-06-12 21:49:47 +02:00 |
|
Nulano
|
31a8da48ee
|
Merge remote-tracking branch 'upstream/main' into type_hints
# Conflicts:
# src/PIL/Image.py
|
2024-06-12 21:06:31 +02:00 |
|
Andrew Murray
|
eb56f3ed56
|
Removed ignores
|
2024-06-12 20:56:38 +02:00 |
|
Andrew Murray
|
7e14364cee
|
putalpha does not allow other color values
|
2024-06-12 20:56:38 +02:00 |
|
Andrew Murray
|
9afe9d2769
|
Added type hints
|
2024-06-11 06:52:14 +10:00 |
|
Andrew Murray
|
2d1fe7572f
|
Added type hints
|
2024-06-10 14:15:28 +10:00 |
|
Andrew Murray
|
56fa3c658a
|
Added type hints
|
2024-06-09 07:12:22 +10:00 |
|
Andrew Murray
|
0d73721c65
|
Allow float center for rotate operations
|
2024-06-08 19:11:51 +10:00 |
|
Andrew Murray
|
985e605381
|
Renamed transform2 to transform
|
2024-06-08 19:06:46 +10:00 |
|
Andrew Murray
|
5bacce9dc2
|
Merge pull request #8046 from srittau/type-annotations
Add various type annotations
|
2024-06-08 18:38:21 +10:00 |
|
Andrew Murray
|
45cdc53bbb
|
Updated type hints
|
2024-06-08 18:03:06 +10:00 |
|
Andrew Murray
|
d2603b779a
|
im color could be a tuple with a single float
|
2024-06-08 17:16:50 +10:00 |
|
Andrew Murray
|
eba2694498
|
Merge branch 'main' into xmp
|
2024-06-05 15:53:46 +10:00 |
|
Andrew Murray
|
b3c534cc9a
|
Added type hints
|
2024-06-05 08:29:28 +10:00 |
|
Andrew Murray
|
12559fffc5
|
Merge branch 'main' into type_hint
|
2024-06-04 08:18:14 +10:00 |
|
Andrew Murray
|
f5da04adb0
|
Added type hints
Co-authored-by: Nulano <nulano@nulano.eu>
|
2024-06-03 21:58:02 +10:00 |
|
Andrew Murray
|
d566c04d5b
|
Updated type hints
|
2024-06-03 14:20:01 +10:00 |
|
Andrew Murray
|
6affb123c3
|
Merge branch 'main' into type_hints
|
2024-05-31 08:06:42 +10:00 |
|
Andrew Murray
|
2dedeef832
|
Support unpacking more rawmodes to RGBA palette
|
2024-05-22 20:05:07 +10:00 |
|
Andrew Murray
|
0f1a0fc501
|
Improved consistency of XMP handling
|
2024-05-20 23:11:50 +10:00 |
|
Andrew Murray
|
8a3a72e51d
|
Added type hints
|
2024-05-18 16:06:50 +10:00 |
|
Andrew Murray
|
2a703a2d4c
|
Removed continue
|
2024-05-17 08:04:20 +10:00 |
|
Andrew Murray
|
1036aa74a7
|
Added Image.WARN_POSSIBLE_FORMATS
|
2024-05-16 17:47:35 +10:00 |
|
Andrew Murray
|
73a3e4938c
|
Merge branch 'main' into type-annotations
|
2024-05-15 21:48:41 +10: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 |
|
Sebastian Rittau
|
6d6dfd176c
|
Revert unnecessary formatting change
|
2024-05-11 10:46:20 +02:00 |
|
Sebastian Rittau
|
431fe0dcc8
|
Rename protocol to SupportsGetData
|
2024-05-10 11:46:35 +02:00 |
|
Andrew Murray
|
b2ce2f6ec4
|
Merge branch 'main' into type_hints
|
2024-05-09 08:58:03 +10:00 |
|
Andrew Murray
|
ce8dedadfd
|
Merge branch 'main' into modes
|
2024-05-08 22:11:50 +10:00 |
|
Sebastian Rittau
|
bb8718e581
|
Hopefully the last Python 3.8 instance :/
|
2024-05-08 12:54:44 +02:00 |
|
Sebastian Rittau
|
296050f382
|
More Python 3.8 compatibility
|
2024-05-08 12:26:45 +02:00 |
|
Sebastian Rittau
|
7ae8d37138
|
Make GetDataTransform public
|
2024-05-08 12:14:59 +02:00 |
|
Sebastian Rittau
|
ef35d79264
|
Python 3.8 compatibility
|
2024-05-08 12:14:37 +02:00 |
|
Andrew Murray
|
58ee112a9a
|
Merge branch 'main' into type_hint
|
2024-05-08 18:04:02 +10:00 |
|
Sebastian Rittau
|
d63caf266d
|
Various fixes
|
2024-05-07 15:59:20 +02:00 |
|
Sebastian Rittau
|
d44e9fccb1
|
Various fixes
|
2024-05-07 14:53:26 +02:00 |
|
pre-commit-ci[bot]
|
1aa3886ed7
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-05-07 12:34:02 +00:00 |
|
Sebastian Rittau
|
c92f59d758
|
Add various type annotations
|
2024-05-07 14:30:34 +02: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
|
a304fd5f41
|
Merge branch 'main' into type_hints
|
2024-04-30 19:41:34 +10:00 |
|
Nulano
|
5f805c39cc
|
Added type hints for PixelAccess methods and others
|
2024-04-29 23:52:51 +02:00 |
|
Andrew Murray
|
2250fbeb9a
|
Added type hints
|
2024-04-29 20:25:11 +10:00 |
|
Andrew Murray
|
49ce63d257
|
Merge branch 'main' into bgr
|
2024-04-25 09:13:20 +10:00 |
|
Andrew Murray
|
4171435db4
|
Added more modes
|
2024-04-22 09:23:41 +10:00 |
|
Adam J. Stewart
|
c655dc0c6b
|
Use a property
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
|
2024-04-16 17:53:48 +02:00 |
|
Andrew Murray
|
d431c97ba3
|
Deprecate BGR;15, BGR;16 and BGR;24
|
2024-04-15 19:28:52 +10:00 |
|
Andrew Murray
|
84238bd459
|
Merge branch 'main' into types/fromarray
|
2024-04-07 08:32:48 +10:00 |
|
Andrew Murray
|
48b270590c
|
accept returns bool or str
|
2024-04-06 18:31:08 +02:00 |
|
Nulano
|
819e1b9dd2
|
add type hints for Image.save
|
2024-04-04 23:38:50 +02:00 |
|
Nulano
|
8c14a394c1
|
add type hints for Image.open and Image.init
|
2024-04-04 20:01:24 +02:00 |
|
Andrew Murray
|
e85a84baa7
|
Added SupportsArrayInterface
|
2024-04-03 20:00:40 +11:00 |
|
Adam J. Stewart
|
5d19151cd3
|
Python 3.10+
|
2024-04-02 17:56:52 +02:00 |
|
pre-commit-ci[bot]
|
8a63980e39
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-02 15:53:42 +00:00 |
|
Adam J. Stewart
|
37ed8c337d
|
Try type comment
|
2024-04-02 17:53:11 +02:00 |
|
pre-commit-ci[bot]
|
8e47a6f2c8
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-04-02 15:46:28 +00:00 |
|
Adam J. Stewart
|
4915f19b13
|
fromarray: add type hints
|
2024-04-02 17:45:06 +02:00 |
|
Hugo van Kemenade
|
7c5d0b9284
|
Add type hints
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2024-03-31 23:44:27 -06:00 |
|
Hugo van Kemenade
|
008b28eb0c
|
Add type hints
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2024-03-31 23:20:11 -06:00 |
|
Hugo van Kemenade
|
b6c755df32
|
Add type hints
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
|
2024-03-31 22:05:16 +03:00 |
|
Hugo van Kemenade
|
d734c8b702
|
Merge pull request #7888 from radarhere/convert_rgb
|
2024-03-28 18:11:12 +02:00 |
|
Andrew Murray
|
e79d1746f2
|
Support conversion from RGB to La
|
2024-03-26 19:57:17 +11:00 |
|
Andrew Murray
|
ab8f465f1a
|
Use transparency info when converting from RGB to LA
|
2024-03-26 19:55:22 +11:00 |
|
Andrew Murray
|
fb84c546b7
|
Removed references to the "current version"
|
2024-03-26 06:00:03 +11:00 |
|
Andrew Murray
|
171e497e05
|
Raise ValueError if kmeans is negative
|
2024-03-22 17:36:04 +11:00 |
|
Andrew Murray
|
8b6a182815
|
Support conversion from RGB to RGBa
|
2024-03-21 16:25:40 +11:00 |
|
Andrew Murray
|
e2986e1989
|
Do not upgrade NumPy
|
2024-03-15 20:41:15 +11:00 |
|
Hugo van Kemenade
|
9fec5d581d
|
Merge pull request #7842 from radarhere/exif
|
2024-03-11 17:40:36 +02:00 |
|
Hugo van Kemenade
|
3cdd49f31f
|
Merge pull request #7801 from radarhere/codecs
|
2024-03-11 17:38:12 +02:00 |
|
Andrew Murray
|
b7f39076a1
|
Merge pull request #7846 from radarhere/type_hints
Added type hints to additional tests
|
2024-03-03 21:33:08 +11:00 |
|
Andrew Murray
|
d6a3f89e27
|
Open 16-bit grayscale PNGs as I;16
|
2024-03-02 15:39:43 +11:00 |
|
Andrew Murray
|
6d78d42769
|
Added type hints
|
2024-03-02 13:12:17 +11:00 |
|
Andrew Murray
|
492943a0ff
|
Fix logged tag name when loading with getexif()
|
2024-02-29 20:53:22 +11:00 |
|
Andrew Murray
|
5c858d75e4
|
Added type hints
|
2024-02-17 10:45:52 +11:00 |
|
Andrew Murray
|
3199c0ea40
|
Decoder and encoders subclass PyDecoder and PyEncoder
|
2024-02-15 20:24:08 +11:00 |
|
Andrew Murray
|
29dd02509d
|
Merge branch 'main' into type-hints-replace-io.BytesIO
|
2024-02-11 22:02:55 +11:00 |
|
Andrew Murray
|
d02a778efd
|
Removed no cover pragmas
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-10 21:57:59 +11:00 |
|
Andrew Murray
|
68db96981c
|
Removed else
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-10 21:50:48 +11:00 |
|
Andrew Murray
|
19a6edeecc
|
Added type hints
|
2024-02-10 19:50:45 +11:00 |
|
Andrew Murray
|
152a24e13a
|
Simplified code
|
2024-02-10 16:48:02 +11:00 |
|
Andrew Murray
|
a118a82c30
|
Use os.path.realpath consistently when os.fspath is used
|
2024-02-08 18:48:45 +11:00 |
|
Andrew Murray
|
159fc068ca
|
Merge branch 'main' into type-hints-replace-io.BytesIO
|
2024-02-07 20:50:36 +11:00 |
|
Andrew Murray
|
5a8e7dda79
|
Added type hints
|
2024-02-05 20:36:34 +11:00 |
|
Hugo van Kemenade
|
61d47c3dfa
|
More support for arbitrary os.PathLike
|
2024-01-27 14:06:06 +02:00 |
|
Andrew Murray
|
7972332bc5
|
Added type hints
|
2024-01-17 19:22:45 +11:00 |
|
Andrew Murray
|
5a587193c7
|
Added type hints
|
2024-01-16 12:22:59 +11:00 |
|
Andrew Murray
|
6a2bdb6feb
|
Added type hints
|
2024-01-16 09:00:40 +11:00 |
|
Andrew Murray
|
575edbefe4
|
Added type hints
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-01-15 18:25:31 +11:00 |
|
Andrew Murray
|
c75a93b9a3
|
Added type hints
|
2024-01-15 16:11:48 +11:00 |
|
mergify[bot]
|
ed9e29d31e
|
Merge pull request #7714 from radarhere/type_hints_fits
Added type hints to FitsImagePlugin
|
2024-01-14 12:58:11 +00:00 |
|