Commit Graph

10380 Commits

Author SHA1 Message Date
Conchylicultor
eb6faf6f02
Minor str(bytes) call
Some environments have strict mode to catch potential str<>bytes error. This is triggered by this line:

```
TiffImagePlugin.py3", line 996, in _open
    logger.debug("- ifh: {}".format(ifh))
BytesWarning: str() on a bytes instance
```
2020-07-01 12:20:17 -07:00
Hamza
27c40910d8
Update src/PIL/ImageOps.py
Yup you are absolutely correct; it does the job in fewer lines of code too.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-01 19:01:53 +05:00
Hugo van Kemenade
6dc9e26e7c
Merge pull request #4751 from radarhere/docker
Update Docker Images repository as part of releases
2020-07-01 16:58:00 +03:00
Andrew Murray
e7e02ae77d Added step to update Docker Images repository [ci skip] 2020-07-01 21:11:36 +10:00
Hugo van Kemenade
59be0570cc
Merge pull request #53 from radarhere/rm-soon-eol-3.5
Remove requirement for Python >= 3.6
2020-07-01 12:09:48 +03:00
Hugo van Kemenade
630fb0c72e
Update job name
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-01 11:58:22 +03:00
Andrew Murray
e5e92d7346 Python 3.5 is no longer supported 2020-07-01 18:47:54 +10:00
Hamza
16e804b892 linting fixed 2020-07-01 04:37:17 +05:00
Hamza
cbf4f328c7 fixed tests 2020-07-01 04:20:19 +05:00
Hamza
b768cc09d7 added test 2020-07-01 04:01:06 +05:00
Hamza
fb2a184eed ImageOps autocontrast cutoff updated 2020-07-01 00:48:38 +05:00
Hugo van Kemenade
410095e129 Use new 'pip cache dir' to combine macOS/Ubuntu cache config 2020-06-30 22:26:41 +03:00
Hugo van Kemenade
829e1f189b Simplify CI config 2020-06-30 22:04:43 +03:00
Hugo van Kemenade
a08588250b Use v2 actions 2020-06-30 22:01:19 +03:00
Hugo van Kemenade
adec4f5a43 Remove compatibility for unsupported PyPy versions 2020-06-30 21:51:41 +03:00
Hugo van Kemenade
d533b4fdb7 Remove redundant requirements 2020-06-30 20:49:40 +03:00
Hugo van Kemenade
cc83723d6b
Merge pull request #4747 from lukegb/fix-c-bug
Use correct function type for raqm_version_string
2020-06-30 20:16:50 +03:00
Luke Granger-Brown
04e93769af Use correct function type for raqm_version_string.
This causes compilation to (correctly) fail on Clang because this
isn't the correct assignment type.
2020-06-30 16:34:10 +01:00
Hugo
6cdeb55118 Drop support for soon-EOL Python 3.5 2020-06-30 13:55:08 +03:00
Andrew Murray
ed942911a8 7.3.0.dev0 version bump 2020-06-30 20:50:02 +10:00
Andrew Murray
2bd74943fb Updated CHANGES.rst [ci skip] 2020-06-30 17:50:35 +10:00
Andrew Murray
17b14f81fc 7.2.0 version bump 2020-06-30 17:46:57 +10:00
Andrew Murray
3648332edc Updated CHANGES.rst [ci skip] 2020-06-30 08:53:08 +10:00
Hugo van Kemenade
e1c608486a
Merge pull request #4744 from radarhere/show 2020-06-29 20:23:08 +03:00
Hugo van Kemenade
74a4c88a12
Merge pull request #4741 from radarhere/icns 2020-06-29 20:21:51 +03:00
Andrew Murray
15f1e183d6 Updated CHANGES.rst [ci skip] 2020-06-30 00:33:51 +10:00
Hugo van Kemenade
645f7f2346
Merge pull request #4742 from radarhere/apng_dispose
Fixed loading non-RGBA mode APNGs with dispose background
2020-06-29 17:15:34 +03:00
Andrew Murray
4cf7c562e4
Merge pull request #4726 from hugovk/fix-png-disposal-comparison-bug
APNG: Fix setting disposal
2020-06-30 00:01:15 +10:00
Hugo van Kemenade
d109d86cdd
Merge pull request #52 from radarhere/fix-png-disposal-comparison-bug
Added disposal test
2020-06-29 15:39:57 +03:00
Andrew Murray
e1ae9a50cb Do not convert I;16 image when format is PNG 2020-06-29 22:14:40 +10:00
Andrew Murray
cd01a5ab9f Added disposal test 2020-06-29 22:02:01 +10:00
Andrew Murray
cdf4936c07 Fixed loading non-RGBA mode images with dispose background 2020-06-29 21:20:57 +10:00
Hugo van Kemenade
20282dd23c
Merge pull request #4733 from nulano/refs-mod
Fix documentation references: modules
2020-06-29 11:57:53 +03:00
Hugo van Kemenade
8f91053592
Merge pull request #4736 from nulano/refs-const 2020-06-29 11:50:53 +03:00
Andrew Murray
77c098b01f
Merge pull request #4716 from hugovk/pre-commit-diff
CI: Show diff when pre-commit fails
2020-06-28 20:02:44 +10:00
nulano
9019af5f32
Merge branch 'master' into refs-const 2020-06-28 10:55:26 +01:00
Andrew Murray
1e8d418f42 Fixed ICNS file pointer saving 2020-06-28 17:24:27 +10:00
Hugo van Kemenade
977094d4b5
Merge pull request #4735 from nulano/refs-type 2020-06-28 09:41:37 +03:00
Hugo van Kemenade
780294302d
Merge pull request #4734 from nulano/refs-missing 2020-06-28 09:29:31 +03:00
Andrew Murray
2d3fd6ea02
Merge branch 'master' into pre-commit-diff 2020-06-28 16:01:39 +10:00
Andrew Murray
510307532e
Merge pull request #4737 from nulano/refs-image
Fix documentation references: omitted Image functions
2020-06-28 15:43:22 +10:00
Andrew Murray
4ae694cd7b
Merge pull request #4712 from cool-RR/2020-06-12-raise-from
Fix exception causes all over the codebase
2020-06-28 15:22:05 +10:00
nulano
f5b4565d8c document is_animated and n_frames 2020-06-27 17:24:13 +02:00
nulano
4f1ee7a881 add missing and sort Image functions
(cherry picked from commit f31c786aa6)
2020-06-27 15:40:43 +02:00
nulano
19dd5cbfab fix some function references
(cherry picked from commit 9fb582940d)
2020-06-27 15:40:37 +02:00
nulano
3342270947 fix Image constants references
(cherry picked from commit 5511111f3b)
2020-06-27 15:39:55 +02:00
nulano
8b005dfe33 fix base Image attribute references
(cherry picked from commit 07cc74d38b)
2020-06-27 15:38:52 +02:00
nulano
5e4c3ae554 fix ImageMath creating false index entries
(cherry picked from commit eebecba3c2)
2020-06-27 15:37:35 +02:00
nulano
bd2c705606 fix CmsProfile type references
(cherry picked from commit 6196695156)
2020-06-27 15:37:29 +02:00
nulano
2761a02d13 fix module references
(cherry picked from commit b077850baa)
2020-06-27 15:33:55 +02:00