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
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
158cdbe8db
Enabling cleanup
...
Enabling the cleanup call in ImageFile.load
2013-05-16 08:32:24 -06:00
wiredfool
f6381ba00c
Added cleanup method to prevent memory leaks from truncated jpeg decodes
2013-05-15 21:16:37 -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
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
071b8e6b46
Merge branch 'master' into maxblock
2013-05-14 20:37:21 -07:00
wiredfool
b52c22316f
inprogress, sorta working
2013-05-13 20:50:10 -07:00
wiredfool
3273b0c4b9
Merge branch 'master' of https://github.com/euangoddard/Pillow into weba_transparent
2013-05-13 09:54:34 -07:00
Euan Goddard
1344610a52
Added support for alpha transparent webp images #204
2013-05-13 17:01:42 +01:00
Angel Nunez Mencias
4e9a8ef7d7
Use the JPEG Plugin save instead of calling the ImageFile directly
2013-05-12 02:34:07 +02:00
Matti Picus
af94b45cbc
allow integer image resolution as well as rational
2013-05-07 23:33:21 +03:00
Matti Picus
5ca04bb728
a test that fails for images with integer resolution
2013-05-07 23:23:51 +03:00
wiredfool
39c62f76ab
Buffer lifetime needs to be the same as the font lifetime
2013-04-25 21:17:58 -07:00
Nicolas Pieuchot
028e63865e
Changing bytes variable name not to squeeze bytes type
2013-04-25 23:03:37 +02:00
Nicolas Pieuchot
4d136d94ce
Better unity with Image.py file (on string type testing and warnings)
2013-04-25 22:32:43 +02:00
Nicolas Pieuchot
282562ec19
Adding Python3 basestring compatibility without changing basestring
2013-04-25 22:03:37 +02:00
Nicolas Pieuchot
f1c245c9c5
Deprecation message correction
2013-04-25 21:10:42 +02:00
Nicolas Pieuchot
af72132349
Correction of the unbufferizing
2013-04-25 20:57:13 +02:00
Nicolas Pieuchot
450a068ccb
Removing buffer from imagefont
2013-04-25 18:48:43 +02:00
Nicolas Pieuchot
ed9945c71f
Allowing to pass font as file-like objects
2013-04-22 11:48:06 +02:00
Sandro Mani
194370d89b
Fix some docstrings
2013-04-12 21:54:21 +02:00
David Schmidt
836e3e05d8
create a palette before converting transparent L-Mode to RGBA
...
fixes #154
2013-04-09 13:21:38 +02:00
wiredfool
7200c40ada
s/tabs/spaces/
2013-04-05 15:57:07 -07:00
wiredfool
a4a856b58a
large exif segments
2013-04-05 15:36:48 -07:00
wiredfool
7129baa9b2
fix for if isinstance(filter, collections.Callable) crash. Python bug #7624 on <2.6.6
2013-03-27 09:44:54 -07:00
Ronald Oussoren
f50feb592b
Explitly import JpegPresets from the PIL package
2013-03-26 13:36:13 +01:00
wiredfool
2a743c9527
JpegImagePlugin sets bufsize for optimized images
2013-03-22 22:27:12 -07:00
David Schmidt
511adfacf7
fix png decode tRNS pattern
2013-03-21 21:00:25 +01:00
David Schmidt
ecd55629be
fix indention
2013-03-21 18:47:37 +01:00
David Schmidt
1a40613ca5
fix indention
2013-03-21 18:43:22 +01:00
David Schmidt
09315f263b
fixing save of transparency palette png-images
2013-03-21 18:16:00 +01:00
David Schmidt
1ff2b6630a
fixed bug with png-images with transparency palette
2013-03-21 16:54:04 +01:00
wiredfool
754eb19d9d
Fixing deprecation warning on py26
2013-03-19 13:53:37 -07:00
Christoph Gohlke
1f41e25b4f
Fix AttributeError: 'module' object has no attribute 'isNumberType'
2013-03-16 09:16:54 -07:00
wiredfool
1540d46ca9
support for the differences between StringIO and BytesIO
2013-03-14 10:36:15 -07:00
Alex Clark ☺
ae45b38286
Merge pull request #112 from cgohlke/patch-9
...
Support uint32 TIFF
2013-03-14 03:55:14 -07:00
Christoph Gohlke
64c25bcf89
Compare prefix to byte strings
2013-03-13 23:28:30 -07:00
Christoph Gohlke
dbfaff5673
Support uint32 TIFF
2013-03-13 21:08:24 -07:00
Christoph Gohlke
b9b6972097
Use BytesIO instead of StringIO
2013-03-13 19:42:21 -07:00
Christoph Gohlke
a26d7b6261
Decode bytestr instead of str
2013-03-13 19:18:40 -07:00
Christoph Gohlke
0df7744845
Fix imports
2013-03-13 19:03:38 -07:00
Alex Clark ☺
8ee5dc3056
Merge pull request #106 from cgohlke/patch-4
...
Better import of _imagingagg and ImageDraw2
2013-03-13 18:03:30 -07:00
Christoph Gohlke
a442d5fa06
Better import of _imagingagg and ImageDraw2
2013-03-13 18:01:15 -07:00
Alex Clark ☺
6c565e980f
Merge pull request #105 from cgohlke/patch-3
...
Better import of Tkinter
2013-03-13 18:00:38 -07:00
Christoph Gohlke
706812ec87
Better import of Tkinter
2013-03-13 17:58:11 -07:00
Christoph Gohlke
4985d96d03
Better import of _imagingft
2013-03-13 17:56:33 -07:00