Commit Graph

6801 Commits

Author SHA1 Message Date
Alexander
83530975e9 rename lines_remaining 2017-09-30 04:16:12 +03:00
Jason Douglas
c9258d6cdb Move some more declarations to top of block 2017-09-29 13:59:05 -07:00
Jason Douglas
e32fb4f777 Move variable declaration to top of block 2017-09-29 13:21:26 -07:00
wiredfool
281698796b Update CHANGES.rst [ci skip] 2017-09-29 15:43:02 +01:00
wiredfool
c052280b26 Merge pull request #2766 from hugovk/unfreeze-requirements.txt
Unfreeze requirements.txt
2017-09-29 15:40:17 +01:00
wiredfool
efe98726cf Merge pull request #2756 from hugovk/ResourceWarning-cherrypicked
ResourceWarning tests
2017-09-29 15:36:16 +01:00
wiredfool
fa8cef4208 Updage CHANGES.rst 2017-09-29 15:27:22 +01:00
wiredfool
fd8ee8437b Merge pull request #2315 from radarhere/is_animated
If n_frames is known, then use when determining is_animated
2017-09-29 15:26:22 +01:00
wiredfool
a8f750bd0a Update CHANGES.rst [ci skip] 2017-09-29 15:16:09 +01:00
wiredfool
684246d254 Merge pull request #2768 from radarhere/params
Corrected parameters in documentation
2017-09-29 15:15:36 +01:00
Eric Soroos
a4d48b6cf5 use raw pack/unpack instead of python math 2017-09-29 13:41:39 +00:00
Eric Soroos
7c629d7814 Added L;16/B pack functions 2017-09-29 13:41:39 +00:00
Eric Soroos
6816a9d4ce Removed test for YCbCr != 3 channels 2017-09-29 13:34:49 +00:00
Andrew Murray
1856d106ea Corrected parameters in documentation 2017-09-29 21:08:49 +10:00
Eric Soroos
779310a832 malloc checks, overflow and errors 2017-09-29 11:01:10 +00:00
Eric Soroos
2014cf69b8 16bpc write test 2017-09-29 10:41:42 +00:00
Eric Soroos
f699e0c716 removed debugging 2017-09-29 10:39:25 +00:00
Eric Soroos
4d50f2852c merge error 2017-09-29 09:41:26 +00:00
wiredfool
93f3a01dca Update CHANGES.rst [ci skip] 2017-09-29 10:22:05 +01:00
wiredfool
d727fdabe2 Merge pull request #2767 from wiredfool/pr_1891
Pr 1891
2017-09-29 10:17:57 +01:00
Mickael B
9e179c027c change uint32_t to UINT32 since stdint.h is not defined in old Visual C++ versions 2017-09-29 09:15:51 +00:00
Mickael B
e308adb9d6 add stdint.h for uint32_t definition 2017-09-29 09:15:45 +00:00
Mickael B
7fe23b39b9 store SgiRleDecoder elements in SGISTATE struct 2017-09-29 09:15:39 +00:00
Mickael B
c55b3aa402 fix compiler warnings 2017-09-29 09:15:32 +00:00
Mickael Bonfill
1ba6ff8a33 add support of python 3's bytearray 2017-09-29 09:15:26 +00:00
Mickael Bonfill
a422a28bb7 add unit tests 2017-09-29 09:15:21 +00:00
Mickael Bonfill
4b755d43ec Use file descriptor instead of chunks 2017-09-29 09:15:16 +00:00
Mickael Bonfill
c5565fc7f0 Fix RLE decompression by chunks 2017-09-29 09:14:51 +00:00
Mickael Bonfill
9caf8c5889 use UINT32 instead of ULONG 2017-09-29 09:13:55 +00:00
Mickael B
f833cd7f38 Avoid memory reallocation and support Y orientation in 16bits uncompressed read 2017-09-29 09:13:45 +00:00
Mickael B
bec76fdb42 Add uncompressed 16bits read for SGI Images 2017-09-29 09:13:37 +00:00
Mickael B
e162963064 avoid divisions to keep integer 2017-09-29 09:13:32 +00:00
Mickael B
bb889a59d6 fix integer for seek 2017-09-29 09:13:27 +00:00
Mickael B
6869431c2b fix variable initialization in loops 2017-09-29 09:13:22 +00:00
Mickael B
91c4c65693 delete raise call 2017-09-29 09:13:16 +00:00
Mickael B
a90dc49100 add RLE decompression for SGI images 2017-09-29 09:12:03 +00:00
Eric Soroos
a491500257 Rename _mutable to _ensure_mutable 2017-09-29 08:39:56 +00:00
Hugo
d3b25ca791 Unfreeze requirements.txt 2017-09-28 14:50:21 +03:00
Hugo
7c10f6341f Merge pull request #2765 from radarhere/decoder
Corrected documentation
2017-09-28 14:23:12 +03:00
Andrew Murray
7f1e83aa39 Corrected documentation 2017-09-28 21:03:15 +10:00
Jason Douglas
c5e6211936 Don't use unittest skip decorator, doesn't seem to work 2017-09-27 23:10:44 -07:00
Hugo
628137d415 Merge pull request #2757 from python-pillow/docs-readability
Docs: Spaces between versions for readability and consistency
2017-09-28 08:44:52 +03:00
Jason Douglas
acc4334291 - Fix _webp reference when _webp is not available
- HandleMuxError function needs to be tied to WEBP_HAVEMUX, not WEBP_HAVEANIM
2017-09-27 22:13:13 -07:00
Jason Douglas
405d1a64d8 - Fix incorrect pixel width in WebP RGBX import call
- Add a test to cover RGBX import
2017-09-27 21:22:05 -07:00
Jason Douglas
b3e90a37e9 Fix implicit function declaration warning 2017-09-27 21:20:03 -07:00
Jason Douglas
5b2dd29f44 Fix invalid_args test for older versions of libwebp 2017-09-27 20:21:18 -07:00
Jason Douglas
247c2f59a1 Use PyErr_* functions instead of fprintf for error handling in _webp.c 2017-09-27 20:12:10 -07:00
Jason Douglas
80b96246c4 Fix tests to support different output modes (RGB vs RGBX) 2017-09-27 19:28:43 -07:00
Jason Douglas
c18d26b04b - Conditonally compile animation support, only if the mux.h and demux.h headers meet the ABI version requirements
- Add WEBPMUX support back to WebPDecode_wrapper (to support older versions of libwebp that have mux support, but not animation)
- Add HAVE_WEBPANIM flag, and use it appropriately
- Update documentation / tests
2017-09-27 19:04:24 -07:00
Jason Douglas
e534991409 - Styling changes to be C89-conformant
- Change WebPAnimEncoder/Decoder to use RGBX mode instead of RGB (since internally it is using RGBA always)
2017-09-27 17:10:25 -07:00