Commit Graph

15215 Commits

Author SHA1 Message Date
Andrew Murray
7bf7ff8217 Use previous pixel alpha for QOI_OP_RGB 2023-08-31 09:27:33 +10:00
Andrew Murray
24606216e1 Update CHANGES.rst [ci skip] 2023-08-30 20:59:26 +10:00
Hugo van Kemenade
a25127034b
Merge pull request #7355 from radarhere/getpixel 2023-08-30 04:42:24 -06:00
Andrew Murray
f9f367fe54
Always cast to a tuple
Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
2023-08-30 07:27:09 +10:00
Andrew Murray
69a81dd867 Convert list to tuple in Python instead of C 2023-08-28 22:43:20 +10:00
Andrew Murray
d8c3135b6b Allow getpixel to accept a list 2023-08-28 20:12:23 +10:00
Andrew Murray
091ab74429 Update CHANGES.rst [ci skip] 2023-08-28 18:22:04 +10:00
Andrew Murray
823178d4c2 Updated freetype to 2.13.2 2023-08-26 13:28:53 +10:00
Andrew Murray
8fee27340d Update CHANGES.rst [ci skip] 2023-08-25 19:49:10 +10:00
Hugo van Kemenade
c68bf7df8f
Merge pull request #7336 from radarhere/blur 2023-08-25 03:20:16 -06:00
Hugo van Kemenade
643a52a2eb
Merge pull request #7351 from radarhere/freetype_tests 2023-08-24 14:20:26 -06:00
Andrew Murray
472eb66683 Skip tests that require FreeType if FreeType is not available 2023-08-24 19:02:27 +10:00
Hugo van Kemenade
d80610822f
Merge pull request #7345 from radarhere/jpeg 2023-08-23 20:33:59 +03:00
Andrew Murray
3ea8b54c00 Update CHANGES.rst [ci skip] 2023-08-22 12:08:50 +10:00
Andrew Murray
e021d06fff
Merge pull request #7332 from TheNooB2706/grabclipboard-linux
Added session type check in grabclipboard for Linux
2023-08-22 12:06:51 +10:00
Andrew Murray
9c3bc70f66
Use tuples
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-22 10:31:28 +10:00
Andrew Murray
8b14a67347 Merge branch 'main' into grabclipboard-linux 2023-08-21 23:58:17 +10:00
Hugo van Kemenade
52206c71e4
Merge pull request #7347 from radarhere/windows 2023-08-21 08:52:36 +03:00
Andrew Murray
115ef3a36d 32-bit Windows wheels are no longer provided 2023-08-21 15:17:30 +10:00
Hugo van Kemenade
2a10c2e2b7
Merge pull request #7278 from radarhere/harfbuzz
Updated harfbuzz to 8.1.1
2023-08-21 07:32:31 +03:00
Hugo van Kemenade
bb7b3d28dd
Merge pull request #7344 from radarhere/zlib
Updated zlib to 1.3
2023-08-21 07:31:38 +03:00
Andrew Murray
0a28840bc4 Expand buffer size when optimizing or progressive 2023-08-19 14:34:08 +10:00
Andrew Murray
a04ba81e22 bufsize is already increased to MAXBLOCK in ImageFile._save() 2023-08-19 12:37:00 +10:00
Andrew Murray
9ef7cb39de Updated zlib to 1.3 2023-08-18 22:22:51 +10:00
Andrew Murray
9242944526
Merge pull request #7343 from wx00/wx00-patch-1
Fixed a typo in 10.0.0 release notes
2023-08-18 14:17:19 +10:00
Tommy
8587121932
Fixed a typo in 10.0.0 release note 2023-08-18 11:20:18 +08:00
TheNooB
e06edcb527
Reformat variable name following PEP8
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-08-12 18:33:36 +08:00
Andrew Murray
9f54a11a9c Improve efficiency when a radius is zero 2023-08-12 18:17:07 +10:00
TheNooB
0b6ab79145
Check session type using environment variable instead of loginctl 2023-08-12 12:51:09 +08:00
Andrew Murray
c167d7a269 Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii 2023-08-12 12:09:20 +10:00
TheNooB
7b157b045a
Use os.getlogin() instead of whoami command for getting username 2023-08-11 21:14:34 +08:00
TheNooB
a8b3feac86
Apply suggestions from code review
Simplify conditional expressions

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-08-11 21:01:05 +08:00
pre-commit-ci[bot]
164ea2df6f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-11 10:42:12 +00:00
Andrew Murray
08b538780d Update CHANGES.rst [ci skip] 2023-08-11 19:49:02 +10:00
TheNooB
bc658e1791
Add session type check in grabclipboard for Linux 2023-08-11 17:47:36 +08:00
Andrew Murray
39d866b17d
Merge pull request #7311 from k128/main
Read WebP duration after opening
2023-08-11 19:46:49 +10:00
Andrew Murray
f39f74fb82 Update CHANGES.rst [ci skip] 2023-08-11 07:42:24 +10:00
Andrew Murray
6651a31436
Merge pull request #7329 from radarhere/gif
Allow "loop=None" when saving GIF images
2023-08-10 18:08:00 +10:00
Andrew Murray
bfafa460e3 Allow "loop=None" when saving 2023-08-09 10:31:34 +10:00
Andrew Murray
c98a7994da Update CHANGES.rst [ci skip] 2023-08-08 21:33:55 +10:00
Andrew Murray
649ad8a804
Merge pull request #7323 from radarhere/pdf_p_transparency
Fixed transparency when saving P mode images to PDF
2023-08-08 21:30:23 +10:00
Hugo van Kemenade
796bb1801d
Merge pull request #7326 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-08-08 10:41:22 +02:00
Andrew Murray
241a012804
Merge pull request #7325 from Yay295/Yay295-patch-1
Fix param in test_image.py function
2023-08-08 12:12:46 +10:00
Andrew Murray
15930be644 Use "is" when comparing types 2023-08-08 08:44:03 +10:00
pre-commit-ci[bot]
24a19e5b37
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0)
- [github.com/Lucas-C/pre-commit-hooks: v1.5.1 → v1.5.3](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.1...v1.5.3)
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...6.1.0)
- [github.com/tox-dev/pyproject-fmt: 0.12.1 → 0.13.0](https://github.com/tox-dev/pyproject-fmt/compare/0.12.1...0.13.0)
2023-08-07 19:39:13 +00:00
Yay295
5b6b6346bb
Fix param in test_image.py function 2023-08-07 09:49:20 -05:00
Andrew Murray
73bd40babe Test for relevant characters before and after "SMask" 2023-08-07 20:49:29 +10:00
Andrew Murray
5c59807216 Removed unused decoders 2023-08-07 13:54:11 +10:00
Andrew Murray
a70ea82eb5 Write P transparency as SMask 2023-08-07 13:53:19 +10:00
Andrew Murray
c9147c9c85 Moved writing of object into separate function 2023-08-06 22:14:32 +10:00