Commit Graph

8964 Commits

Author SHA1 Message Date
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
Jon Dufresne
3f2cfb2027 Remove unnecessary numeric placeholders from format strings
Unnecessary since Python 2.7.
2019-05-26 07:07:32 -07:00
Jon Dufresne
42602b69f3 Use dict comprehension in ImageFileDirectory_v2.named() 2019-05-26 06:56:01 -07:00
Hugo
e24b494f88
Update issue template for community profile checklist (#3857)
Update issue template for community profile checklist
2019-05-25 11:02:18 +03:00
Andrew Murray
6fcd1d29f5
Merge pull request #3865 from hugovk/add-security-policy
Move security policy to show up more clearly in the GitHub UI
2019-05-25 16:40:33 +10:00
Hugo
dea863b7f5 Set up GitHub Sponsors with Tidelift 2019-05-24 15:59:18 +03:00
Hugo
2d1135d41b Move security policy to show up more clearly in the GitHub UI 2019-05-24 15:45:48 +03:00
Oliver Tonnhofer
26b71998d2 Replace non-ascii quotes from docstring [ci skip] 2019-05-24 12:09:14 +02:00
Jakub Kulík
e073f4add0 Fix SPARC memory alignment issues in Pack/Unpack functions 2019-05-20 14:25:27 +02:00
Andrew Murray
1e77da1dcb
Update .github/ISSUE_TEMPLATE.md
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-05-20 19:59:09 +10:00
Andrew Murray
3ebc19486b Added "name" and "about" variables 2019-05-20 06:14:13 +10:00
Andrew Murray
8be6609243 Added PA mode to docs [ci skip] 2019-05-18 20:41:59 +10:00
Hugo
3368500f18
Merge pull request #3855 from radarhere/ci
Updated macOS CI target
2019-05-16 11:42:55 +03:00
Andrew Murray
0678bfe084 Updated macOS CI target [ci skip] 2019-05-15 22:13:57 +10:00
Hugo
2766d943a1
Update CHANGES.rst 2019-05-12 19:54:23 +03:00
Hugo
feb413e0f3
Merge pull request #3836 from radarhere/ico_size
Handle unexpected ICO image sizes
2019-05-12 19:53:48 +03:00
Hugo
513d041991
Update CHANGES.rst 2019-05-12 19:46:50 +03:00
Hugo
70abcf5f4e
Updated raqm to 0.6.0 (#3830)
Updated raqm to 0.6.0
2019-05-12 19:45:35 +03:00
Andrew Murray
d830cca5ca Handle unexpected ICO image sizes 2019-05-12 20:44:29 +10:00
Alex Clark
7731bcd51d
Merge pull request #3845 from python-pillow/supported-by-tidelift
Add info to README re: Tidelift [ci skip]
2019-05-12 06:30:37 -04:00
Hugo
269c43d83b
Merge pull request #3846 from radarhere/doc
Documentation fixes
2019-05-12 09:55:52 +03:00
Alex Clark
7fc98de349 Add info to README re: Tidelift [ci skip]
Link to https://tidelift.com/subscription/pkg/pypi-pillow
2019-05-11 14:33:54 -04:00
Andrew Murray
e131fa22e2 Fixed reading and saving for TIFF and IM in PA mode 2019-05-11 14:43:48 +10:00
Andrew Murray
e9c0cf61f3 Fixed palette for LA and PA mode when pickling 2019-05-11 14:43:00 +10:00
Andrew Murray
7cc1be167c Updated CHANGES.rst [ci skip] 2019-05-11 06:11:09 +10:00
Hugo
6977ae2dd6
Remove deprecated license_file from setup.cfg (#3843)
Remove deprecated license_file from setup.cfg
2019-05-10 09:01:11 +03:00
Hugo
040920eb3b
Merge pull request #3842 from jdufresne/typo
Fix typo: depreciated -> deprecated
2019-05-10 08:28:06 +03:00
Jon Dufresne
991795eb8e Remove deprecated license_file from setup.cfg
Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.

https://wheel.readthedocs.io/en/stable/news.html

The wheel will continue to include LICENSE, it is now included
automatically:

https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
2019-05-09 19:16:47 -07:00
Jon Dufresne
6f71b526ec Fix typo: depreciated -> deprecated 2019-05-09 19:15:49 -07:00
Andrew Murray
524c302276
Merge pull request #3837 from kkopachev/issue-3770
Fix bits value for RGB;16N unpackers
2019-05-10 09:13:05 +10:00
Konstantin Kopachev
5e5ff10f09 Fix bits value for RGB;16N unpackers 2019-05-10 08:07:01 +10:00
Andrew Murray
a258b8dcdc
Apply suggestions from code review [ci skip]
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-05-09 19:05:06 +10:00
Hugo
e6298b2782
Merge pull request #3839 from radarhere/releasenotes
Added release notes for #3808 and #3814
2019-05-09 10:22:50 +03:00
Andrew Murray
64eff66ee7 Updated pixel range documentation [ci skip] 2019-05-09 14:32:14 +10:00
Andrew Murray
d30264ec5d Fixed warnings that variable may be uninitialized 2019-05-09 12:24:27 +10:00
Andrew Murray
1897897921 Fixed several comparison warnings 2019-05-09 12:10:17 +10:00
Andrew Murray
2787b9b991 Added tests 2019-05-08 21:59:16 +10:00
Andrew Murray
ddc83fd8a7 Updated ImageMath tests for scaled I mode conversion 2019-05-08 21:58:50 +10:00
Andrew Murray
8a035b8c5d Improved I mode conversion 2019-05-08 21:58:33 +10:00
Andrew Murray
110dd6236f Highlight function [ci skip] 2019-05-08 12:54:12 +10:00
Andrew Murray
d8c211ef07 Added release notes for #3808 and #3814 [ci skip] 2019-05-06 21:14:47 +10:00
Andrew Murray
f9f235ac2e Corrected use of function [ci skip] 2019-05-06 08:40:32 +10:00
Andrew Murray
38df9bef09 Added import [ci skip] 2019-05-06 08:38:43 +10:00
Andrew Murray
a9f6c27d96 Updated raqm to 0.6.0 2019-05-06 08:35:05 +10:00
Andrew Murray
0e36b288dd Update CHANGES.rst [ci skip] 2019-05-06 08:18:52 +10:00
Hugo
b5703db0fa
CI: Add Fedora 30, remove Fedora 28 (#3821)
CI: Add Fedora 30, remove Fedora 28
2019-05-04 19:03:51 +03:00