Skip to content

Commit f5aed1a

Browse files
authored
Merge branch 'master' into patch-1
2 parents 19ab3c3 + 736b843 commit f5aed1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+938
-210
lines changed

.github/workflows/lint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python: [3.7]
12+
13+
name: Python ${{ matrix.python }}
14+
15+
steps:
16+
- uses: actions/checkout@v1
17+
18+
- name: Set up Python ${{ matrix.python }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python }}
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install --upgrade tox
27+
28+
- name: Lint
29+
run: tox -e lint

CHANGES.rst

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,37 @@ Changelog (Pillow)
77

88
- This is the last Pillow release to support Python 2.7 #3642
99

10+
- Lazily use ImageFileDirectory_v1 values from Exif #4031
11+
[radarhere]
12+
13+
- Improved HSV conversion #4004
14+
[radarhere]
15+
16+
- Added text stroking #3978
17+
[radarhere, hugovk]
18+
19+
- No more deprecated bdist_wininst .exe installers #4029
20+
[hugovk]
21+
22+
- Do not allow floodfill to extend into negative coordinates #4017
23+
[radarhere]
24+
25+
- Fixed arc drawing bug for a non-whole number of degrees #4014
26+
[radarhere]
27+
28+
- Fix bug when merging identical images to GIF with a list of durations #4003
29+
[djy0, radarhere]
30+
31+
- Fix bug in TIFF loading of BufferedReader #3998
32+
[chadawagner]
33+
1034
- Added fallback for finding ld on MinGW Cygwin #4019
1135
[radarhere]
1236

1337
- Remove indirect dependencies from requirements.txt #3976
1438
[hugovk]
1539

16-
- Depends: Update libwebp to 1.0.3 #3983, libimagequant to 2.12.5 #3993
40+
- Depends: Update libwebp to 1.0.3 #3983, libimagequant to 2.12.5 #3993, freetype to 2.10.1 #3991
1741
[radarhere]
1842

1943
- Change overflow check to use PY_SSIZE_T_MAX #3964
@@ -64,7 +88,7 @@ Changelog (Pillow)
6488
- Updated TIFF tile descriptors to match current decoding functionality #3795
6589
[dmnisson]
6690

67-
- Added an `image.entropy()` method (second revision) #3608
91+
- Added an ``image.entropy()`` method (second revision) #3608
6892
[fish2000]
6993

7094
- Pass the correct types to PyArg_ParseTuple #3880
@@ -700,7 +724,7 @@ Changelog (Pillow)
700724
- Enable background colour parameter on rotate #3057
701725
[storesource]
702726

703-
- Remove unnecessary `#if 1` directive #3072
727+
- Remove unnecessary ``#if 1`` directive #3072
704728
[jdufresne]
705729

706730
- Remove unused Python class, Path #3070
@@ -1237,7 +1261,7 @@ Changelog (Pillow)
12371261
- Add decompression bomb check to Image.crop #2410
12381262
[wiredfool]
12391263

1240-
- ImageFile: Ensure that the `err_code` variable is initialized in case of exception. #2363
1264+
- ImageFile: Ensure that the ``err_code`` variable is initialized in case of exception. #2363
12411265
[alexkiro]
12421266

12431267
- Tiff: Support append_images for saving multipage TIFFs #2406
@@ -1474,7 +1498,7 @@ Changelog (Pillow)
14741498
- Removed PIL 1.0 era TK readme that concerns Windows 95/NT #2360
14751499
[wiredfool]
14761500

1477-
- Prevent `nose -v` printing docstrings #2369
1501+
- Prevent ``nose -v`` printing docstrings #2369
14781502
[hugovk]
14791503

14801504
- Replaced absolute PIL imports with relative imports #2349
@@ -1919,7 +1943,7 @@ Changelog (Pillow)
19191943
- Changed depends/install_*.sh urls to point to github pillow-depends repo #1983
19201944
[wiredfool]
19211945

1922-
- Allow ICC profile from `encoderinfo` while saving PNGs #1909
1946+
- Allow ICC profile from ``encoderinfo`` while saving PNGs #1909
19231947
[homm]
19241948

19251949
- Fix integer overflow on ILP32 systems (32-bit Linux). #1975
@@ -2362,7 +2386,7 @@ Changelog (Pillow)
23622386
- Added PDF multipage saving #1445
23632387
[radarhere]
23642388

2365-
- Removed deprecated code, Image.tostring, Image.fromstring, Image.offset, ImageDraw.setink, ImageDraw.setfill, ImageFileIO, ImageFont.FreeTypeFont and ImageFont.truetype `file` kwarg, ImagePalette private _make functions, ImageWin.fromstring and ImageWin.tostring #1343
2389+
- Removed deprecated code, Image.tostring, Image.fromstring, Image.offset, ImageDraw.setink, ImageDraw.setfill, ImageFileIO, ImageFont.FreeTypeFont and ImageFont.truetype ``file`` kwarg, ImagePalette private _make functions, ImageWin.fromstring and ImageWin.tostring #1343
23662390
[radarhere]
23672391

23682392
- Load more broken images #1428
@@ -2854,7 +2878,7 @@ Changelog (Pillow)
28542878
- Doc cleanup
28552879
[wiredfool]
28562880

2857-
- Fix `ImageStat` docs #796
2881+
- Fix ``ImageStat`` docs #796
28582882
[akx]
28592883

28602884
- Added docs for ExifTags #794
@@ -3291,7 +3315,7 @@ Changelog (Pillow)
32913315
- Add RGBA support to ImageColor #309
32923316
[yoavweiss]
32933317

3294-
- Test for `str`, not `"utf-8"` #306 (fixes #304)
3318+
- Test for ``str``, not ``"utf-8"`` #306 (fixes #304)
32953319
[mjpieters]
32963320

32973321
- Fix missing import os in _util.py #303
@@ -3397,7 +3421,7 @@ Changelog (Pillow)
33973421

33983422
- Partial work to add a wrapper for WebPGetFeatures to correctly support #220 (fixes #204)
33993423

3400-
- Significant performance improvement of `alpha_composite` function #156
3424+
- Significant performance improvement of ``alpha_composite`` function #156
34013425
[homm]
34023426

34033427
- Support explicitly disabling features via --disable-* options #240

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To report a security vulnerability, please follow the procedure described in the
6767
.. |zenodo| image:: https://zenodo.org/badge/17549/python-pillow/Pillow.svg
6868
:target: https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow
6969

70-
.. |tidelift| image:: https://tidelift.com/badges/github/python-pillow/Pillow?style=flat
70+
.. |tidelift| image:: https://tidelift.com/badges/package/pypi/Pillow?style=flat
7171
:target: https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=referral&utm_campaign=readme
7272

7373
.. |version| image:: https://img.shields.io/pypi/v/pillow.svg

Tests/images/g4_orientation_1.tif

708 Bytes
Binary file not shown.

Tests/images/g4_orientation_2.tif

930 Bytes
Binary file not shown.

Tests/images/g4_orientation_3.tif

926 Bytes
Binary file not shown.

Tests/images/g4_orientation_4.tif

928 Bytes
Binary file not shown.

Tests/images/g4_orientation_5.tif

1 KB
Binary file not shown.

Tests/images/g4_orientation_6.tif

1 KB
Binary file not shown.

Tests/images/g4_orientation_7.tif

1022 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)