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