Commit Graph

6756 Commits

Author SHA1 Message Date
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
Alexander
6a435793d8 fallback to small block size on memory error
increase default block size to previous value
2017-09-23 04:15:19 +03:00
Alexander
b51d77e4e5 Merge branch 'master' into block-storage
# Conflicts:
#	docs/releasenotes/4.3.0.rst
2017-09-23 04:07:09 +03:00
wiredfool
04c96f6030 Update CHANGES.rst [ci skip] 2017-09-22 16:02:44 +01:00
wiredfool
b8d6fd57fa Merge pull request #1860 from radarhere/register_extensions
Added register_extensions method
2017-09-22 15:59:04 +01:00
wiredfool
6198422383 Merge pull request #2748 from wiredfool/i16s
Fix TIFF support for I;16S, I;16BS, and I;32BS rawmodes
2017-09-22 15:57:56 +01:00
wiredfool
2fa09fe0e0 Merge pull request #2752 from radarhere/docs
Corrected docs syntax
2017-09-22 15:57:18 +01:00
Andrew Murray
7e980d4897 Corrected docs syntax 2017-09-22 20:29:20 +10:00
wiredfool
180342400a Merge pull request #2750 from wiredfool/docs
Install/Release notes update
2017-09-20 13:58:23 +01:00
Eric Soroos
6e2010e7fd speling 2017-09-20 11:17:46 +00:00
Eric Soroos
8172fa710b Updated release notes 2017-09-20 10:54:59 +00:00
Eric Soroos
dc327121f1 formatting 2017-09-20 10:49:47 +00:00
Eric Soroos
ba101e4e62 Fix docstring error 2017-09-20 10:49:14 +00:00
Eric Soroos
505eb799ba fixed doc formatting error 2017-09-20 10:47:35 +00:00
Eric Soroos
997e108946 Deprecated easy_install in instructions 2017-09-20 10:09:15 +00:00
Eric Soroos
0c248c68f2 platform changes 2017-09-20 10:08:53 +00:00
Eric Soroos
a89c4e455d Target mode is I, check pixels 2017-09-20 09:26:40 +00:00
Eric Soroos
60cbe9fe44 I;16(B)S and I;32BS aren't modes, they're rawmodes 2017-09-20 09:26:14 +00:00
Andrew Murray
4087479464 Added test image 2017-09-20 09:04:48 +00:00
wiredfool
fd67647901 Updage CHANGES.rst [ci skip] 2017-09-20 09:58:01 +01:00
wiredfool
2479019241 Merge pull request #2746 from wiredfool/msys2
Changes to cleanly compile on windows/msys2
2017-09-20 09:57:29 +01:00
Eric Soroos
5c77fbb29f test mingw 2017-09-19 21:19:18 +00:00
Eric Soroos
973787e240 flags to fix building on mingw 2017-09-19 21:19:03 +00:00
Alexander Karpinsky
e11b47858c Merge pull request #2737 from uploadcare/imaging-copy-palette-info
Rename ImagingCopyInfo to ImagingCopyPalette
2017-09-19 21:43:37 +03:00
Alexander
a78e92356f Merge branch 'master' into block-storage 2017-09-19 21:08:21 +03:00
Alexander
ecfc10d002 oops 2017-09-19 21:01:34 +03:00
Alexander
bca70a743d Merge branch 'master' into imaging-copy-palette-info 2017-09-19 20:51:52 +03:00
Alexander
bda6d1e588 rename ImagingCopyPaletteInfo to ImagingCopyPalette 2017-09-19 20:42:13 +03:00
wiredfool
bbf1c3a52c Updage CHANGES.rst [ci skip] 2017-09-19 14:27:25 +01:00
wiredfool
a0ce5740d5 Merge pull request #2719 from wiredfool/issue_2278
Fixes for Issues #2278 and #2006, value error in exif/tiff ifd
2017-09-19 14:26:29 +01:00
Andrew Murray
d8c088ed8b If image is already in the destination mode and there is no matrix, do not convert 2017-09-19 21:11:04 +10:00
Andrew Murray
411765a69c Added _mutable method for common code 2017-09-19 21:11:04 +10:00