Alex Clark ☺
8ce6ab323b
Merge pull request #231 from cgohlke/patch-2
...
Fix msvc compile errors (issue #230 )
2013-05-24 10:24:32 -07:00
Christoph Gohlke
df31b3d53e
Fix msvc compile errors (issue #230 )
2013-05-24 11:19:51 -06:00
wiredfool
aad417dcbe
Merge pull request #229 from wiredfool/warnings
...
Fixing and Suppressing warnings revealed in #227
2013-05-24 08:36:57 -07:00
Alex Clark ☺
5c11e27a97
Merge pull request #228 from d-schmidt/master
...
working gif optimization
2013-05-24 05:59:23 -07:00
David Schmidt
b66d888b0e
adjust the transparency index after successful optimize
...
skip transparency block if transparent color is not used after optimize
2013-05-24 13:12:40 +02:00
David Schmidt
71b30352d9
limit custom palette size
2013-05-24 13:16:16 +03:00
David Schmidt
4107ca3de0
Merge branch 'master' of https://github.com/d-schmidt/Pillow
2013-05-24 11:55:58 +02:00
David Schmidt
a9cb1281f4
fix Python 2 compatibility
2013-05-24 11:55:31 +02:00
wiredfool
ab0fe89131
Supressing ResourceWarnings for unclosed files in the test suite. Revert me when fixed
2013-05-23 10:44:09 -07:00
wiredfool
2322619372
fixed deprecation warnings for tostring on array.array
2013-05-23 10:33:27 -07:00
David Schmidt
65266a7419
Update test_file_gif.py
...
remove warning
2013-05-23 20:02:19 +03:00
David Schmidt
d78371cccd
remove a float/int problem
2013-05-23 19:45:39 +03:00
David Schmidt
12cea19280
a break
2013-05-23 15:45:11 +02:00
David Schmidt
dad5e86226
fix gif test, fix gif optimization for palette length < 3
2013-05-23 15:24:06 +02:00
Alex Clark ☺
a9fd1f4a94
Merge pull request #225 from wiredfool/pr224
...
Fix Image.fromarray with NumPy arrays: Supersedes PR #224
2013-05-23 05:51:58 -07:00
Alex Clark ☺
258cf5300d
Merge pull request #191 from wiredfool/namespaced
...
Changes to put everything under the PIL namespace
2013-05-23 05:51:36 -07:00
David Schmidt
5cd1b9f01e
minor addition
2013-05-23 14:31:48 +02:00
David Schmidt
a466b3e099
fixes #211
...
replace the gif optimization with a working version
2013-05-23 14:06:09 +02:00
wiredfool
c84a77bae7
Merge pull request #227 from wiredfool/warnings
...
Enable warnings for test suite
2013-05-22 09:28:37 -07:00
wiredfool
94d9218dd0
enable warnings for test suite
2013-05-22 09:26:41 -07:00
wiredfool
baba2810ae
version updates
2013-05-21 21:46:36 -07:00
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