Commit Graph

7277 Commits

Author SHA1 Message Date
Konstantin Kopachev
5269bbc268
Add truncated jpeg tests 2018-03-07 21:31:51 -08:00
Konstantin Kopachev
1e9e64c8b0
Move jpeg-specific eof-processing to jpeg plugin 2018-03-06 22:52:08 -08:00
wiredfool
3a77758d9a Convert BlpImagePlugin to use Pydecoder framework 2018-03-06 18:16:26 +02:00
Jerome Leclanche
31409bc83d tox: Allow passing arguments from tox to pytest 2018-03-06 18:16:26 +02:00
Jerome Leclanche
d2c73c4882 tox: Add pytest to test deps 2018-03-06 18:16:26 +02:00
Jerome Leclanche
4d685ac0cd blp: Add more test images 2018-03-06 18:16:26 +02:00
Jerome Leclanche
73d7fff16e blp: Separate BLP1 and BLP2 decoding more cleanly 2018-03-06 18:16:26 +02:00
Jerome Leclanche
fcba3583c3 blp: Simplify dxt1/dxt3/dxt5 decoding 2018-03-06 18:16:26 +02:00
Jerome Leclanche
adaa703576 Add support for BLP file format 2018-03-06 18:16:26 +02:00
Andrew Murray
c13ccf13a1 Added missing whitespace 2018-03-06 19:53:07 +11:00
Andrew Murray
8116ee3738 Inline comment should start with '# ' 2018-03-04 21:36:34 +11:00
Andrew Murray
f22f1628eb At least two spaces before inline comment 2018-03-04 21:36:33 +11:00
Andrew Murray
2202196162 Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
Andrew Murray
45352662bb Removed unused variable 2018-03-04 21:36:33 +11:00
Andrew Murray
6930d871eb Removed unused import 2018-03-04 21:36:33 +11:00
Hugo
262b6d15cc
Merge pull request #3027 from radarhere/url
Fixed URL
2018-03-04 12:34:29 +02:00
Andrew Murray
eef06b2124 Fixed URL [ci skip] 2018-03-04 21:23:07 +11:00
Dvořák Václav
928bea3002 issue #2959: enhance test, mainly to trigger Appveyor re-build 2018-03-04 00:01:14 +01:00
Dvořák Václav
24ecfe315a issue #2959: fix wrong Parent of pre-existing Page objects when appending 2018-03-03 23:32:47 +01:00
Dvořák Václav
113d67214c issue #2959: change asserts into raises 2018-03-03 21:08:20 +01:00
Hugo
9f71c1ec70
Merge pull request #3025 from radarhere/installation
Improved readability of Other Platforms table
2018-03-02 21:49:58 +02:00
Andrew Murray
d01a6c55aa Improved readability of Continuous Integration Targets table [ci skip] 2018-03-03 05:21:54 +11:00
Andrew Murray
a9dd5a9422 Improved readability of Other Platforms table [ci skip] 2018-03-03 04:30:24 +11:00
Konstantin Kopachev
add2746ac6
Certain corrupted jpegs can result in no data read
On truncated jpeg, decoder can suspend waiting for additional bytes in
buffer. For some input files, decoder suspends on jpeg_start_decompress
stage. If at this point file reader reaches EOF, py code never gets back
to jpeg decoder and we end up with no bytes to result image. This leaves
us with some amount of potentially useful bytes undecoded and thrown
away.
Libjpeg docs suggest that in such situation, more appropriate would be
to add EOI marker to the end of buffer, which will allows decoder
to finish. https://github.com/libjpeg-turbo/libjpeg-turbo/blob/0dd9a2c1fd6c/libjpeg.txt#L1803-L1809
Docs also mention that adding EOI markers is what non-suspending code
does anyway.
2018-02-28 22:15:58 -08:00
Hugo
7f7d5aa183
Move intro text below its header
Allows hotlinking to include relevant intro:
https://pillow.readthedocs.io/en/latest/reference/Image.html#create-thumbnails
2018-02-28 14:50:02 +02:00
Hugo
497b8fd0f7 Only attempt deploy for python-pillow/Pillow 2018-02-27 13:27:26 +02:00
Hugo
4125947d09 No changes, except save with LF instead of CRLF 2018-02-27 13:26:32 +02:00
Hugo
1591c530bd
Update CHANGES.rst 2018-02-27 12:25:19 +02:00
Hugo
034617ffae
Merge pull request #3009 from thijstriemstra/patch-1
Enable pip cache in AppVeyor build
2018-02-27 12:08:06 +02:00
Hugo
4936b447f0
Merge pull request #2985 from Metallicow/trim-trailing-space
Trim trailing whitespace
2018-02-27 12:00:15 +02:00
Hugo
3e49f27865
Update CHANGES.rst 2018-02-27 11:56:34 +02:00
Hugo
5ba51eb7e0
Merge pull request #3000 from radarhere/imagedraw
Correct reference to Image.new method
2018-02-27 11:55:18 +02:00
Hugo
185f71313c
Merge pull request #3017 from radarhere/raqm
Update raqm to 0.5.0
2018-02-27 11:50:31 +02:00
Hugo
2a2c0fefec
Merge pull request #2997 from radarhere/libimagequant
Update libimagequant to 2.11.9
2018-02-27 11:38:50 +02:00
Hugo
d91f26486b
Merge pull request #2990 from radarhere/imagefilter
Rearrange ImageFilter classes into alphabetical order
2018-02-27 11:38:24 +02:00
Hugo
af4f501c8e
Merge pull request #2983 from radarhere/duplicate
Remove duplicate line
2018-02-27 11:37:12 +02:00
Hugo
d146f776e8
Merge pull request #3003 from radarhere/appveyor_pypy
Updated AppVeyor pypy version
2018-02-27 11:36:30 +02:00
Andrew Murray
2ffb41f8a2 Updated raqm to 0.5.0 2018-02-27 20:27:34 +11:00
Andrew Murray
4690652456 Updated pypy version 2018-02-27 20:01:22 +11:00
Andrew Murray
bc916e5e53 Fixed typos [ci skip] 2018-02-26 19:58:30 +11:00
Thijs Triemstra
fc7fdced74
enable pip cache in appveyor build 2018-02-20 04:13:29 +01:00
Andrew Murray
fc3c4c0119 Corrected reference to method 2018-02-14 20:09:00 +11:00
Andrew Murray
74ed05be10 Updated libimagequant to 2.11.9 2018-02-14 19:48:28 +11:00
Hugo
5fa7791777
Merge pull request #2999 from radarhere/readme
Corrected winbuild documentation
2018-02-09 13:51:01 +02:00
Andrew Murray
19590874a8 Fixed link [ci skip] 2018-02-09 20:56:10 +11:00
Andrew Murray
cbb0c8fc53 Changed build instructions path to link [ci skip] 2018-02-09 20:55:24 +11:00
Andrew Murray
60002b4a90 Changed path to build instructions [ci skip] 2018-02-09 20:16:21 +11:00
Tim Graham
eb5c52cb17 Fix "invalid escape sequence" warning on Python 3.6+ 2018-02-05 13:53:45 -05:00
Dvořák Václav
4cea610f16 issue #2959: oops. sorry. reverting accidental change that broke builds 2018-01-31 23:08:49 +01:00
Dvořák Václav
c15a0b2fce issue #2959: rename pdfParser.py to PdfParser.py 2018-01-31 00:35:55 +01:00