Commit Graph

13639 Commits

Author SHA1 Message Date
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
mergify[bot]
cb6c94123e
Merge pull request #6526 from radarhere/parametrize
Parametrized tests
2022-08-24 08:15:01 +00: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
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
Andrew Murray
b6b42b8e56 Updated libimagequant to 4.0.2 2022-08-23 07:41:12 +10:00
Yay295
96e791b037 don't mix memset and array indexing 2022-08-22 14:14:34 -05:00
Yay295
6aa7a7edd0 auto-formatting 2022-08-22 13:34:47 -05:00
Yay295
b236c61c04
make @pytest.mark.parametrize annotations one line 2022-08-22 13:29:26 -05:00
pre-commit-ci[bot]
1421f94b6d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-08-22 14:25:33 +00:00
Yay295
fd47eed73a parametrize Tests/test_image_paste.py 2022-08-22 09:23:42 -05:00
Hugo van Kemenade
4dd678a2e7
Merge pull request #6501 from radarhere/test-image-results 2022-08-22 17:02:52 +03:00
Yay295
05f78ca4db fix mask check in paste_mask_1() 2022-08-22 08:56:37 -05:00
Yay295
bdd292f2cd update Fill.c functions to handle more pixel sizes 2022-08-22 07:18:00 -05:00
Yay295
31ad2bc133 declare loop variable outside loop 2022-08-21 17:44:11 -05:00
Yay295
a63bcfbfb4 parse tuple into "r" and "g" instead of "r" and "a" because we want to put the values in the first two bytes 2022-08-21 15:27:27 -05:00
Yay295
e5039f8c15 make "rgb" uppercase 2022-08-21 00:16:40 -05:00
Yay295
60d4376cff check imIn mode, not mode to convert to 2022-08-21 00:15:32 -05:00
Yay295
8ae262e977 fix rgb2la() for LA pixelsize change (4 -> 2) 2022-08-21 00:12:07 -05:00
Yay295
567b4798fd simplify paste_mask_1() and paste_mask_RGBa() accounting for pixelsize 2022-08-20 23:06:09 -05:00