Andrew Murray
|
f56a2c9b7e
|
Merge branch 'main' into bgr
|
2024-04-26 07:11:04 +10:00 |
|
Yay295
|
a4080a7249
|
clean up comments in test_image_access.py
|
2024-04-25 08:51:33 -05:00 |
|
Andrew Murray
|
5c960d6abc
|
rename "image_mode_names" to "modes"
|
2024-04-20 09:03:19 -05:00 |
|
Yay295
|
0fed6a5fbc
|
use common image mode list for TestImageGetPixel tests
|
2024-04-20 09:01:38 -05:00 |
|
Andrew Murray
|
d431c97ba3
|
Deprecate BGR;15, BGR;16 and BGR;24
|
2024-04-15 19:28:52 +10:00 |
|
Andrew Murray
|
6d78d42769
|
Added type hints
|
2024-03-02 13:12:17 +11:00 |
|
Andrew Murray
|
ea0240bf2d
|
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-12 19:12:08 +11:00 |
|
Andrew Murray
|
3f6422b512
|
Added type hints
|
2024-02-12 09:28:53 +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 |
|
Hugo van Kemenade
|
4a4b90c365
|
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
|
2024-01-31 20:12:58 +11:00 |
|
Hugo van Kemenade
|
53c3cd9f8e
|
isort Tests
|
2024-01-20 13:23:03 +02:00 |
|
Hugo van Kemenade
|
43b2f61e79
|
Add 'from __future__ import annotations' using Ruff/isort
|
2023-12-21 13:13:31 +02:00 |
|
Andrew Murray
|
4e7f61f459
|
Merge branch 'main' into bgr
|
2023-10-06 18:50:25 +11:00 |
|
Andrew Murray
|
d8c3135b6b
|
Allow getpixel to accept a list
|
2023-08-28 20:12:23 +10:00 |
|
Andrew Murray
|
3230270aa7
|
Added BGR;15, BGR;16 and BGR;24 access
|
2023-07-26 20:09:40 +10:00 |
|
Andrew Murray
|
8a36b0fc2d
|
Deprecate PyAccess
|
2023-06-28 20:10:10 +10:00 |
|
Andrew Murray
|
d5d830dd00
|
Merge branch 'main' into bgr32
|
2023-03-25 23:45:48 +11:00 |
|
Andrew Murray
|
11d100ce5d
|
Support creating BGR;15, BGR;16 and BGR;24 images
|
2023-03-20 00:30:10 +11:00 |
|
Andrew Murray
|
f8d93267e1
|
Merge branch 'main' into i16n
|
2023-03-13 14:33:26 +11:00 |
|
Yay295
|
e80707547f
|
parametrize test_image_access::test_signedness()
|
2023-01-16 07:47:24 -06:00 |
|
Yay295
|
1603872f24
|
use better variable names
|
2023-01-16 07:46:11 -06:00 |
|
Yay295
|
7ad50d9185
|
log expected & actual color in image access tests
|
2023-01-15 19:42:55 -06:00 |
|
Andrew Murray
|
a0e1608f4f
|
Support accessing I;16N pixels
|
2022-12-28 18:58:16 +11:00 |
|
pre-commit-ci[bot]
|
23df3bda7f
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2022-10-30 03:17:57 +00:00 |
|
nulano
|
181fad2918
|
move import used only on Windows and remove unused import
|
2022-10-30 03:17:13 +00:00 |
|
nulano
|
eaee7fda97
|
add xfail mark to test_image_access:test_embeddable
|
2022-10-30 02:59:14 +00:00 |
|
pre-commit-ci[bot]
|
c93413835d
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2022-10-13 02:22:53 +00:00 |
|
Mark Mayo
|
69baeccf2e
|
some pylint warnings
Fixed some pylint issues
|
2022-10-13 15:20:11 +13:00 |
|
Andrew Murray
|
982d7c49e3
|
Corrected test
|
2022-10-10 11:46:33 +11:00 |
|
Andrew Murray
|
2eca2989a2
|
Merge branch 'main' into pyaccess_pa
|
2022-08-31 20:56:38 +10:00 |
|
Andrew Murray
|
0ed03d4a58
|
Parametrize tests
|
2022-08-23 21:41:32 +10:00 |
|
Andrew Murray
|
a37593f004
|
Allow RGB and RGBA values for PA image putpixel
|
2022-08-14 14:34:42 +10:00 |
|
Andrew Murray
|
2a285d1b1f
|
Only import ctypes as needed on Windows
|
2022-03-19 14:46:25 +11:00 |
|
Hugo van Kemenade
|
29960c6610
|
Merge pull request #6108 from radarhere/none
|
2022-03-10 17:36:13 +02:00 |
|
Andrew Murray
|
72b7ab54bd
|
pre-commit autoupdate --freeze
|
2022-03-04 16:42:24 +11:00 |
|
Andrew Murray
|
c27519960f
|
Check if self.im is not None
|
2022-03-03 22:10:19 +11:00 |
|
Andrew Murray
|
a1412681ff
|
Added specific error messages when ink has incorrect number of bands
|
2021-05-19 20:19:57 +10:00 |
|
Andrew Murray
|
7b4b356fc0
|
Test for incorrect PixelAccess arguments
|
2021-01-14 22:09:11 +11:00 |
|
Andrew Murray
|
bdbf1694fc
|
Allow PixelAccess to use Python __int__ when parsing x and y
|
2021-01-14 21:31:25 +11:00 |
|
Andrew Murray
|
b304a13bca
|
Updated test
|
2020-09-22 13:06:52 +10:00 |
|
Andrew Murray
|
27c0747518
|
Allow tuples with one item to give single color value in getink
|
2020-09-20 14:23:05 +10:00 |
|
Hugo van Kemenade
|
799fa9764f
|
Merge pull request #4882 from nulano/putpixel
|
2020-09-03 19:22:30 +03:00 |
|
Hugo van Kemenade
|
e0eec1eb56
|
Merge branch 'master' into rm-3.5
|
2020-09-01 20:16:46 +03:00 |
|
nulano
|
4b2a0173d3
|
group test cases
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2020-08-21 14:11:47 +02:00 |
|
nulano
|
76a51270fa
|
split up test
|
2020-08-20 23:23:15 +02:00 |
|
nulano
|
4bb78d53a3
|
give proper error message for invalid putpixel color type
|
2020-08-20 00:01:03 +02:00 |
|
Hugo van Kemenade
|
dd87dd50c0
|
Update to isort 5 with Black profile support
|
2020-08-08 22:39:29 +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 |
|
Andrew Murray
|
a10634e13f
|
Do not explicitly import distutils
|
2020-07-26 14:59:30 +10:00 |
|
Andrew Murray
|
42bb401e88
|
Replaced distutils sysconfig
|
2020-07-25 20:03:27 +10:00 |
|