Commit Graph

8528 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
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
2d1135d41b Move security policy to show up more clearly in the GitHub UI 2019-05-24 15:45:48 +03: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
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
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
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
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
Hugo
45df9ad882
Merge pull request #3807 from radarhere/code
Simplified code
2019-05-04 18:57:40 +03:00
Hugo
fdcacb6978
Merge pull request #3817 from radarhere/cmyk_16l
Added reading of CMYK;16L TIFF images
2019-05-04 18:53:13 +03:00
Hugo
d45a13d9cb
Merge pull request #3827 from radarhere/pdf
Fixed dimensions of 1-bit PDFs
2019-05-04 18:52:16 +03:00
Hugo
9a25b3c797
Merge pull request #3825 from radarhere/path
Fixed opening mmap image through Path on Windows
2019-05-04 18:51:23 +03:00
Hugo
c3ed8cc67e
Fixed ImageDraw arc gaps (#3824)
Fixed ImageDraw arc gaps
2019-05-04 18:50:07 +03:00
Hugo
5090bba463
Merge pull request #3822 from radarhere/tile
Expand GIF to include frames with extents outside the image size
2019-05-04 18:46:49 +03:00
Hugo
3e4b1a91ad
Merge pull request #3814 from radarhere/getimage
Fixed ImageTk getimage
2019-05-04 18:39:29 +03:00
Hugo
ab9a25d623
Merge pull request #3791 from radarhere/int
Fixed bug in decoding large images
2019-05-04 16:15:32 +03:00
Hugo
0ccd887431
Merge pull request #3771 from radarhere/app13
Fixed reading APP13 marker without Photoshop data
2019-05-04 16:10:02 +03:00
Andrew Murray
124c1f6bce Added tests 2019-05-04 23:05:41 +10:00
Andrew Murray
69b733d5f1 Changed if to elif 2019-05-04 23:05:07 +10:00
Andrew Murray
683768095b Removed duplicate code 2019-05-04 23:05:07 +10:00
Andrew Murray
568fc2def8 Simplified code 2019-05-04 23:05:07 +10:00
Hugo
82d9ea5eac
Merge pull request #3808 from radarhere/imagegrab
Added option to include layered windows in ImageGrab.grab on Windows
2019-05-04 16:00:43 +03:00
Hugo
a879c4c1b5
Merge pull request #3812 from radarhere/mingw
Detect libimagequant when installed by pacman on MingW
2019-05-04 15:58:45 +03:00