Commit Graph

5696 Commits

Author SHA1 Message Date
matt
53c9a80d1b Changed equals method on Image so it short circuits. Also put getpalette() and tobytes() comparison at the end because they are the slowest operations. 2016-06-19 17:44:24 -04:00
wiredfool
9fb00976fc Merge pull request #1962 from radarhere/colormap
Added new colour from CSS 4 draft
2016-06-19 09:56:55 +01:00
Hugo
aa9035ded8 Merge pull request #1964 from radarhere/spiderimageplugin
Change SpiderImagePlugin register and save calls to use format property
2016-06-19 10:20:45 +03:00
Andrew Murray
879aeb9b3a Changed SpiderImagePlugin register and save calls to use format property 2016-06-19 15:13:02 +10:00
Hugo
d378508905 Merge pull request #1963 from radarhere/del
Replaced del with pop
2016-06-18 22:12:49 +03:00
Andrew Murray
86828ffd2a Replaced del with pop 2016-06-18 11:25:39 +10:00
Andrew Murray
7882a79cf5 Added new colour from CSS 4 draft 2016-06-17 21:07:25 +10:00
wiredfool
95f464f827 removed redundant check 2016-06-16 01:09:38 -07:00
wiredfool
8aedf8b1d8 added comment closer to malloc 2016-06-16 01:07:28 -07:00
wiredfool
ce57e6adfb We're not actually multiplying out the bytes, only the indexes 2016-06-16 01:06:28 -07:00
wiredfool
d0ae5bc75e added check to prevent arcs > 360 degrees 2016-06-16 01:05:41 -07:00
wiredfool
b0ec525976 extraneous space 2016-06-16 00:52:12 -07:00
Hugo
dc5c0d303c Merge pull request #1956 from python-pillow/radarhere-patch-1
Fixed typo
2016-06-15 13:59:44 +03:00
Andrew Murray
5b20e23e4c Fixed typo [ci skip] 2016-06-15 20:55:40 +10:00
Andrew Murray
3eb7eb4788 Fixed typo [ci skip] 2016-06-15 20:50:26 +10:00
homm
78fad0f819 Do not make unnecessary passes on resizing 2016-06-15 01:04:02 +03:00
wiredfool
b3591351f6 Updated release notes [ci skip]
removed --disable-osx-tcltk-frameworks
2016-06-11 15:45:00 +01:00
wiredfool
f3f3d3c40b Updated Changes.rst [ci skip] 2016-06-11 15:43:53 +01:00
wiredfool
ff584b926d Updated Changes.rst [ci skip] 2016-06-11 15:43:35 +01:00
wiredfool
501cb3f17d Merge pull request #1947 from wiredfool/revert_1883
Revert "docs for new --disable-osx-tclck-frameworks option"
2016-06-11 15:42:48 +01:00
wiredfool
e26cb747d2 Revert "docs for new setup.py option"
This reverts commit da62f7c25b.
2016-06-11 07:39:33 -07:00
wiredfool
e2302bb0c9 Updated Changes.rst [ci skip] 2016-06-11 15:32:11 +01:00
wiredfool
eb28cc9d0f Merge pull request #1932 from matthew-brett/run-time-tcl-tk
RF: run-time loading of Tcl / Tk functions
2016-06-11 15:27:29 +01:00
wiredfool
ebd3c35de5 Merge pull request #1941 from uploadcare/cleanup-transforms
Cleanup transforms
2016-06-11 15:25:34 +01:00
wiredfool
c6489e6fb7 bytearray as preferred palette storage 2016-06-09 22:32:16 +01:00
Andrew Murray
3c2e374824 Added test 2016-06-09 22:28:29 +01:00
Andrew Murray
4f6f5f9182 Changed int conversion in ImagePalette to ord for Python 2 2016-06-09 22:28:29 +01:00
homm
78242e4acd remove stale comment 2016-06-08 16:47:26 +03:00
wiredfool
92a13d975d Malloc check merge/rebase 2016-06-08 06:25:46 -07:00
wiredfool
76605634e6 MSVC doesn't define UINT32_MAX 2016-06-08 06:25:46 -07:00
wiredfool
5369d8edd7 Replace SIZE_MAX with type specific _MAX 2016-06-08 06:21:38 -07:00
wiredfool
54a979749c Rework block allocator 2016-06-08 06:21:38 -07:00
wiredfool
768936fa33 overflow check for im->linesize 2016-06-08 06:21:38 -07:00
wiredfool
d48e5cd500 Convert xsize/ysize to ints in function declarations to match all other uses of xsize/ysize 2016-06-08 06:21:38 -07:00
wiredfool
49566b287e added cleanup to free dictionary memory in ZipEncode, fixes old comment about leaking memory from prior to when we had the cleanup mechanisim 2016-06-08 06:21:38 -07:00
wiredfool
4b4ef5f1e2 Malloc check, realloc, #1715 2016-06-08 06:21:38 -07:00
wiredfool
52d60cd096 Malloc check, #1715 2016-06-08 06:21:38 -07:00
wiredfool
c589ae6bcf Change return type of PyPath_Flatten to Py_ssize_t to match PyObject_Length 2016-06-08 06:21:38 -07:00
wiredfool
b1a190ad78 mixed 8c tabs+spaces -> spaces 2016-06-08 06:21:38 -07:00
wiredfool
ac6e86765d Updated Changes.rst [ci skip] 2016-06-08 14:17:56 +01:00
homm
3d622d60cf make perspecive transform arguments order more common 2016-06-08 16:17:41 +03:00
homm
2b77b1cec7 make affine transform arguments order more common 2016-06-08 16:17:41 +03:00
homm
4cfc791a5b remove unused filter_data 2016-06-08 16:17:41 +03:00
homm
bc51928171 move ImagingCopyInfo after affine_fixed 2016-06-08 16:17:41 +03:00
homm
9902d2e1c5 move transform dispatcher into libImaging 2016-06-08 16:17:41 +03:00
homm
2e914af758 unused 2016-06-08 16:17:41 +03:00
homm
6be3df2a43 remove internal ImagingTransform from headers
rename to ImagingGenericTransform
2016-06-08 16:17:41 +03:00
homm
1f8c2527ba internal rotating functions not used anymore 2016-06-08 16:17:41 +03:00
homm
709078efd1 use one self.transform for rotation 2016-06-08 16:17:41 +03:00
homm
7687ce829e round results of sin and cos functions because there is no possible
float-point value of radians which cos will exactly 0.
2016-06-08 16:17:41 +03:00