Commit Graph

14055 Commits

Author SHA1 Message Date
Andrew Murray
1d780081a6 Free comment when returning early 2022-12-06 20:22:12 +11: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
e50ae85ea4 Use jpeg_write_marker to write comment 2022-12-05 13:57:26 +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
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
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
Sam Mason
d822d85af6
support round-tripping JPEG comments 2022-12-02 17:57:19 +00:00
Hugo van Kemenade
5bdf63e1d1
Merge pull request #6770 from radarhere/xz 2022-12-01 07:20:50 +02:00
Andrew Murray
aab7983146 Updated xz to 5.2.9 2022-12-01 07:57:26 +11:00
Andrew Murray
0ec32a3012
Merge pull request #6763 from Yay295/patch-1
Fix WebP dealloc method definitions
2022-11-29 18:48:36 +11:00
Hugo van Kemenade
a2570164cc
Merge pull request #6756 from radarhere/source 2022-11-28 10:28:26 +02:00
Andrew Murray
91fe817911
Updated instructions to download source code
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-11-28 18:03:08 +11:00
Yay295
556b672eb2
Fix webp dealloc method definitions 2022-11-27 17:48:12 -06:00
Andrew Murray
50cdf39f50 List dependency instructions first 2022-11-28 09:18:47 +11:00
Andrew Murray
72372ad23f Update CHANGES.rst [ci skip] 2022-11-26 20:42:04 +11:00
Hugo van Kemenade
066c3ab73b
Merge pull request #6758 from radarhere/webp_getxmp
Resolves https://github.com/python-pillow/Pillow/issues/6757
2022-11-26 11:37:46 +02:00
Andrew Murray
3f9410334c Added getxmp() to release notes 2022-11-26 19:11:51 +11:00
Andrew Murray
710927a311 Added docstring 2022-11-26 19:08:49 +11:00
Andrew Murray
58cbcbf108 Added getxmp() to WebPImagePlugin 2022-11-26 12:14:44 +11:00
Andrew Murray
851e7b03ec Document how to install Pillow from a directory 2022-11-26 12:14:31 +11:00
Hugo van Kemenade
ad938d5421
Merge pull request #6760 from radarhere/cygwin_stdlib 2022-11-25 14:26:24 +02:00
Andrew Murray
2c513c6448 Use stdlib for setuptools on Cygwin 2022-11-25 22:05:57 +11:00
Hugo van Kemenade
f27631601b
Merge pull request #6752 from radarhere/libpng 2022-11-21 14:15:47 +02:00
Andrew Murray
100ed363ce Updated libpng to 1.6.39 2022-11-21 15:42:44 +11:00
Andrew Murray
be7d350e3f Update CHANGES.rst [ci skip] 2022-11-21 11:56:30 +11:00
mergify[bot]
4f68047e6b
Merge pull request #6747 from ashafaei/webp-params
Added WebP encoding with exact config
2022-11-21 00:44:57 +00:00
Alireza Shafaei
8f73a895ec
Update docs/releasenotes/9.4.0.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-11-20 16:00:24 -08:00
Alireza Shafaei
9c5b00ef7e RN trailing space fix 2022-11-19 23:19:08 -08:00
Alireza Shafaei
55a75b9a69 added RN for the new exact option. 2022-11-19 23:14:59 -08:00
Alireza Shafaei
becdd31eec Merge branch 'webp-params' of https://github.com/ashafaei/Pillow into webp-params 2022-11-18 23:51:09 -08:00
Alireza Shafaei
d6f10d4876 doc update for libwebp 2022-11-18 23:51:06 -08:00
Alireza Shafaei
c01ecace73
Merge pull request #1 from radarhere/webp-params
Simplified code
2022-11-18 23:29:09 -08:00
Alireza Shafaei
690446050a minor fix in the comments 2022-11-18 23:26:08 -08:00
Andrew Murray
3c7aa133eb Assert that image is equal 2022-11-19 17:18:27 +11:00
Andrew Murray
7e5e843d5c Note that the fill behaviour only affects libwebp >= 0.5 2022-11-19 17:12:51 +11:00
Andrew Murray
96a4d98abc Simplified code 2022-11-19 17:07:43 +11:00
Alireza Shafaei
fdf074b050 added a note to the docs for webp 2022-11-18 10:22:33 -08:00
Alireza Shafaei
cc44652e8f Merge branch 'webp-params' of https://github.com/ashafaei/Pillow into webp-params 2022-11-18 10:15:39 -08:00
Alireza Shafaei
3587f27780 Added version check for WebP 2022-11-18 10:15:24 -08:00
pre-commit-ci[bot]
770560d8e4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-11-17 22:06:18 +00:00
Alireza Shafaei
1f6df76c42 updated webp with exact parameter. 2022-11-17 13:58:07 -08:00
Andrew Murray
df8e872912 Update CHANGES.rst [ci skip] 2022-11-17 08:26:47 +11:00
Hugo van Kemenade
7b171f3131
Merge pull request #6742 from radarhere/fedora 2022-11-16 15:38:35 +02:00
Hugo van Kemenade
2b456236bb
Merge pull request #6722 from radarhere/font_start
Resolves https://github.com/python-pillow/Pillow/issues/3977
2022-11-16 10:25:05 +02:00
Andrew Murray
cb40f46ec1 Added Fedora 37 2022-11-16 14:58:21 +11:00
Andrew Murray
62db044787 Added release notes 2022-11-16 09:27:33 +11:00