Alex Clark ☺
19ad775140
Merge pull request #243 from kostya0shift/master
...
Better support for ICO files
2013-06-29 16:02:11 -07:00
Peter van Kampen
ad0a96c3fa
add test & comment
2013-06-23 15:22:31 +02:00
Peter van Kampen
c9faa9caa5
Fix for ZeroDivisionError in ImageOps.fit for image.size == (1,1)
2013-06-23 12:33:23 +02:00
kostya0shift
738a1dd777
Better support for ICO images
2013-06-05 21:01:05 +04: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
a9cb1281f4
fix Python 2 compatibility
2013-05-24 11:55:31 +02:00
wiredfool
2322619372
fixed deprecation warnings for tostring on array.array
2013-05-23 10:33:27 -07: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
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
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
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
wiredfool
310341cec7
merge from master
2013-05-13 09:17:52 -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
wiredfool
026f6bb61e
namespaced operation works when installed as a zipped egg using 'sudo python[3] setup.py easy_install -l --zip-ok .'
2013-04-15 10:57:37 -07:00
Sandro Mani
194370d89b
Fix some docstrings
2013-04-12 21:54:21 +02:00
wiredfool
b0fffd24a4
Merge branch 'master' of https://github.com/python-imaging/Pillow into namespaced
2013-04-09 12:08:13 -07: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
8295e33390
moved _webp into the PIL namespace
2013-04-08 21:53:59 -07:00
wiredfool
088c752e40
basic sanity check that the version of the _imaging.c and Image.py files are the same
2013-04-08 21:43:15 -07:00
wiredfool
7f698a6fc5
PIL imports work in python3/Ubuntu
2013-04-08 20:55:06 -07:00
wiredfool
c774f9ab4c
merged pull request #88 to master, resolved conflicts
2013-04-08 20:31:28 -07: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
Alex Clark ☺
62bb9aaaa2
Merge pull request #98 from wiredfool/g4_support
...
G4 Tiff support
2013-03-13 15:41:33 -07:00
Alex Clark ☺
bb186fe516
Merge pull request #96 from lqs/master
...
add support for webp
2013-03-13 04:39:42 -07:00
wiredfool
7226d0dc26
Merge branch 'master' into g4_support
2013-03-12 22:24:36 -07:00
Oliver Tonnhofer
2d478fe82a
fixed check for str with Python 3
2013-03-12 21:29:46 +01:00
Liu Qishuai
a49ea5d326
add support for webp
2013-03-12 22:30:59 +08:00
wiredfool
a3b4697965
typo
2013-03-11 22:04:34 -07:00
Oliver Tonnhofer
6a450e303d
reduce PNG palette size for images <255 colors
...
limit color and trancparency palette to 2^bits entries, when a PNG is
saved with the 'bits' PNG encoder option
2013-03-11 20:58:54 +01:00
Oliver Tonnhofer
6537ba19c3
backport PIL's PNG/Zip improvements
...
- add new FASTOCTREE quantizer with alpha support
- make ZIP compress level and type configurable
- support reading/writing PNGs with paletted alpha
source 3637439d51
2013-03-11 20:33:04 +01:00
Oliver Tonnhofer
c60bb09fcd
Revert "Added support for PNG images with transparency palette"
...
This reverts commit 5baa1ac1b8
.
2013-03-11 19:02:54 +01:00
Oliver Tonnhofer
1db3f9d53f
Revert "Fix KeyError in Tests/test_file_xpm.py"
...
This reverts commit b29326b175
.
2013-03-11 19:02:44 +01:00
wiredfool
4f2a1f9715
() for print, since we're using print_statement
2013-03-08 21:15:22 -08:00
wiredfool
5ba6564e26
initial merge of wiredfool/Python-Imaging-Library-G4-Tiff-Support
2013-03-08 19:51:59 -08:00
Alex Clark
6999860786
Revert "Use relative import for _imagingagg"
...
This reverts commit 34a5311e1b
.
2013-03-08 18:43:52 -05:00
Alex Clark
de077c9d37
Revert "Use relative import for _imagingtk"
...
This reverts commit 5820716eb3
.
2013-03-08 18:43:00 -05:00
Alex Clark
6e00a9c355
Revert "Use relative import for _imaginggl"
...
This reverts commit 5e203de327
.
2013-03-08 18:42:21 -05:00
Alex Clark
4546d26413
Revert "Better import for _imagingft"
...
This reverts commit 089a04bce1
.
2013-03-08 18:41:19 -05:00
Alex Clark
44d25a238c
Revert "Use relative import for _imagingcms"
...
This reverts commit 1003e4f7ee
.
2013-03-08 18:40:21 -05:00
Alex Clark
cbb93ac5bf
Revert "Use relative import for _imagingmath"
...
This reverts commit c731513318
.
2013-03-08 18:39:17 -05:00
Alex Clark
33f42c7fbd
Revert "Use relative import for _imaging"
...
This reverts commit aff6eccec5
.
2013-03-08 18:38:26 -05:00
Alex Clark
fd81ee9336
Fix imports
2013-03-08 17:39:50 -05:00
Christoph Gohlke
34a5311e1b
Use relative import for _imagingagg
2013-03-08 13:47:41 -08:00
Christoph Gohlke
5820716eb3
Use relative import for _imagingtk
2013-03-08 13:43:43 -08:00
Christoph Gohlke
c731513318
Use relative import for _imagingmath
2013-03-08 13:40:30 -08:00
Christoph Gohlke
5e203de327
Use relative import for _imaginggl
2013-03-08 13:38:37 -08:00
Christoph Gohlke
089a04bce1
Better import for _imagingft
2013-03-08 13:36:32 -08:00
Christoph Gohlke
1003e4f7ee
Use relative import for _imagingcms
2013-03-08 13:34:08 -08:00