Commit Graph

32 Commits

Author SHA1 Message Date
homm
503da57b6e do not use loseless abi until it supported 2014-01-17 17:24:52 +04:00
Cezar Sa Espinola
2729401cc3 Fixed memory leak saving images as webp when webpmux is available 2013-11-29 14:33:57 -02:00
wiredfool
a18ef74886 pass bool flag as int, not object 2013-10-20 20:54:12 -07:00
Dan McDougall
0a91541df8 Add support for saving lossless WebP. Just pass 'lossless=True' to save(). 2013-10-20 15:44:22 -04:00
wiredfool
cbfae86f24 Rework of the removal of the Py_ssize_t patch. Explictly downcast the py_ssize_t to ints rather than rely on ints coming back from PyArg_ParseTuple 2013-10-04 11:29:01 -07:00
Christoph Gohlke
c9f7efa79d Restore compatibilty with ANSI C again 2013-10-03 19:30:07 -07:00
wiredfool
5ac92bbbf1 64 bit clean sizes to pass webp_metadata tests on PyPy 2.1.0 2013-10-02 12:04:16 -07:00
Alex Clark ☺
5e1e2fb203 Merge pull request #289 from cgohlke/patch-3
Restore compatibility with ISO C
2013-07-14 03:07:43 -07:00
Christoph Gohlke
61879e217d Restore compatibility with ISO C 2013-07-13 20:26:12 -07:00
Christoph Gohlke
ca404aed61 Use correct format character for C int type 2013-07-13 18:45:28 -07:00
Bernardo Heynemann
b4735f7829 Adding support for metadata in webp images.
Pillow now uses the webpmux library to envelop the webp images in RIFF. This allows for easy support of exif and icc_profile metadata.

Also included tests that verify compatibility with jpeg for exif and icc_profile metadata.

If the user does not have webp with webpmux enabled, pillow will fall back to the previous approach, meaning no exif or icc_profile metadata will be read or written to.
2013-07-04 18:04:07 -03:00
Alex Clark
bb1b3a532c Cleanup WS, courtesy of @Arfrever
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
Christoph Gohlke
d2cb7a126b BUG: Fix webp encode errors on win-amd64 2013-06-29 14:05:48 -07:00
wiredfool
a7d778eba4 added free buffer if there's a problem decoding 2013-05-16 10:45:47 -07:00
wiredfool
89b6820530 checking raw image length, cleanup and DRY 2013-05-15 17:04:17 -07:00
wiredfool
11a0fb5f76 consolidated to WebPEncode_wrapper 2013-05-15 16:56:59 -07:00
wiredfool
a235a69d0c removed WebPGetFeatures_wrapper, as it's not used from python anymore 2013-05-15 16:39:01 -07:00
wiredfool
94239540db fixing deferring the rgba tests, whitespace 2013-05-13 22:21:52 -07:00
wiredfool
21e3fd2eb7 untabified whitespace 2013-05-13 21:47:35 -07:00
wiredfool
9ac38c1a3a using the Py_RETURN_NONE macro 2013-05-13 21:46:50 -07:00
wiredfool
a7488d287e py3k -- PyUnicode_FromString instead of PyString_fromString 2013-05-13 21:43:13 -07:00
wiredfool
014ca1497d versions, feature checking 2013-05-13 21:28:18 -07:00
wiredfool
0472b91d16 really working webp alpha decoding 2013-05-13 21:27:41 -07:00
wiredfool
b52c22316f inprogress, sorta working 2013-05-13 20:50:10 -07:00
wiredfool
4852aa5b65 working WebPGetFeatures 2013-05-13 11:30:19 -07:00
Euan Goddard
5a0308cc19 Partial work to add a wrapper for WebPGetFeatures to correctly support #204 2013-05-13 17:02:36 +01:00
Euan Goddard
1344610a52 Added support for alpha transparent webp images #204 2013-05-13 17:01:42 +01:00
Sandro Mani
c42e41a7dd Fix warning: function declaration isn't a prototype 2013-04-13 00:28:26 +02:00
Sandro Mani
6c013c2d97 Fix warnings: passing argument from incompatible pointer type, pointer targets differ in signedness, unused variable 2013-04-12 17:54:21 +02:00
Christoph Gohlke
c768e793a4 Port _webp.c to Python 3 2013-03-13 19:37:00 -07:00
Christoph Gohlke
c3dae62779 Make _webp.c compatible with msvc 2013-03-13 17:42:26 -07:00
Liu Qishuai
a49ea5d326 add support for webp 2013-03-12 22:30:59 +08:00