Commit Graph

7030 Commits

Author SHA1 Message Date
Konstantin Kopachev
1e9e64c8b0
Move jpeg-specific eof-processing to jpeg plugin 2018-03-06 22:52:08 -08: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
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
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
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
Eric Soroos
1b06cbc3bb run webp leak check by default 2018-01-24 14:02:58 +00:00
Eric Soroos
379d3ccce2 Fixed up the webp leak check 2018-01-24 14:02:33 +00:00
Eric Soroos
0da68dee98 Fix leak opening _webp files 2018-01-24 13:22:51 +00:00
wiredfool
90478081e8
Update CHANGES.rst [ci skip] 2018-01-24 11:10:45 +00:00
wiredfool
9a19858fb7
Merge pull request #2938 from uploadcare/tiff-with-optional-channels
Tiff with optional channels
2018-01-24 11:10:18 +00:00
wiredfool
0bf7c7518f
Merge pull request #2930 from python-pillow/add-twitter-badge
README: Add Twitter badge
2018-01-24 11:05:32 +00:00
wiredfool
e902e46019
Update CHANGES.rst [ci skip] 2018-01-24 10:59:17 +00:00
wiredfool
d6973ff50f
Merge pull request #2942 from radarhere/imagecms_remove_main
Removed __main__ code from ImageCms
2018-01-24 10:55:59 +00:00
wiredfool
c686a71320
Merge pull request #2958 from radarhere/typo
Fixed typos
2018-01-24 10:54:51 +00:00
wiredfool
d04380afb6
Merge pull request #2961 from radarhere/assert
Changed assert statements to unittest calls
2018-01-24 10:54:18 +00:00
Andrew Murray
25e72d5856 Fixed typos 2018-01-24 21:54:16 +11:00
wiredfool
7e4fdb1097
Merge pull request #2968 from nehaljwani/libdirs-ppc64le-armv7l
Add libdirs for ppc64le and armv7l
2018-01-24 10:52:27 +00:00
wiredfool
bae2613ed6
Merge pull request #2951 from hugovk/2950-install-not-iterable
Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX
2018-01-24 10:51:46 +00:00