mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Merge branch 'master' into gha-win
This commit is contained in:
commit
f0c08ad565
|
@ -34,9 +34,15 @@ environment:
|
||||||
EXECUTABLE: bin/pypy.exe
|
EXECUTABLE: bin/pypy.exe
|
||||||
PIP_DIR: bin
|
PIP_DIR: bin
|
||||||
VENV: YES
|
VENV: YES
|
||||||
|
- PYTHON: C:\Python38rc1-x64
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- ps: |
|
||||||
|
if ($env:PYTHON -eq "C:\Python38rc1-x64") {
|
||||||
|
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/d0cf77e62028704875073e3dc4626f61d1c33b0e/install_python.ps1
|
||||||
|
.\install_python.ps1
|
||||||
|
}
|
||||||
- curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
|
- curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
|
||||||
- 7z x pillow-depends.zip -oc:\
|
- 7z x pillow-depends.zip -oc:\
|
||||||
- mv c:\pillow-depends-master c:\pillow-depends
|
- mv c:\pillow-depends-master c:\pillow-depends
|
||||||
|
|
40
.github/workflows/test-docker.yml
vendored
Normal file
40
.github/workflows/test-docker.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
name: Test Docker
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
docker: [
|
||||||
|
alpine,
|
||||||
|
arch,
|
||||||
|
ubuntu-16.04-xenial-amd64,
|
||||||
|
ubuntu-18.04-bionic-amd64,
|
||||||
|
debian-9-stretch-x86,
|
||||||
|
debian-10-buster-x86,
|
||||||
|
centos-6-amd64,
|
||||||
|
centos-7-amd64,
|
||||||
|
amazon-1-amd64,
|
||||||
|
amazon-2-amd64,
|
||||||
|
fedora-29-amd64,
|
||||||
|
fedora-30-amd64,
|
||||||
|
]
|
||||||
|
dockerTag: [master]
|
||||||
|
|
||||||
|
name: ${{ matrix.docker }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Docker pull
|
||||||
|
run: |
|
||||||
|
docker pull pythonpillow/${{ matrix.docker }}:${{ matrix.dockerTag }}
|
||||||
|
|
||||||
|
- name: Docker build
|
||||||
|
run: |
|
||||||
|
# The Pillow user in the docker container is UID 1000
|
||||||
|
sudo chown -R 1000 $GITHUB_WORKSPACE
|
||||||
|
docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/${{ matrix.docker }}:${{ matrix.dockerTag }}
|
|
@ -14,7 +14,7 @@ Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.
|
||||||
* - docs
|
* - docs
|
||||||
- |docs|
|
- |docs|
|
||||||
* - tests
|
* - tests
|
||||||
- |linux| |macos| |windows| |coverage|
|
- |linux| |macos| |windows| |gha_lint| |gha_docker| |coverage|
|
||||||
* - package
|
* - package
|
||||||
- |zenodo| |tidelift| |version| |downloads|
|
- |zenodo| |tidelift| |version| |downloads|
|
||||||
* - social
|
* - social
|
||||||
|
@ -60,6 +60,12 @@ To report a security vulnerability, please follow the procedure described in the
|
||||||
:target: https://ci.appveyor.com/project/python-pillow/Pillow
|
:target: https://ci.appveyor.com/project/python-pillow/Pillow
|
||||||
:alt: AppVeyor CI build status (Windows)
|
:alt: AppVeyor CI build status (Windows)
|
||||||
|
|
||||||
|
.. |gha_lint| image:: https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg
|
||||||
|
:alt: GitHub Actions build status (Lint)
|
||||||
|
|
||||||
|
.. |gha_docker| image:: https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg
|
||||||
|
:alt: GitHub Actions build status (Test Docker)
|
||||||
|
|
||||||
.. |coverage| image:: https://codecov.io/gh/python-pillow/Pillow/branch/master/graph/badge.svg
|
.. |coverage| image:: https://codecov.io/gh/python-pillow/Pillow/branch/master/graph/badge.svg
|
||||||
:target: https://codecov.io/gh/python-pillow/Pillow
|
:target: https://codecov.io/gh/python-pillow/Pillow
|
||||||
:alt: Code coverage
|
:alt: Code coverage
|
||||||
|
|
|
@ -104,6 +104,15 @@ the file format handler (see the chapter on :ref:`image-file-formats`). Most
|
||||||
handlers add properties to the :py:attr:`~PIL.Image.Image.info` attribute when
|
handlers add properties to the :py:attr:`~PIL.Image.Image.info` attribute when
|
||||||
loading an image, but ignore it when saving images.
|
loading an image, but ignore it when saving images.
|
||||||
|
|
||||||
|
Orientation
|
||||||
|
-----------
|
||||||
|
|
||||||
|
A common element of the :py:attr:`~PIL.Image.Image.info` attribute for JPG and
|
||||||
|
TIFF images is the EXIF orientation tag. This is an instruction for how the
|
||||||
|
image data should be oriented. For example, it may instruct an image to be
|
||||||
|
rotated by 90 degrees, or to be mirrored. To apply this information to an
|
||||||
|
image, :py:meth:`~PIL.ImageOps.exif_transpose` can be used.
|
||||||
|
|
||||||
.. _concept-filters:
|
.. _concept-filters:
|
||||||
|
|
||||||
Filters
|
Filters
|
||||||
|
|
|
@ -11,6 +11,7 @@ pythons = {
|
||||||
"36": {"compiler": 7.1, "vc": 2015},
|
"36": {"compiler": 7.1, "vc": 2015},
|
||||||
"pypy3": {"compiler": 7.1, "vc": 2015},
|
"pypy3": {"compiler": 7.1, "vc": 2015},
|
||||||
"37": {"compiler": 7.1, "vc": 2015},
|
"37": {"compiler": 7.1, "vc": 2015},
|
||||||
|
"38rc1-x64": {"compiler": 7.1, "vc": 2015},
|
||||||
# for GitHub Actions
|
# for GitHub Actions
|
||||||
"3.5": {"compiler": 7.1, "vc": 2015},
|
"3.5": {"compiler": 7.1, "vc": 2015},
|
||||||
"3.6": {"compiler": 7.1, "vc": 2015},
|
"3.6": {"compiler": 7.1, "vc": 2015},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user