Commit Graph

1142 Commits

Author SHA1 Message Date
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
Andrew Murray
2764031762 Changed PIL references to Pillow [ci skip] 2019-03-08 21:04:23 +11:00
Andrew Murray
1c1bad3186 Document the DIB image format [ci skip] 2019-03-08 21:04:01 +11:00
Hugo
6f24eda48a Document format limitations of ImageStat.Stat.extrema and recommend more efficient Image.getextrema 2019-03-06 17:49:25 +02:00
Andrew Murray
6b91f8c12d
Merge pull request #3682 from hugovk/deprecate-python2.7
Document Python 2.7 will be dropped on 2020-01-01
2019-03-03 21:42:37 +11:00
Hugo
f77bb0a15a Document Python 2.7 will be dropped in Pillow 7.x 2019-03-02 20:27:54 +02:00
Hugo
e96e2791cb Fix RST warning: 'Unknown target name' 2019-03-02 20:27:35 +02:00
Hugo
5f1b6bf752 Document Python 2.7 will be dropped on 2020-01-01 2019-03-02 20:18:52 +02:00
Andrew Murray
c1150a2d0f Document removal of VERSION (#3624) [ci skip] 2019-03-02 18:22:34 +11:00
Andrew Murray
148d320b40 Added reading of uncompressed RGB data 2019-02-23 06:44:06 +11:00
Andrew Murray
7477036230
Merge branch 'master' into imagecms-deprecations 2019-02-21 20:00:27 +11:00
Hugo
6e1227765e
Move PyQt4/PySide above plugin constants
Both deprecated in the same version, but PyQt4/PySide has a bigger impact
2019-02-15 10:13:03 +02:00
Andrew Murray
46183f7615
Merge branch 'master' into deprecate-eol-qt 2019-02-15 19:06:37 +11:00
Hugo
186f7d943b Document deprecation 2019-02-14 23:44:07 +02:00
Hugo
3ff70c2afc
Merge branch 'master' into imagecms-deprecations 2019-02-13 15:45:28 +02:00
Andrew Murray
f95b98a59c
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-02-13 10:36:12 +02:00
Hugo
1793f6bd52 Document deprecated image plugin version constants (#3628) 2019-02-12 16:58:59 +02:00
Hugo
f7134f1c18
Merge pull request #3628 from jdufresne/dep-plugin-version
Deprecate PIL.*ImagePlugin.__version__ attributes
2019-02-12 15:39:43 +02:00
Andrew Murray
828a6f947c Fixed typo [ci skip] 2019-02-12 20:35:23 +11:00
Andrew Murray
4fe63e44d7 Fixed typo [ci skip] 2019-02-10 12:33:16 +11:00
Hugo
976c0d79e1 Link to Codecov rather than Coveralls 2019-02-07 17:47:20 +02:00
Hugo
eea6686f4e
Merge pull request #3620 from radarhere/outside
Added note about ImageDraw operations that exceed image bounds
2019-02-03 12:44:27 +02:00
Jon Dufresne
a11fed32b3 Deprecate PIL.*ImagePlugin.__version__ attributes
Use PIL.__version__ instead.
2019-02-02 17:39:55 -08:00
Hugo
daee1d4b3d Document deprecations 2019-01-28 15:40:19 +02:00
Hugo
7d157bd825 Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
071dc9409f
Merge pull request #3600 from hugovk/add-release-notes
Document removals
2019-01-28 11:59:41 +02:00
Andrew Murray
32c344b7ce Added note about ImageDraw operations that exceed image bounds [ci skip] 2019-01-27 22:10:54 +11:00
Andrew Murray
f149a416a0 Removed reference to 5.5.x [ci skip] 2019-01-27 15:00:35 +11:00
Andrew Murray
7b6f34e7ac Remove note about Python 3.0-3.4 [ci skip] 2019-01-25 18:47:22 +11:00
Hugo
d6055440d5 Drop support for EOL Python 3.4 2019-01-24 23:33:14 +02:00
Hugo
0c3e1fa77e
Merge pull request #3595 from radarhere/sphinx
Moved docs JS file into custom directory
2019-01-24 23:19:39 +02:00
Andrew Murray
0a454037af Updated macOS tested Pillow versions [ci skip] 2019-01-24 19:51:43 +11:00
Andrew Murray
5a276be889
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-01-21 20:55:04 +02:00
Hugo
bb69e79dc9 Document removals 2019-01-20 22:07:22 +02:00
Andrew Murray
1afcdb2c34 Fixed JS errors in local Sphinx build 2019-01-19 20:39:13 +11:00
Andrew Murray
be99470b29 Moved docs JS file into custom directory 2019-01-19 20:27:11 +11:00
Hugo
5e18bbdaef
Release history is visible at PyPI
Now available since the PyPI (aka Warehouse) redesign
2019-01-13 20:58:22 +02:00
Hugo van Kemenade
39cd976492
Apply suggestions from code review
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2019-01-06 21:29:54 +11:00
Andrew Murray
93a2dce8f9 Added release notes for #3540 [ci skip] 2019-01-06 16:00:51 +11:00
Andrew Murray
b2905aec08 Updated release notes [ci skip] 2019-01-05 11:10:19 +11:00
Hugo
3c2940b002 Add 5.4.1 release notes 2019-01-05 01:00:15 +02:00
Andrew Murray
fffb426092 Updated copyright year 2019-01-03 09:32:05 +11:00
Hugo
398d2f0c15
Merge pull request #3522 from radarhere/imagechops
Improved ImageChops documentation
2019-01-01 12:21:28 +02:00
Hugo
6b5aa006b2
Merge pull request #3519 from radarhere/putpixel
Allow RGB and RGBA values for P image putpixel
2019-01-01 11:46:30 +02:00
Andrew Murray
fc354cabaa Added method 2019-01-01 14:11:52 +11:00
Andrew Murray
a53c39eb46
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2018-12-31 23:09:22 +02:00
Hugo
8c38e4c6d5
Update release notes 2018-12-31 13:48:06 +02:00
Andrew Murray
671f7a392d Allow RGBA value for P image putpixel 2018-12-31 13:37:04 +11:00
Andrew Murray
3f6282e259 Allow RGB value for P image putpixel 2018-12-31 11:35:15 +11:00
Andrew Murray
b5b32a519b Updated Travis CI from Fedora 26 and 27 to 28 and 29 2018-12-27 10:58:49 +11:00
Hugo
7beecb9f33
Flake8 2018-12-26 13:48:55 +02:00
Hugo
a43b8bac1e
Merge pull request #3506 from radarhere/png
Read textual chunks located after IDAT chunks for PNG
2018-12-26 13:34:50 +02:00
Hugo
e976bdb9c3
Merge pull request #3476 from radarhere/sidebar
Added functions to Read The Docs sidebar
2018-12-26 13:10:52 +02:00
Hugo
08a1901328
Merge pull request #3486 from hugovk/add-deprecations-and-removals-docs
Docs: Add page of deprecations and removals
2018-12-26 12:44:12 +02:00
Andrew Murray
95d80a7e5d Corrected data type [ci skip] 2018-12-24 17:05:38 +11:00
Hugo
9dd0348be2
Merge pull request #3495 from radarhere/badges
Updated badge URLs
2018-12-15 11:22:53 +02:00
Andrew Murray
cb4f948ac0 Updated redirected URL 2018-12-15 00:05:35 +11:00
Hugo
69837baba2
Merge pull request #3490 from radarhere/open_files
Updated open files documentation
2018-12-13 21:14:22 +02:00
Andrew Murray
dfdfe6327b Changed Read The Docs image URLs to match README 2018-12-14 05:59:56 +11:00
Andrew Murray
fc87e68d8c Changed pillow-wheels badge branch to master 2018-12-14 05:59:55 +11:00
Andrew Murray
b0330047ff Minor edit 2018-12-12 00:53:31 +11:00
Hugo
94f4c4a682
Apply suggestions from code review
Minor edits

Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2018-12-12 00:50:32 +11:00
Andrew Murray
91f727051b Updated open files documentation 2018-12-11 14:39:10 +11:00
Hugo
ae21462249 Docs: Update CI targets 2018-12-08 17:12:36 +02:00
Andrew Murray
5eb7fa1a78 Stopped code highlighting 2018-12-08 06:28:46 +11:00
Hugo
b4e485ca53 Add deprecations and removals page to docs 2018-12-06 10:56:07 +02:00
Hugo
47119091e0
Merge pull request #3442 from radarhere/libimagequant
Updated libimagequant to 2.12.2
2018-12-01 22:45:00 +02:00
Andrew Murray
0f42cdd639 Added functions to Read The Docs sidebar 2018-11-23 18:57:17 +11:00
Hugo
ceebfc6fe8 flake8: E501 line too long 2018-11-11 19:01:11 +02:00
Hugo
6fbebdeeb3 flake8: E265 block comment should start with '# ' 2018-11-11 19:01:10 +02:00
Hugo
afefc99096 flake8: E122 continuation line missing indentation or outdented 2018-11-11 19:01:10 +02:00
Hugo
0b7910c7cd flake8: E402 module level import not at top of file 2018-11-11 19:01:10 +02:00