Commit Graph

13814 Commits

Author SHA1 Message Date
Andrew Murray
38b53a9fd7 Do not call load() before draft() 2022-08-26 20:33:51 +10:00
Andrew Murray
ac83011fbf NumPy now supports Python 3.11 2022-08-26 18:09:18 +10:00
Yay295
41421875ca fix indentation 2022-08-26 00:13:24 -05:00
Yay295
cfb48672bd change list literals to tuple literals 2022-08-25 21:30:38 -05:00
Yay295
d5757c2906 Merge branch 'main' into palala_pixelsize 2022-08-25 21:28:19 -05:00
Yay295
875d59122a account for pixelsize=2 in ImagingExpand() 2022-08-25 19:55:21 -05:00
Yay295
25df706e67 account for pixel size in imaging filters 2022-08-25 19:45:13 -05:00
Yay295
632b96b2c2 update remaining functions to check pixelsize 2022-08-25 19:18:22 -05:00
Yay295
493515bfbf update ImagingReduce4x4() to check pixelsize 2022-08-25 10:55:26 -05:00
Yay295
22e0bb7100 remove unused variables 2022-08-25 10:46:20 -05:00
Yay295
f2e62179a6 add imOut line pointers 2022-08-25 10:35:48 -05:00
Yay295
0d56474150 fix pixelsize=2 imOut offsets in ImagingReduceCorners() 2022-08-25 10:11:42 -05:00
Yay295
87e9ab01fe update ImagingReduce5x5() to check pixelsize 2022-08-25 10:10:49 -05:00
Yay295
94c4ac1f34 make input pointers const 2022-08-25 09:29:46 -05:00
Yay295
ecbffaa5e9 check for bands=4 instead of using it by default
this should make it more apparent that something has failed if we ever add an image type with more than four bands
2022-08-25 08:59:37 -05:00
Yay295
c2ca63686d update ImagingReduceCorners() to switch on pixelsize and handle pixelsize=2 2022-08-25 08:46:03 -05:00
Yay295
485729884a use "image" instead of "image8" or "image32", and make variables const where possible 2022-08-25 07:54:09 -05:00
Hugo van Kemenade
ba98fe7829
Merge pull request #6535 from radarhere/imagequant
Updated libimagequant to 4.0.4
2022-08-25 10:05:11 +03:00
Andrew Murray
5a38c7f953 Updated libimagequant to 4.0.4 2022-08-25 13:05:21 +10:00
nulano
aa5d67e492
convert TestImageFont and TestImageFont_RaqmLayout into a test fixture 2022-08-25 03:02:47 +02:00
Yay295
2fd3cb55d2
remove unused variable 2022-08-24 19:13:50 -05:00
pre-commit-ci[bot]
972961c9fe [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-08-24 23:22:10 +00:00
Yay295
65694f3fb8
parametrize test_rankfilter_error() 2022-08-24 18:21:27 -05:00
Yay295
826ab4b17c
remove unused asserts
An exception occurs before they would be checked.
2022-08-24 18:15:57 -05:00
Andrew Murray
f9d3ee0f48 Round position in pad() 2022-08-24 22:56:19 +10:00
Yay295
a7f7f6ac05
parametrize tests 2022-08-24 07:43:49 -05:00
Yay295
fa591e1198
parametrize tests 2022-08-24 07:43:31 -05:00
Yay295
f0be6845f7
parametrize tests 2022-08-24 07:42:51 -05:00
Andrew Murray
df4bb34600 Added test 2022-08-24 22:32:42 +10:00
Andrew Murray
192aae9ddd Merge branch 'main' into ImageOps.contain-function-issue-in-finding-new-size 2022-08-24 21:53:48 +10:00
mergify[bot]
cb6c94123e
Merge pull request #6526 from radarhere/parametrize
Parametrized tests
2022-08-24 08:15:01 +00:00
Andrew Murray
7d35d705ee Merge branch 'main' into convert 2022-08-24 17:21:39 +10:00
Andrew Murray
683aa90440 Merge branch 'main' into parametrize 2022-08-24 17:20:54 +10:00
mergify[bot]
39f5b05a82
Merge pull request #6529 from radarhere/windows
Build lcms2 VC2022
2022-08-24 06:52:14 +00:00
Andrew Murray
56ba3ff68c Build lcms2 VC2022 2022-08-24 15:39:43 +10:00
Yay295
eba429c9a3 update ImagingGetColors() for up to 4-byte pixels 2022-08-23 20:00:22 -05:00
Andrew Murray
3353ea80e1 Further parametrizations 2022-08-24 10:37:40 +10:00
Andrew Murray
8f25ea46eb
Qt4 is no longer supported
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-24 08:12:14 +10:00
Andrew Murray
1c391fe31f Renamed argument 2022-08-24 08:11:02 +10:00
Yay295
49099beb3d account for pixel size in Resample.c 2022-08-23 15:43:06 -05:00
Yay295
c6287ca7bc account for pixel size in ImagingTransformAffine() 2022-08-23 15:14:50 -05:00
Yay295
5b94bf1ce8 account for pixel size in ImagingScaleAffine() 2022-08-23 15:12:56 -05:00
Andrew Murray
0ed03d4a58 Parametrize tests 2022-08-23 21:41:32 +10:00
Hugo van Kemenade
0f3e8e5573
Merge pull request #6519 from Yay295/main 2022-08-23 14:11:02 +03:00
Andrew Murray
cd337405e1 Merge branch 'main' into convert 2022-08-23 20:28:30 +10:00
Hugo van Kemenade
3892458fe9
Merge pull request #6524 from radarhere/pdf
Temporarily skip valgrind failure
2022-08-23 11:09:35 +03:00
Hugo van Kemenade
a28d102ee3
Merge pull request #6523 from radarhere/imagequant
Updated libimagequant to 4.0.2
2022-08-23 11:08:49 +03:00
Yay295
a2c95d9141 a bit of cleanup 2022-08-22 18:49:34 -05:00
Yay295
1f1dfc3fb7 fix fill_mask_L() by adding more parentheses to the macros it uses 2022-08-22 18:44:30 -05:00
Andrew Murray
a3e61c1f89 Temporarily skip valgrind failure 2022-08-23 09:16:40 +10:00