Commit Graph

6521 Commits

Author SHA1 Message Date
Jason Douglas
cf31e70735 Fixing a typo in comments 2017-10-03 08:05:20 -07:00
Jason Douglas
b3565d8ae3 Merge branch 'animated_webp' of https://github.com/monolithlabs/Pillow into animated_webp 2017-10-01 15:27:03 -07:00
Jason Douglas
28bec69e98 - flake8 formatting fixes
- webp => WebP doc and comment changes
2017-10-01 15:23:18 -07:00
Jason
8e207d5ca5 Merge pull request #1 from hugovk/monolithlabs-animated_webp-sprintf
Avoid 'Symbol not found: _sprintf_s' on 'from PIL import _webp'
2017-10-01 14:36:00 -07:00
hugovk
e75c386760 Avoid 'Symbol not found: _sprintf_s' on 'from PIL import _webp' 2017-09-30 19:47:20 +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
Jason Douglas
c5e6211936 Don't use unittest skip decorator, doesn't seem to work 2017-09-27 23:10:44 -07: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
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
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
Eric Soroos
c12b9fb4dc added test for metadata count warning 2017-09-19 10:35:14 +00:00
wiredfool
e5513804a3 Merge pull request #2709 from uploadcare/alpha-composite-box
Alpha composite fixes
2017-09-19 11:13:19 +01:00
wiredfool
bcdc23c3ba Update CHANGES.rst [ci skip] 2017-09-19 11:12:57 +01:00