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
Jason Douglas
b46cf52883
Fix 'for' loop initial declaration error
2017-09-26 21:45:25 -07:00
Jason Douglas
356da80686
Fix metadata test for python3
2017-09-26 20:46:35 -07:00
Jason Douglas
cd12a48fe0
- Support non-alpha modes with WebPAnimDecoder
...
- Support writing metadata chunks with WebPAnimEncoder
- Add XMP metadata support to legacy WebPEncode wrapper
- Cleanup unused mux code in legacy WebPDecode wrapper
- Fix some bugs present when compiled without WebP Mux support
- Fix conversion from L/P/PA modes when saving WebP files
- Update existing tests, and add new ones for WebP animation and metadata support
2017-09-26 20:27:40 -07:00
Jason Douglas
482d803717
Add support for reading animated WebP files
2017-09-26 02:58:54 -07:00
Jason Douglas
6e4766155d
Add support for writing animated webp files
2017-09-25 18:53:31 -07:00
Hugo
638e08c420
Docs: Spaces between versions for readability and consistency
2017-09-24 00:23:19 +03:00
hugovk
9344bd20dd
Move test_no_resource_warning_for_numpy_array to test_numpy so it can be skipped easily
2017-09-23 22:39:10 +03:00
hugovk
0b6691ecc9
A numpy failing test for ResourceWarning on Python 3
2017-09-23 22:36:53 +03:00
hugovk
cde8c1b560
Improve assert_warning() error message for warn_class=None
2017-09-23 22:36:42 +03:00
hugovk
77f0608c4e
Failing test for ResourceWarning on Python 3
2017-09-23 22:36:03 +03:00
Alexander
9db1b760e5
revert reverse order of blocks associated with the image
...
take alignment into account when calculating lines_per_block
2017-09-23 06:07:47 +03:00
Alexander
385963928f
make MS C compiler happy
2017-09-23 04:56:18 +03:00
Alexander
145180a105
fix alignment
2017-09-23 04:44:01 +03:00
Alexander
4b85230726
clear_cache: number or blocks to keep
2017-09-23 04:20:53 +03:00