Commit Graph

12912 Commits

Author SHA1 Message Date
Andrew Murray
6be87277f7 Allow rawmode None to return the palette in the current mode 2022-02-17 10:35:13 +11:00
Andrew Murray
852859476b Added rawmode argument to getpalette() 2022-02-17 10:15:03 +11:00
Hugo van Kemenade
bd4e20f8c2
Merge pull request #6058 from radarhere/relative
Replaced absolute PIL import with relative import
2022-02-17 00:15:53 +02:00
Andrew Murray
54cb09d8b4 When converting to P, restrict colors to palette size 2022-02-16 11:01:00 +11:00
Andrew Murray
948c064b28 Allow getpalette() to return less than 256 colors 2022-02-16 09:56:13 +11:00
Andrew Murray
10e1731149 Update CHANGES.rst [ci skip] 2022-02-16 07:39:35 +11:00
Hugo van Kemenade
f5a77fed39
Merge pull request #6054 from radarhere/palette 2022-02-15 19:01:07 +02:00
Andrew Murray
9d3c8d2714 Added further typestr entries 2022-02-15 22:30:33 +11:00
Andrew Murray
fbd23bbf28 Clarified code 2022-02-15 22:30:33 +11:00
Andrew Murray
902e3812a8 Use ternary operator 2022-02-15 22:30:33 +11:00
Andrew Murray
3bbcad1ad2 Avoid circular dependency 2022-02-15 22:30:12 +11:00
Andrew Murray
bba493d702 Replaced absolute PIL import with relative import 2022-02-15 21:50:20 +11:00
Andrew Murray
a2313be894 Merged _MODE_CONV typ into ImageMode as typestr 2022-02-15 18:01:02 +11:00
Andrew Murray
95c17a8334 Replaced _MODE_CONV extra with bands length 2022-02-15 17:39:56 +11:00
Andrew Murray
dfdb17671d Added FITS reading 2022-02-15 11:22:46 +11:00
Andrew Murray
9a4106c14f
Merge branch 'main' into enum 2022-02-15 08:12:28 +11:00
Hugo van Kemenade
7b3f28047f
Merge pull request #6053 from radarhere/simplified
Simplified code
2022-02-14 19:16:39 +02:00
Hugo van Kemenade
7736764ce3
Merge pull request #6050 from radarhere/ppc64le
Only skip test if libimagequant is earlier than 4 on ppc64le
2022-02-14 19:15:34 +02:00
Andrew Murray
41a9975377 Moved strcmp outside of loop 2022-02-14 21:50:19 +11:00
Andrew Murray
9cdb0508b6 Attach RGBA palettes from putpalette() when suitable 2022-02-14 20:28:47 +11:00
Andrew Murray
5411263d92 Simplified code 2022-02-14 19:24:47 +11:00
Andrew Murray
83d4f451fa Ensure image is opaque after converting P to PA with RGB palette 2022-02-14 16:10:59 +11:00
Andrew Murray
45534d130b Only skip test if libimagequant is earlier than 4 on ppc64le 2022-02-14 12:12:33 +11:00
Andrew Murray
993bb23ce0 Do not manually remove temporary files on Unix in get_command() 2022-02-14 09:33:58 +11:00
Hugo van Kemenade
cac305f8d2
Merge pull request #6048 from radarhere/harfbuzz 2022-02-13 21:08:29 +02:00
Andrew Murray
b818ad6103 Updated harfbuzz to 3.4.0 2022-02-13 21:58:46 +11:00
Andrew Murray
3ba9587675 Added test 2022-02-12 09:07:17 +11:00
Andrew Murray
e19447cbbb Do not manually remove temporary files on Unix 2022-02-12 08:04:40 +11:00
Andrew Murray
7f8df9d712 Use "title" argument for display 2022-02-12 07:49:27 +11:00
Andrew Murray
70a17080e4 Updated return values to match docstring 2022-02-12 07:49:20 +11:00
Andrew Murray
1646326506 Update CHANGES.rst [ci skip] 2022-02-11 08:23:04 +11:00
mergify[bot]
89768e3d57
Merge pull request #6042 from radarhere/tiff_bits
Clarify code and comments
2022-02-10 21:20:22 +00:00
Hugo van Kemenade
f5fab326fa
Merge pull request #6030 from radarhere/photoshopblocks
Added get_photoshop_blocks() to parse Photoshop TIFF tag
2022-02-10 09:40:17 +02:00
Hugo van Kemenade
6520d44496
Merge pull request #6041 from mikhail-iurkov/tiff_bits
Drop excess values in BITSPERSAMPLE
2022-02-10 09:32:34 +02:00
Andrew Murray
8b6ee688d8 Added release notes for #5959 2022-02-10 13:56:27 +11:00
Andrew Murray
912296200c Added release notes for #5942 2022-02-10 13:53:39 +11:00
Andrew Murray
f797137ab5 Added release notes for #5972 2022-02-10 13:53:35 +11:00
Andrew Murray
657ec4aa3d Added release notes for #5891 2022-02-10 13:53:30 +11:00
Andrew Murray
ef1373838d Added release notes 2022-02-10 12:15:25 +11:00
Andrew Murray
2ae70f144f Added get_photoshop_blocks() to parse Photoshop tag 2022-02-10 12:00:23 +11:00
Andrew Murray
1f82202998 Adjusted comments 2022-02-10 11:08:25 +11:00
Andrew Murray
e098481279 Combined width and height into size 2022-02-10 11:02:13 +11:00
Andrew Murray
b38a67fa12
Merge branch 'main' into enum 2022-02-10 09:52:24 +11:00
Andrew Murray
4e65e2c29d Update CHANGES.rst [ci skip] 2022-02-10 09:47:43 +11:00
Hugo van Kemenade
2d38daca9a
Merge pull request #6038 from radarhere/macos 2022-02-09 17:31:11 +02:00
Mikhail Iurkov
2bbf5f0981
Lint 2022-02-09 16:53:27 +03:00
Mikhail Iurkov
bb5a090f60
Drop excess values in BITSPERSAMPLE 2022-02-09 16:40:43 +03:00
mergify[bot]
1c679a93f9
Merge pull request #6040 from hugovk/fix-docs-return
Fix return in docs
2022-02-09 13:19:48 +00:00
Hugo van Kemenade
8b7c37dc0c
Merge pull request #6035 from nulano/raqm-warn 2022-02-09 14:34:33 +02:00
Hugo van Kemenade
9d106ba619
Merge pull request #6031 from radarhere/unpack 2022-02-09 14:33:19 +02:00