Commit Graph

7102 Commits

Author SHA1 Message Date
wiredfool
d173e81798
Merge pull request #3023 from kkopachev/issue-3022
Certain corrupted jpegs can result in no data read
2018-03-21 07:55:17 +00:00
wiredfool
f504cbe642
Merge pull request #3007 from jleclanche/feat/blp
Add support for BLP file format
2018-03-21 07:54:29 +00:00
wiredfool
c004b6beaa
Merge pull request #2998 from hugovk/simplify-version-checks
Simplify version checks
2018-03-21 07:50:51 +00:00
wiredfool
659824773b
Merge pull request #2996 from timgraham/invalid-escape
Fix "invalid escape sequence" warning on Python 3.6+
2018-03-21 07:50:34 +00:00
Hugo
1328c537ad
Update CHANGES.rst 2018-03-19 11:28:32 +02:00
Hugo
f5968fdba3
Merge pull request #3005 from radarhere/icns_append
Allow append_images to set .icns scaled images
2018-03-19 11:26:30 +02:00
Andrew Murray
4a781d0013 Replaced MacOS with macOS 2018-03-19 19:38:17 +11:00
Andrew Murray
2123dd70fb Allow append_images to set .icns scaled images 2018-03-19 19:38:07 +11:00
Hugo
4247de3604
Merge pull request #3046 from radarhere/winbuild
Fix msys64/mingw32 build
2018-03-18 11:09:54 +02:00
Andrew Murray
c192c47b02 Fixed msys64 build 2018-03-17 19:04:14 +11:00
Hugo
6e1b658e2d
Merge pull request #2988 from hugovk/appveyor-deploy
Fix AppVeyor master builds for forks
2018-03-16 08:39:12 +02:00
Hugo
e901a5a3e1
Update CHANGES.rst 2018-03-13 11:31:20 +02:00
Hugo
ddc9e73b47
Merge pull request #2965 from vashek/master
Support appending to existing PDFs
2018-03-13 11:30:25 +02:00
Hugo
265a8b7d3e
Update CHANGES.rst 2018-03-12 22:10:29 +02:00
Hugo
caf3ec5b04
Merge pull request #3004 from radarhere/icns
Fix and improve efficient saving of ICNS on macOS
2018-03-12 22:09:42 +02:00
hugovk
0b2a77e8e4 Use named version attribute 2018-03-12 10:37:18 +02:00
Hugo
13767f045f Use named version attributes and simplify version checks 2018-03-12 10:35:29 +02:00
Jerome Leclanche
ef546cd303 blp: Remove images with unclear licenses 2018-03-12 09:48:13 +02:00
Andrew Murray
6af53a7303 Improved efficient saving by copying the saved image, instead of saving the same image twice 2018-03-11 22:14:49 +11:00
Andrew Murray
de80b8f36b Fixed efficient saving 2018-03-11 22:01:06 +11:00
Hugo
aef98ef102
Update CHANGES.rst 2018-03-10 19:22:29 +02:00
Hugo
c214ab1fe7
Merge pull request #3036 from radarhere/libimagequant
Update libimagequant to 2.11.10
2018-03-10 19:19:57 +02:00
Andrew Murray
968a6a7ac0 Updated libimagequant to 2.11.10 2018-03-11 00:05:46 +11:00
Hugo
b9f688301a
Merge pull request #3026 from radarhere/health
Health fixes
2018-03-10 08:56:53 +02:00
Hugo
b25e8f7769
Merge pull request #3035 from radarhere/typos
Fix typos
2018-03-10 08:52:36 +02:00
Andrew Murray
c7427ae7f6 Fixed typos [ci skip] 2018-03-10 14:48:01 +11:00
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