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
Dvořák Václav
9be8d669f9
issue #2959 : changes based on @hugovk's review
2018-01-31 00:25:04 +01:00
Andrew Murray
aa0ee9feab
Rearranged classes into alphabetical order
2018-01-30 20:13:51 +11:00
Hugo
5fd72be207
Merge pull request #2987 from radarhere/manifest
...
Manifest changes
2018-01-29 13:18:30 +02:00
Andrew Murray
9d6f5f44a9
Removed Tk directory
2018-01-29 19:53:26 +11:00
Andrew Murray
dd524e57e6
Updated codecov filename
2018-01-29 19:45:33 +11:00
Hugo
b9d4105ea2
Merge pull request #2984 from radarhere/typo
...
Fixed typo
2018-01-28 09:40:12 +02:00
Metallicow
5e94cd0fc2
Trim trailing whitespace tests dir
2018-01-27 00:07:24 -06:00
Metallicow
b13025129b
Trim trailing whitespace docs dir
2018-01-27 00:04:46 -06:00
Metallicow
22a59ac839
Trim trailing whitespace src dir
2018-01-27 00:02:56 -06:00
Andrew Murray
d212808e3d
Fixed typo
2018-01-27 16:19:02 +11:00
Andrew Murray
5e0de38519
Removed duplicate line
2018-01-27 10:09:51 +11:00
Dvořák Václav
ede57b91e0
issue #2959 : keep file open, add context manager, add methods to support writing, eliminate the passing of file or buffer
2018-01-26 19:07:43 +01:00
Dvořák Václav
78fe32a431
issue #2959 : support streams, add some tests
2018-01-26 17:15:38 +01:00
Dvořák Václav
971837cc00
issue #2959 : another Py2 bugfix
2018-01-26 16:12:39 +01:00
Dvořák Václav
524addc499
issue #2959 : argh, do we really need to support Python 2.x? ;-)
2018-01-26 15:32:54 +01:00
Dvořák Václav
51bed10d4e
issue #2959 : oops, hopefully fix Python 2.x
2018-01-26 14:54:49 +01:00
Dvořák Václav
53ce9ec4fb
issue #2959 : fix PdfDict attribute access, text decoding, tests
2018-01-26 13:42:11 +01:00
Dvořák Václav
4d3b13fb08
issue #2959 : improve Info setting and dumping
2018-01-26 12:11:10 +01:00
Andrew Murray
c255948860
Fixed typo
2018-01-26 16:52:07 +11:00
Andrew Murray
29818f30f0
Fixed typo [ci skip]
2018-01-25 19:57:58 +11:00
Hugo
1cfda448e0
Update CHANGES.rst
2018-01-25 10:52:24 +02:00
Hugo
8f4dc0d963
Update CHANGES.rst
2018-01-25 10:52:01 +02:00
Hugo
797d67b9a3
Merge pull request #2974 from wiredfool/webp_leak
...
Fix memory leak when opening webp files
2018-01-25 10:51:23 +02:00