Commit Graph

14158 Commits

Author SHA1 Message Date
Andrew Murray
2f028ce77c
Merge pull request #6805 from hugovk/bandit
Run Bandit on CI via pre-commit
2022-12-16 18:33:59 +11:00
Hugo van Kemenade
d1cb81976c Run Bandit on CI via pre-commit 2022-12-14 21:40:44 +02:00
Hugo van Kemenade
f4b1244213
Merge pull request #6802 from radarhere/xz
Updated xz to 5.4.0
2022-12-14 07:59:17 +02:00
Andrew Murray
e25d603189 Updated xz to 5.4.0 2022-12-14 09:48:46 +11:00
Andrew Murray
d37c168a03
Merge pull request #6801 from hugovk/fix-tox-4
Add allowlist_externals=make to fix tox 4
2022-12-14 08:26:06 +11:00
Andrew Murray
b564f3e6bf Update CHANGES.rst [ci skip] 2022-12-14 07:41:39 +11:00
Andrew Murray
5257d561c0
Merge pull request #6748 from radarhere/exif_ifd
Added IFD enum to ExifTags
2022-12-14 07:33:14 +11:00
Andrew Murray
5301b86f1c Use snake case 2022-12-14 06:48:36 +11:00
Andrew Murray
56964da748 Update CHANGES.rst [ci skip] 2022-12-14 06:45:57 +11:00
Hugo van Kemenade
d013fbf656
Merge pull request #6779 from radarhere/gif_duration
Resolves https://github.com/python-pillow/Pillow/issues/6778
2022-12-13 18:14:28 +02:00
Hugo van Kemenade
bfa1f3290c Add allowlist_externals=make to fix tox 4 2022-12-13 18:06:58 +02:00
Hugo van Kemenade
1f9754cdc0 Format tox.ini with tox-ini-fmt 2022-12-13 18:04:30 +02:00
Andrew Murray
164311a756 Specify "I" and "F" ranges 2022-12-12 06:55:10 +11:00
Andrew Murray
ae3f43de64 Document Hue range 2022-12-10 19:48:07 +11:00
Andrew Murray
4f0b83cc54 Only set tile in ImageFile __setstate__ 2022-12-09 12:29:27 +11:00
Andrew Murray
66f5ad0eae Ignore non-opaque WebP background when saving as GIF 2022-12-09 10:45:09 +11:00
Andrew Murray
0d6440d9f2
Merge pull request #6790 from hugovk/rm-pipfile
Remove unnecessary Pipfile
2022-12-09 08:35:06 +11:00
Hugo van Kemenade
7436ae0933 Remove unnecessary Pipfile 2022-12-08 16:58:04 +02:00
Andrew Murray
4ab837ae23 Only compare to previous when checking for duplicate frames while saving 2022-12-08 11:35:48 +11:00
mergify[bot]
4c9ed122f3
Merge pull request #6784 from radarhere/jpeg_comment
Added releases notes for #6774
2022-12-07 21:38:55 +00:00
Andrew Murray
bef128b04b Added support for saving JPEG comments 2022-12-07 22:30:15 +11:00
Andrew Murray
4704cab1a1 Update CHANGES.rst [ci skip] 2022-12-07 22:16:14 +11:00
Andrew Murray
378adeba3a
Merge pull request #6774 from smason/write-jpeg-com
Support saving JPEG comments
2022-12-07 22:14:33 +11:00
Andrew Murray
2ea9497f8c
Merge pull request #6782 from hugovk/add-pypy-3.9
Add support for PyPy3.9, drop PyPy3.7
2022-12-07 09:00:18 +11:00
Hugo van Kemenade
674ec6ec4d Add support for PyPy3.9, drop PyPy3.7 2022-12-06 20:55:34 +02:00
Sam Mason
6ca08a4601
Merge pull request #3 from radarhere/write-jpeg-com
Free comment when returning early
2022-12-06 11:27:12 +00:00
Andrew Murray
1d780081a6 Free comment when returning early 2022-12-06 20:22:12 +11:00
Andrew Murray
c2a42655e1 Allow get_child_images to access JPEG thumbnails 2022-12-06 19:30:53 +11:00
Andrew Murray
1e28c8cffd
Merge pull request #6780 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-12-06 08:37:14 +11:00
pre-commit-ci[bot]
b786ff819a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2022-12-05 18:25:01 +00:00
Sam Mason
eddc9bdcec
switch to #z for comment parameter
* means `comment=None` can be passed directly
* no need to conditionally run `str.encode()`
* clean up checking of whether a comment is passed
2022-12-05 17:46:54 +00:00
Sam Mason
399975f1d9
Merge pull request #2 from radarhere/write-jpeg-com
Use jpeg_write_marker to write comment
2022-12-05 11:02:23 +00:00
Andrew Murray
72ac7d1ce9 Corrected default combined frame duration 2022-12-05 18:53:28 +11:00
Andrew Murray
e50ae85ea4 Use jpeg_write_marker to write comment 2022-12-05 13:57:26 +11:00
Andrew Murray
8ada23ed04 Added IFD1 reading 2022-12-05 09:09:00 +11:00
Andrew Murray
6a2545f628
Merge pull request #6764 from hugovk/docs-tabs
Use Sphinx Inline Tabs to organise installation per OS
2022-12-04 14:26:30 +11:00
Sam Mason
1ed1a3a971
make sure passing a blank comment removes existing comment 2022-12-03 15:07:37 +00:00
Sam Mason
e71f7c1083
Merge pull request #1 from radarhere/write-jpeg-com
Support saving JPEG comments
2022-12-03 12:28:05 +00:00
Hugo van Kemenade
a28de66fe4
Merge pull request #6776 from python-pillow/renovate/github-actions 2022-12-03 08:35:47 +02:00
Hugo van Kemenade
823e6e69e6
Merge pull request #6775 from radarhere/oss-fuzz
fix https://github.com/google/oss-fuzz/issues/9086
2022-12-03 07:45:35 +02:00
Hugo van Kemenade
61f27211c2
Fix comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-12-03 07:43:58 +02:00
Hugo van Kemenade
43974e88da
Merge pull request #89 from radarhere/docs-tabs 2022-12-03 07:43:34 +02:00
renovate[bot]
8e70787cf2
Update cygwin/cygwin-install-action action to v3 2022-12-03 01:44:21 +00:00
Andrew Murray
eafff0e139 Use compile_python_fuzzer 2022-12-03 10:54:04 +11:00
Andrew Murray
61cbcaee64 Changed indentation to be consistent 2022-12-03 10:35:01 +11:00
Andrew Murray
525c01143a Test that comment is reread 2022-12-03 09:59:22 +11:00
Andrew Murray
c1d0a00943 Use _binary instead of struct 2022-12-03 09:31:05 +11:00
Andrew Murray
976ad5746a Save comments from any image format by default 2022-12-03 09:29:02 +11:00
Andrew Murray
28e21ff490 Merge branch 'main' into docs-tabs 2022-12-03 08:45:33 +11:00
pre-commit-ci[bot]
e9f4858491 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-12-02 18:07:10 +00:00