Commit Graph

11409 Commits

Author SHA1 Message Date
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
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
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
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
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
Andrew Murray
d8acc3be0d Updated macOS tested Pillow versions [ci skip] 2021-03-23 12:55:16 +11:00
Andrew Murray
4e0bc3bab6 Use quantization method attributes 2021-03-22 19:44:56 +11:00
Andrew Murray
0ff9879171 Document supported quantization methods for RGBA images 2021-03-22 19:21:31 +11:00
Andrew Murray
ab56edb49f Documented default quantization method 2021-03-22 19:18:36 +11:00
Andrew Murray
2d8658bd84 Deprecated categories [ci skip] 2021-03-22 18:58:50 +11:00
Andrew Murray
aa35f6b572 Update CHANGES.rst [ci skip] 2021-03-22 06:49:25 +11:00
Hugo van Kemenade
ddcc936643
Merge pull request #5330 from radarhere/png_plte
Allow fewer PNG palette entries than the bit depth maximum when saving
2021-03-21 17:31:35 +02:00
Andrew Murray
7ab8ec9b91 Update CHANGES.rst [ci skip] 2021-03-21 21:00:05 +11:00
Hugo van Kemenade
688e6f163f
Merge pull request #5338 from radarhere/webp_save_duration
Use duration from info dictionary when saving WebP
2021-03-21 11:35:28 +02:00
Andrew Murray
754752e78f Allow fewer palette entries than the bit depth maximum 2021-03-21 09:22:01 +11:00