Commit Graph

11624 Commits

Author SHA1 Message Date
Hugo van Kemenade
b3a1de94d0
Merge pull request #5323 from radarhere/imagefilter_numpy
Only import numpy when necessary
2021-03-28 19:11:01 +03:00
wiredfool
9a683db339
Merge pull request #5274 from radarhere/gradient
Fixed linear_gradient and radial_gradient I and F modes
2021-03-28 14:35:22 +01:00
wiredfool
d0612030a0
Merge pull request #5364 from wiredfool/4641_merge
Add support for reading TIFFs with PlanarConfiguration=2
2021-03-28 14:33:42 +01:00
wiredfool
611a6d2330
Merge pull request #5328 from wiredfool/oss-fuzz
More OSS-Fuzz support
2021-03-28 14:19:29 +01:00
Konstantin Kopachev
52ecf1b142 Stop guessing strip size and pass expected size 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
ab24c98491 Add sanity check for memory overruns 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
1c295bf43c Check for dimensions and sizes to fit into int 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
e438046201 Refactor into smaller functions 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
4dd288c66c unify reading of YCbCr Tiffs 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
4c2dfadf26 Swap pixel values on Big Endian 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
169bb4842f only use TIFFReadRGBA* in case of o_jpeg compression 2021-03-28 15:03:37 +02:00
Eric Soroos
f2020eeab4 UINT8 -> int for plane 2021-03-28 15:03:37 +02:00
Eric Soroos
b1d3f0d5c2 not 2021-03-28 15:03:37 +02:00
Eric Soroos
c9ea87ecfd Use flag instead of recalculating 2021-03-28 15:03:37 +02:00
Eric Soroos
fda638befe Planes should be int, not uint 2021-03-28 15:03:37 +02:00
nulano
daf7b6546e remove double pointer 2021-03-28 15:03:37 +02:00
nulano
671837840a the previous commit also fixes these big-endian failures 2021-03-28 15:03:37 +02:00
nulano
a921c01102 correct TIFFTAG_PLANARCONFIG size 2021-03-28 15:03:37 +02:00
Eric Soroos
77a1a9aba3 initialize the unpackers 2021-03-28 15:03:37 +02:00
Eric Soroos
64500434c2 Implementation for PlanarConfiguration=2 Tiffs, manually merged from f566c8a 2021-03-28 15:03:37 +02:00
Konstantin Kopachev
0018685a8e Add Tests and support for Planar Tiff Images 2021-03-28 15:03:37 +02:00
German Novikov
d18e55013d
Update Tests/test_imageops.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-28 15:02:52 +03:00
Eric Soroos
bf8cebc96d Add libxcb to fuzzers 2021-03-28 13:49:37 +02:00
Hugo van Kemenade
e405ab300b
Merge pull request #5351 from radarhere/categories 2021-03-28 14:34:50 +03:00
Andrew Murray
fa6fed92cb Update CHANGES.rst [ci skip] 2021-03-28 16:10:34 +11:00
Andrew Murray
f799915d6f
Merge pull request #5304 from nulano/5300
Do not premultiply alpha when resizing with Image.NEAREST resampling
2021-03-28 16:02:01 +11:00
Andrew Murray
71cd97a519 Added deprecation warnings 2021-03-28 15:51:28 +11:00
Hugo van Kemenade
5e1d304769
Merge pull request #5353 from radarhere/quantize_attributes
Use quantization method attributes
2021-03-27 20:01:49 +02:00
wiredfool
3addd7df4e
Merge pull request #5062 from nulano/fribidi-link
Dynamically link FriBiDi instead of Raqm
2021-03-27 16:29:04 +00:00
Hugo van Kemenade
9431d94bee
Merge pull request #5363 from radarhere/unreachable
Removed build_distance_tables return value
2021-03-27 17:39:27 +02:00
Andrew Murray
a4a38b805b Removed return value of build_distance_tables 2021-03-27 14:47:11 +11:00
Ondrej Baranovič
9872d57e3b
corrected comment 2021-03-27 02:06:36 +01:00
Hugo van Kemenade
9b69d94082
Merge pull request #5352 from radarhere/quantize_documentation 2021-03-26 15:25:14 +02:00
nulano
7c48f12207 add explanatory comment for USE_WIN32_FILEIO 2021-03-26 02:54:11 +01:00
Ray Gardner
5390786c65 Add braces to if -- conform with Pillow style. 2021-03-25 17:22:11 -06:00
Ray Gardner
0acf3514a1 Modify GifEncode.c and Gif.h to use LZW encoding 2021-03-25 17:22:10 -06:00
Hugo van Kemenade
d40211254c
Merge pull request #5361 from radarhere/alpine
Document prerequisites and Python development libraries for Alpine
2021-03-25 20:33:41 +02:00
Hugo van Kemenade
4f3913bccf
Merge pull request #5360 from radarhere/debian
Listed Debian packages
2021-03-25 20:29:20 +02:00
German Novikov
977e64fb61
Update Tests/test_imageops.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-25 14:56:30 +03:00
Andrew Murray
4c36945206 Added prerequisites and Python development libraries for Alpine 2021-03-25 22:43:46 +11:00
Andrew Murray
4b1dd40b5a Listed Debian packages [ci skip] 2021-03-25 11:57:48 +11:00
nulano
c718cc6c94 avoid unused variable warnings 2021-03-25 00:41:05 +01:00
nulano
5e61c1842f fix support for old versions of Raqm 2021-03-25 00:41:05 +01:00
Andrew Murray
1105c5d5c9 Updated nasm to 2.15.05
(cherry picked from commit 6e31662a49)
2021-03-24 21:31:10 +01:00
nulano
f4deb4df30 compile libtiff with cmake
(cherry picked from commit 3f17d61fed513ac6bb569ac687c77db1564f056f)
2021-03-24 21:31:07 +01:00
Andrew Murray
759c518420
Merge pull request #5357 from python-pillow/docs-contrib-release-notes
Contributing docs: Include release notes as needed or appropriate
2021-03-24 12:07:00 +11:00
Hugo van Kemenade
e85bf540cf
Contributing: Include release notes as needed or appropriate
[CI skip]
2021-03-23 20:58:01 +02:00
Hugo van Kemenade
51bbefed27
Merge pull request #5354 from radarhere/macos
Updated macOS tested Pillow versions
2021-03-23 15:03:07 +02:00
nulano
49fa3656b1 do not premultiply alpha when resizing with Image.NEAREST resampling 2021-03-23 13:16:20 +01:00
German Novikov
9d3da37f35
Update docs/releasenotes/8.2.0.rst [ci skip]
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-23 15:04:12 +03:00