Commit Graph

13679 Commits

Author SHA1 Message Date
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
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
Andrew Murray
3b4ea7c602 Do not use CCITTFaxDecode filter if libtiff is not available 2022-08-22 19:57:33 +10: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
Yay295
5077726bba use new generic function paste_mask() instead of paste_mask_L(), paste_mask_LA(), and paste_mask_RGBA() 2022-08-20 22:49:17 -05:00
Andrew Murray
4c59f77e37
Merge pull request #6513 from cgohlke/patch-1
DOC: fix image-file-formats.rst
2022-08-21 13:25:08 +10:00
Christoph Gohlke
8a1837c80d
DOC: fix image-file-formats.rst 2022-08-20 19:39:04 -07:00
Yay295
ab04a19c3e fix paste_mask_RGBA() in Paste.c 2022-08-20 18:07:10 -05:00
Hugo van Kemenade
c44eea2190
Merge pull request #6511 from radarhere/install
Ubuntu dependencies also apply to Jammy
2022-08-19 07:05:19 +03:00
Andrew Murray
f9d33b40ad Ubuntu dependencies also apply to Jammy [ci skip] 2022-08-19 12:09:47 +10:00
Yay295
2643a3d971 change pixelsize of La/LA/LA modes from 4 to 2 2022-08-17 22:45:24 -05:00
Andrew Murray
c463ef4fe3 Fallback to not using mmap if buffer is not large enough 2022-08-17 21:13:09 +10:00
Andrew Murray
6b35dc2a8a Update CHANGES.rst [ci skip] 2022-08-17 19:17:41 +10:00
Andrew Murray
8a60db322f Copy palette when converting from P to PA 2022-08-17 17:05:53 +10:00
Hugo van Kemenade
d80e93e435
Merge pull request #6509 from radarhere/pa2p 2022-08-17 09:34:32 +03:00
Andrew Murray
b84816c02f Added pa2p 2022-08-16 22:45:55 +10:00
Hugo van Kemenade
87ecd01fc0
Merge pull request #6484 from radarhere/imagedraw_font 2022-08-15 08:08:53 +03:00
Andrew Murray
520fa19dab
Fixed formatting
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-15 09:15:35 +10:00
Andrew Murray
a37593f004 Allow RGB and RGBA values for PA image putpixel 2022-08-14 14:34:42 +10:00