Commit Graph

16450 Commits

Author SHA1 Message Date
wiredfool
b3752ca053 merge from master 2013-05-21 21:29:58 -07:00
wiredfool
587b9a79d8 ducktype the array_interface obj to see if it provides tobytes or tostring 2013-05-21 21:04:22 -07:00
Matt Davis
c3d6b05d10 Adding a test of fromarray that exercises the if strides is not None block. 2013-05-21 21:55:58 -04:00
Alex Clark
cb28745049 Wording 2013-05-21 17:44:21 -04:00
Matt Davis
1082173030 Fix Image.fromarray with NumPy arrays
Image.fromarray attempts to call a method called `tobytes()` on the passed in object, but NumPy arrays don't have a `tobytes()` method, they have a `tostring()` method. (See http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.tostring.html).

I think this was changed accidentally in a Python 3 compatibility update in which this call was confused with the `tobytes` and `frombytes` methods of Image objects.
2013-05-21 18:35:11 -03:00
Alex Clark ☺
1c3ff8857a Merge pull request #220 from wiredfool/weba_transparent
Transparent WebP Support, #204
2013-05-16 12:49:02 -07:00
Alex Clark ☺
aea9570a2c Merge pull request #221 from wiredfool/jpeg_memoryleak
Jpeg Decode memory leak fix.
2013-05-16 12:42:45 -07:00
wiredfool
a7d778eba4 added free buffer if there's a problem decoding 2013-05-16 10:45:47 -07:00
wiredfool
158cdbe8db Enabling cleanup
Enabling the cleanup call in ImageFile.load
2013-05-16 08:32:24 -06:00
wiredfool
5c51ae02f3 Merge pull request #219 from wiredfool/maxblock
Fixing buffer size for JPEGs with large exif
2013-05-15 21:28:52 -07:00
wiredfool
f6381ba00c Added cleanup method to prevent memory leaks from truncated jpeg decodes 2013-05-15 21:16:37 -07:00
wiredfool
c4a040d069 Whitespace, 8 space tabs -> 4 spaces 2013-05-15 21:15:24 -07:00
wiredfool
601ff3bd2f Whitespace, 8 space tabs -> 4 spaces 2013-05-15 21:14:03 -07:00
wiredfool
454a914b56 Whitespace, 8 space tabs -> 4 spaces 2013-05-15 19:57:45 -07:00
wiredfool
5712126d3c Noted tested versions of libwebp 2013-05-15 18:42:45 -07:00
wiredfool
a5499170f9 Feature for transparent webp 2013-05-15 17:22:41 -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
Alex Clark
596a4ef1a3 Move note 2013-05-15 16:54:49 -04:00
wiredfool
37359369ce Code to ensure buffer space for exif write and jpeg_write_scanline calls, tests, corrected buffer length calculation 2013-05-14 22:29:31 -07:00
wiredfool
11ce826121 mixed 8 char tabs & spaces -> spaces 2013-05-14 20:45:07 -07:00
wiredfool
071b8e6b46 Merge branch 'master' into maxblock 2013-05-14 20:37:21 -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
wiredfool
3273b0c4b9 Merge branch 'master' of https://github.com/euangoddard/Pillow into weba_transparent 2013-05-13 09:54:34 -07:00
wiredfool
310341cec7 merge from master 2013-05-13 09:17:52 -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
Alex Clark
a2663641b6 Wording 2013-05-11 20:55:06 -04:00
Alex Clark
637b276337 Add links 2013-05-11 20:51:46 -04:00
Alex Clark
9444a3f97b Styling 2013-05-11 20:46:51 -04:00
Alex Clark ☺
72b94cbb94 Merge pull request #217 from angelnu/master
PdfImagePlugin: call JpegImagePlugin._save instead of FileImage
2013-05-11 17:44:56 -07:00
Angel Nunez Mencias
4e9a8ef7d7 Use the JPEG Plugin save instead of calling the ImageFile directly 2013-05-12 02:34:07 +02:00
Alex Clark
d6d68dfc98 Wording 2013-05-11 20:25:51 -04:00
Alex Clark
18ae40c561 Styling 2013-05-11 20:25:28 -04:00
Alex Clark
7f43e99d36 Wording 2013-05-11 20:22:07 -04:00
Alex Clark
e1e19608b0 Wording 2013-05-11 20:20:52 -04:00
Alex Clark
8a657e1949 Wording 2013-05-11 20:20:20 -04:00
Alex Clark
d95162920a Wording 2013-05-11 20:19:21 -04:00
Alex Clark
f5c5e4621b Bump 2013-05-11 20:14:48 -04:00
Alex Clark
717b9599a3 Bump 2013-05-11 20:13:16 -04:00
Alex Clark
9f71e960a3 Merge branch 'master' of github.com:python-imaging/Pillow 2013-05-11 20:12:51 -04:00
Alex Clark
5d38c76899 Clean up SETUP SUMMARY; remove PIL_VERSION 2013-05-11 20:12:27 -04:00