Alex Clark ☺
ae7edfa58d
Merge pull request #441 from wiredfool/lut
...
Image.point fixes for numpy.array and docs
2013-12-28 06:08:08 -08:00
Alex Clark ☺
d48f301d57
Merge pull request #423 from wiredfool/trns-png
...
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
wiredfool
4791d156f1
Comments/Docs, fixes #440
2013-12-10 16:05:05 -08:00
wiredfool
d05b5d9060
Restore numpy.array as valid lookup tables
2013-12-10 15:47:26 -08:00
Alex Clark ☺
eebb8c2a97
Merge pull request #408 from wiredfool/convert_doc
...
Image.convert mode 1 documentation update.
2013-11-29 15:15:23 -08:00
wiredfool
0356741a29
Now using the rgbT2rgba conversion for L+transparency to RGBA, dropping the palette hack
2013-11-26 13:04:10 -08:00
wiredfool
c546c5a4c0
Added conversion for RGB+Transparency to RGBA that adds an alpha mask corresponding to the transparency value, fixes #421
2013-11-26 12:24:19 -08:00
wiredfool
18ced74c06
Image.convert mode 1 documentation update. Fixes #407
2013-11-12 22:42:06 -08:00
David Schmidt
06301c9eba
don't create a new palette on Image._new if one already exists (i.e. after im.copy())
2013-11-12 14:41:35 +01:00
Eric Soroos
175c572432
I;16 images are little endian, not native endian
2013-10-19 03:28:31 +00:00
Alex Clark ☺
55a0792815
Merge pull request #380 from wiredfool/lcms2
...
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
wiredfool
ace78d0734
Lab is Uint, Int, Int. Tests failing
2013-10-11 23:31:47 -07:00
Stephen Johnson
b533aa665e
Fix many formatting mistakes in PIL.Image's docstrings
2013-10-11 22:18:40 -07:00
wiredfool
1c3932e89f
Added LAB mode, core dumped
2013-10-10 23:27:34 -07:00
wiredfool
10214bc6c4
Premultiply RGBA images prior to transform and resize and undo after
2013-10-04 13:25:32 -07:00
Christoph Gohlke
9bff0b14e0
Add numpy array interface support for 16 and 32 bit integer modes
2013-09-29 19:30:43 -07:00
Alex Clark ☺
e5279a284b
Merge pull request #325 from manisandro/bytearray
...
Fix bytes which should be bytearray
2013-08-29 02:14:49 -07:00
Sandro Mani
1c4734b6bb
Make bytePalette read-only buffer
2013-08-28 20:44:27 +02:00
Sandro Mani
4be146cf27
Fix bytes which should be bytearray
2013-08-28 20:18:13 +02:00
wiredfool
e3e0638a5f
Fail fast if there's an import error on _imaging
2013-07-23 10:17:15 -07:00
Freek Dijkstra
d24a419299
Warnings if imaging library has wrong UCS support.
...
Raise exceptions for unknown errors.
2013-07-23 10:44:27 +02:00
Felipe Reyes
15eac684c4
Moved Image module docs from comments to docstrings
2013-07-09 15:12:28 -04:00
Felipe Reyes
25b6371b75
Moved PIL.Image.Image docs from comments to docstrings
2013-07-09 10:32:14 -04:00
Alex Clark
f56facb0c1
Clean up
2013-06-30 15:21:37 -04:00
Alex Clark
fd29e707e9
Apply @Arfrever patch, fixes #258
2013-06-30 07:04:42 -04: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
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
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
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
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
Oliver Tonnhofer
2d478fe82a
fixed check for str with Python 3
2013-03-12 21:29:46 +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
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
aff6eccec5
Use relative import for _imaging
2013-03-08 13:30:41 -08:00
Alex Clark
b29326b175
Fix KeyError in Tests/test_file_xpm.py
2013-03-07 15:20:52 -05:00
Alex Clark
3020c16eaa
Fix imports
2013-03-07 11:20:28 -05:00
Mikhail Korobov
c59c6609f3
Restore fromstring & tostring aliases in 3.x
2013-03-07 15:23:40 +06:00
Alex Clark ☺
001a1521cb
Merge pull request #64 from kmike/master
...
Testing improvements and better Python 3.x support
2013-03-05 12:11:07 -08:00
Alex Clark ☺
d097fa068c
Merge pull request #56 from cgohlke/patch-4
...
BUG: PIL Image array interface has the wrong size for YCbCr
2013-03-05 12:02:05 -08:00
Mikhail Korobov
aacb8097c3
better warning messages for fromstring/tostring
2013-02-26 16:19:35 +06:00
Christoph Gohlke
bb07471d2e
BUG: PIL Image array interface has the wrong size for YCbCr
2013-02-13 19:52:32 -08:00
David Schmidt
5baa1ac1b8
Added support for PNG images with transparency palette
2013-02-01 17:52:22 +01:00
Brian J. Crowell
c952134e00
py3k: Issue warnings when using the old fromstring/tostring
...
...although, you have to turn on deprecation warnings specifically in order
to get them.
2013-01-10 08:47:05 -06:00