Commit Graph

1113 Commits

Author SHA1 Message Date
Hugo
1f4900e51f
Merge branch 'master' into unused-sidebar 2019-07-07 07:45:33 +03:00
Hugo
82ec19ed6d
Merge pull request #3955 from jdufresne/static
Remove empty, unused directory docs/_static
2019-07-07 07:40:40 +03:00
Jon Dufresne
388803006c Remove unused docs/_templates directory
The only file, sidebarhelp.html, applies to the sphinx-better-theme
which is unused and was removed in
02f3685b2d.
2019-07-06 17:27:06 -07:00
Jon Dufresne
8fac23b3df Clean up several Sphinx warnings
Appeared as:

    Pillow/docs/reference/ImageDraw.rst:137: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:164: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:177: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:208: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageStat.rst:24: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2019-07-06 17:12:09 -07:00
Jon Dufresne
d8594041b5 Remove empty, unused directory docs/_static 2019-07-06 16:37:57 -07:00
Jon Dufresne
d50445ff30 Introduce isort to automate import ordering and formatting
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.

Uses the configuration recommended by the Black to avoid conflicts of
style.

Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
f10712f006
Merge branch 'master' into release-notes 2019-07-01 12:58:30 +03:00
Hugo
7855a6fc2f
Docs: Add deprecation of Image.__del__ (#3929)
Docs: Add deprecation of Image.__del__
2019-07-01 12:57:54 +03:00
Hugo
e62dcc3d48 Add #3886 to release notes and CHANGES 2019-07-01 12:20:08 +03:00
Hugo
a2919f98ff Add #3928 to release notes, and #3928 and #3929 to CHANGES 2019-07-01 10:05:57 +03:00
Hugo
c15383695b Deprecate Image.__del__ 2019-07-01 09:55:54 +03:00
Hugo
66241cacc1 Add release notes for #3608 and #3861 2019-07-01 09:11:09 +03:00
Hugo
469c0aeeed Deprecate Image.__del__ 2019-07-01 08:45:19 +03:00
Oliver Tonnhofer
2af4026201 Improve encoding of TIFF tags (#3861)
* Improve encoding of TIFF tags

- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2019-06-30 21:48:19 +03:00
Andrew Murray
c994b783ec
Merge branch 'master' into tiff-jpeg-quality 2019-06-30 14:03:09 +10:00
Andrew Murray
9074eda608
Merge pull request #3778 from radarhere/all_frames
Added ImageSequence all_frames
2019-06-30 07:55:34 +10:00
Andrew Murray
d2fdb4818c
Fixed wording
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-29 18:02:08 +10:00
Andrew Murray
1abcada1c5 Added release notes [ci skip] 2019-06-29 17:47:55 +10:00
Hugo
a0191dae1e
Documentation for Image module (#3776)
Documentation for Image module
2019-06-28 19:49:45 +03:00
Hugo
57e3af4afb Fix typo 2019-06-28 18:47:17 +03:00
Oliver Tonnhofer
2b7d8be536 tiff: add support for JPEG quality
Uses JPEGQUALITY pseudo-tag from libtiff.

Also changes the way tags are passed to PyImaging_LibTiffEncoderNew from
dict to list to ensure that COMPRESSION tag is added before JPEGQUALITY.
This is required as the COMPRESSION tag registers the JPEGQUALITY
pseudo-tag.
2019-06-26 06:33:54 +10:00
Oliver Tonnhofer
61add9d6b0 Improve encoding of TIFF tags
- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
2019-06-26 06:33:19 +10:00
Hugo
73884576d4 Some styling and wording 2019-06-24 11:04:13 +03:00
Hugo
72bf9f6529 Use the common test-suite image 2019-06-24 10:48:33 +03:00
Hugo
fd1d779ae1 Strip trailing whitespace 2019-06-24 10:45:53 +03:00
Hugo
c1b3adbd1b
Merge pull request #3910 from radarhere/xrgb
Changed bits value for XRGB unpackers
2019-06-22 10:24:24 +03:00
Hugo
f5cd8b4b0d
Merge pull request #3909 from hugovk/run-black
Format code with Black
2019-06-22 06:46:15 +03:00
Andrew Murray
0a73e31415 Added note about RGBX padding 2019-06-21 19:37:43 +10:00
Andrew Murray
dfa9e7aeff
Apply suggestions from code review [ci skip]
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-20 20:31:57 +10:00
Andrew Murray
1d1edb8fc4 Added release notes for #3802 and #3856 [ci skip] 2019-06-20 20:01:43 +10:00
Hugo
1b99362f3d Merge remote-tracking branch 'upstream/master' into run-black 2019-06-19 09:29:28 +03:00
Andrew Murray
f33f4998b2 Renamed OS X reference to macOS [ci skip] 2019-06-15 08:02:28 +10:00
Hugo
471220093b Format with Black 2019-06-13 18:54:57 +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
6e22f6c9cc
Merge pull request #3889 from radarhere/libimagequant
Updated libimagequant to 2.12.3
2019-06-08 21:18:09 +03: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
Andrew Murray
e1df2118b3 Link method [ci skip] 2019-06-02 13:34:18 +10: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
Andrew Murray
8be6609243 Added PA mode to docs [ci skip] 2019-05-18 20:41:59 +10:00
Andrew Murray
0678bfe084 Updated macOS CI target [ci skip] 2019-05-15 22:13:57 +10:00
Hugo
269c43d83b
Merge pull request #3846 from radarhere/doc
Documentation fixes
2019-05-12 09:55:52 +03: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
Andrew Murray
64eff66ee7 Updated pixel range documentation [ci skip] 2019-05-09 14:32:14 +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
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
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
Andrew Murray
1d67bf0539 Document pixel range [ci skip] 2019-05-04 16:11:16 +10:00
Hugo
c15dc4d7ca
Document format limitations of ImageStat.Stat.extrema (#3661)
Document format limitations of ImageStat.Stat.extrema
2019-05-03 22:14:14 +03:00
Hugo
1f179fab94 Docs: Update CI targets 2019-05-02 11:22:08 +03:00
Andrew Murray
70038bd71e Added option to include layered windows in ImageGrab.grab on Windows 2019-04-26 20:09:46 +10:00
Hugo
c23d4233cb
Merge pull request #3805 from radarhere/install_docs
Correct libimagequant installation requirements
2019-04-24 15:38:24 +03:00
Andrew Murray
31340bb3c6 Corrected names in documentation 2019-04-24 06:19:17 +10:00
Andrew Murray
16ef9e5746 Correct libimagequant installation requirements [ci skip] 2019-04-22 11:34:10 +10:00
Andrew Murray
0557ecbb3e Document class members automatically 2019-04-21 23:28:08 +10:00
Andrew Murray
93b96a6cb8 Improved documentation 2019-04-21 23:27:31 +10:00
Andrew Murray
af59955d04 Updated openjpeg to 2.3.1 2019-04-15 18:13:34 +10:00
Hugo
bf9592aac5 Add explicit removal version 2019-04-09 11:11:14 +03:00
abojja9
c4daa87415 Add documentation to Image module 2019-04-06 13:42:22 -07:00
Hugo
eafb394242 Drop support for EOL Ubuntu 14.04 (Trusty Tahr) 2019-04-01 16:34:18 +03:00
Andrew Murray
732a5357be Added release notes for #3687 [ci skip] 2019-04-01 22:32:09 +11:00
Andrew Murray
d31de47768 Added release notes [ci skip] 2019-04-01 21:16:52 +11:00
Andrew Murray
f707affbde
Merge pull request #3615 from hugovk/imagecms-deprecations
Add warnings to deprecated CMS profile attributes
2019-04-01 17:35:32 +11:00
Andrew Murray
7fd0a1493a Changed wording [ci skip] 2019-03-31 14:36:39 +11:00
Andrew Murray
0fd4750ba4
Merge pull request #3637 from hugovk/default-to-codecov
Docs: Link to Codecov rather than Coveralls
2019-03-31 14:01:30 +11:00
Andrew Murray
9699ac40c7 n_frames is not an info key [ci skip] 2019-03-31 12:44:39 +11:00
Andrew Murray
7a845ee2e7 Corrected seek documentation [ci skip] 2019-03-31 12:43:09 +11:00
Andrew Kuchling
7ca0c189e3 Various documentation fixes [ci skip]
* TIFF: describe num_frames and seek()/tell()
* Link methods to PIL.Image class instead of the Python file object
* It doesn't seem like the Spider plug-in actually has an 'nimages' attribute
* Fix markup for exception name
2019-03-31 12:14:53 +11:00
Andrew Murray
f238ab9654 Updated lcms tested versions [ci skip] 2019-03-29 08:32:36 +11:00
Hugo
a0a641516b
Merge pull request #3743 from radarhere/releasenotes
I;16 mode transpose support release notes
2019-03-28 11:49:52 +02:00
Hugo
90886b1888
Merge branch 'master' into imagecms-deprecations 2019-03-27 12:03:54 +02:00
Andrew Murray
4a5666f1f4 Added transparency for all PNG greyscale modes 2019-03-27 07:41:33 +11:00
Hugo
30841fe808
Merge pull request #3737 from jdufresne/quotes
Add backticks around Python classes and modules in open_files.rst
2019-03-23 08:31:15 +00:00
Andrew Murray
51e66522e7 Added release notes for #3563 and #3741 2019-03-23 17:36:49 +11:00
Andrew Murray
3b3e590f6c Added release notes for #3555 [ci skip] 2019-03-23 14:51:24 +11:00
Andrew Murray
61dae3041c Added release notes for #3525, #3688 and #3520 [ci skip] 2019-03-23 14:48:17 +11:00
Jon Dufresne
d31bee5e35 Add backticks around Python classes and modules in open_files.rst 2019-03-22 06:12:08 -07:00
Jon Dufresne
deb8a7aadd Remove additional references to removed handles_eof
handles_eof was removed in 90760a5f30.
2019-03-22 05:58:22 -07:00
Andrew Murray
aa2f9878a3
Remove unused RST substitution definition
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-03-17 08:00:23 +02:00
Andrew Murray
fa8ecffff2 Corrected seek documentation 2019-03-17 00:00:10 +11:00
Andrew Murray
0ad09f7386
Merge branch 'master' into mime-types 2019-03-15 07:06:59 +11:00
Andrew Murray
ebdb1ffc54 Added PNM to the list of PPM files [ci skip] 2019-03-14 08:35:27 +11:00
Hugo
e3eac00b1f
Merge pull request #3566 from radarhere/i16
Added I;16 PNG save
2019-03-12 12:25:53 +02:00
Andrew Murray
f06056cc1f Updated PNG modes [ci skip] 2019-03-12 21:10:59 +11:00
Hugo
33d207b3f0
Move to API Additions, not Deprecations [CI skip]
And some minor editing to make more concise/consistent.
2019-03-12 11:12:19 +02:00
Ben Yang
8bd4bbb808 implemented language parameter for multiline ImageDraw methods, updated release notes 2019-03-11 20:21:52 -07:00
Ben Yang
515244b672 moved language parameter in ImageDraw documentation 2019-03-11 18:56:22 -07:00
Ben Yang
c6ad867178 added proper documentation for ImageFont.getsize() 2019-03-11 18:56:22 -07:00
Ben Yang
d5bbf01254 moved 'language' parameter to last parameter in relevant functions 2019-03-11 18:56:22 -07:00
Ben Yang
8624efd283 added ability to set language for text rendering 2019-03-11 18:55:46 -07:00
Hugo
3fc77da70a
Adjust header formatting
[CI skip]
2019-03-11 21:11:37 +02:00
Konstantin Kopachev
4215d7621f
Add release notes 2019-03-11 10:44:55 -07:00
Andrew Murray
8ddcc1de52 Load EXIF from PNG where eXIf chunk is after first IDAT chunk 2019-03-11 21:20:18 +11:00
Hugo
63f31ee380
Merge pull request #3699 from glasnt/topic/quantize-dither
Add option to set dither param on quantize
2019-03-11 12:18:32 +02:00
Hugo
5da0d5beee
Merge pull request #3673 from radarhere/dds
Add reading of DDS uncompressed RGB data
2019-03-11 12:04:47 +02:00
Katie McLaughlin
0b63579f39 Add option to set dither param on quantize
Default the option to `1`, as per original setting
2019-03-09 10:36:13 +11:00