Commit Graph

9909 Commits

Author SHA1 Message Date
Andrew Murray
b262378632 Added mode descriptors for all I;16 modes 2019-06-12 20:33:00 +10:00
Andrew Murray
e8af68bae2 Increased test coverage 2019-06-12 20:30:43 +10:00
Andrew Murray
848a629784 Do not down-convert if image is LA when showing with PNG format 2019-06-12 20:17:23 +10:00
Andrew Murray
e1e35cc819 Close internal fp when closing and deleting 2019-06-12 20:12:03 +10:00
Andrew Murray
ea02e28adb Use _min_frame in ImageSequence.Iterator 2019-06-12 20:11:51 +10:00
Andrew Murray
72d5ee3bfa Do not close exclusive fp after loading 2019-06-12 20:10:28 +10:00
Andrew Murray
f7d7a80b5b Allow ICNS to change size as ICO does 2019-06-12 02:19:58 +10:00
Andrew Murray
02a2e93703 Do not load ICO if already loaded 2019-06-12 02:18:54 +10:00
Andrew Murray
1ecabd83d5 Changed Preview application path so that it is no longer static 2019-06-12 02:17:07 +10:00
Andrew Murray
ca3e210313 Simplified definition of values 2019-06-12 02:12:57 +10:00
Andrew Murray
982f4509eb Fixed typo 2019-06-12 02:09:26 +10:00
Hugo
a986fed5b4
Format code with Black (#3733)
Format code with Black
2019-06-11 16:24:09 +03:00
Hugo
92dc8f4253
Revert pull request #3838 (#3898)
Revert pull request #3838
2019-06-11 14:04:18 +03:00
Andrew Murray
231fe4d62a Revert "Merge pull request #3838 from radarhere/i_conversion"
This reverts commit 41f3e7c8bd, reversing
changes made to 2f84482871.
2019-06-11 19:28:31 +10:00
Hugo
cab7231e2a Format with Black 2019-06-11 11:42:05 +03:00
Hugo
169455f924 Refactor and format with Black 2019-06-10 18:22:46 +03:00
hugovk
b9b751435b Add Black to requirements.txt for Python 3.6+ 2019-06-10 18:22:46 +03:00
Hugo
d05d671748 Add Black to requirements.txt 2019-06-10 18:22:46 +03:00
Hugo
53a7e35004 Format with Black 2019-06-10 18:22:46 +03:00
Hugo
54dd0e479e Tell Flake8 to ignore non-PEP 8 compliant E203 and W503 2019-06-10 18:18:47 +03:00
Hugo
2bedb83a84 Check Black during CI lint 2019-06-10 18:18:47 +03:00
Andrew Murray
f1ed79229e Updated CHANGES.rst [ci skip] 2019-06-09 07:41:06 +10:00
Hugo
6e22f6c9cc
Merge pull request #3889 from radarhere/libimagequant
Updated libimagequant to 2.12.3
2019-06-08 21:18:09 +03:00
Hugo
11059cb684
Merge pull request #3859 from radarhere/error
Updated resampling filter error messages
2019-06-07 11:13:15 +03:00
Andrew Murray
ca52e46105 Use raqm version checking 2019-06-07 05:51:40 +10:00
Andrew Murray
54c83f61bd Check for raqm version function 2019-06-07 05:51:40 +10:00
Andrew Murray
1c1447f563 Corrected ttb text positioning 2019-06-07 05:51:40 +10:00
Andrew Murray
a94bd13791 Changed string formatting 2019-06-06 21:36:38 +10:00
Andrew Murray
4fa3016d67 Changed string formatting
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-06 21:36:38 +10:00
Andrew Murray
77630f000c Updated resampling filter error messages 2019-06-06 21:36:38 +10:00
Hugo
169961649d
Merge pull request #3848 from radarhere/pa
Improved palette handling for LA and PA modes
2019-06-05 22:32:44 +03:00
Hugo
41f3e7c8bd
Merge pull request #3838 from radarhere/i_conversion
Improved I mode conversion
2019-06-05 22:23:35 +03:00
Hugo
2f84482871
Merge pull request #3811 from radarhere/warnings
Fixed several warnings
2019-06-05 22:22:14 +03:00
Hugo
9b4223e4ab
Merge pull request #3888 from radarhere/typo
Fixed typo
2019-06-05 19:30:57 +03:00
Andrew Murray
e011fb155f Fixed typo 2019-06-05 19:32:50 +10:00
Hugo
14766f50c3
Merge pull request #3882 from hugovk/revert-pyroma-workaround
Tighten fixed pyroma test
2019-06-04 14:51:18 +03:00
Hugo
23d4e6f4c4 Tighten fixed pyroma test 2019-06-02 22:36:05 +03:00
Hugo
593217f897
Merge pull request #3881 from radarhere/show
Link method in docs
2019-06-02 22:17:29 +03:00
Andrew Murray
e1df2118b3 Link method [ci skip] 2019-06-02 13:34:18 +10:00
Hugo
c18ed95a29
Merge pull request #3879 from radarhere/installation
Updated macOS tested Pillow versions
2019-06-01 09:19:23 +03:00
Elliott Sales de Andrade
560bc33731 Pass the correct types to PyArg_ParseTuple.
Py_ssize_t uses the 'n' specifier, not 'i'.
2019-05-31 05:55:13 -04:00
Andrew Murray
04c222ccb8 Updated CHANGES.rst [ci skip] 2019-05-30 06:44:43 +10:00
Hugo
3ee833ea62
Merge pull request #3877 from radarhere/raqm
Updated raqm to 0.7.0
2019-05-29 08:20:58 +03:00
Alex Clark
674f69cf8b
Merge pull request #3867 from hugovk/add-FUNDING.yml
Set up GitHub Sponsors with Tidelift
2019-05-28 17:18:03 -04:00
Andrew Murray
b97311695c Updated raqm to 0.7.0 2019-05-28 19:34:43 +10:00
Jon Dufresne
1008644dd6 Add __main__.py to output basic format and support information
To help debug and show supported formats, users can run:

    $ python -m PIL

to get basic format and support information about the installed version
of Pillow.

The new feature works as follows:

    $ python -m PIL
    --------------------------------------------------------------------
    Pillow 6.1.0.dev0
    --------------------------------------------------------------------
    Python modules loaded from .../Pillow/src/PIL
    Binary modules loaded from .../Pillow/src/PIL
    --------------------------------------------------------------------
    Python 3.7.3 (default, May 11 2019, 00:38:04)
           [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
    --------------------------------------------------------------------
    --- PIL CORE support ok
    --- TKINTER support ok
    --- FREETYPE2 support ok
    --- LITTLECMS2 support ok
    --- WEBP support ok
    --- WEBP Transparency support ok
    --- WEBPMUX support ok
    --- WEBP Animation support ok
    --- JPEG support ok
    --- OPENJPEG (JPEG2000) support ok
    --- ZLIB (PNG/ZIP) support ok
    --- LIBTIFF support ok
    --- RAQM (Bidirectional Text) support ok
    --------------------------------------------------------------------
    BLP
    Extensions: .blp
    Features: open
    --------------------------------------------------------------------
    BMP image/bmp
    Extensions: .bmp
    Features: open, save
    --------------------------------------------------------------------
    BUFR
    Extensions: .bufr
    Features: open, save
    --------------------------------------------------------------------
    …
2019-05-27 18:44:04 -07:00
Andrew Murray
a4d03bdf90 Updated libimagequant to 2.12.3 2019-05-27 19:23:00 +10:00
Andrew Murray
71a6cd513a Updated macOS tested Pillow versions [ci skip] 2019-05-27 19:22:37 +10:00
Hugo
65f3e44b3d
Use dict comprehension in ImageFileDirectory_v2.named() (#3872)
Use dict comprehension in ImageFileDirectory_v2.named()
2019-05-27 09:48:20 +03:00
Hugo
7b4d2b271d
Merge pull request #3873 from jdufresne/drop-index
Remove unnecessary numeric placeholders from format strings
2019-05-27 09:47:26 +03:00