Commit Graph

1963 Commits

Author SHA1 Message Date
Hugo
33592b4f73 No need to import sys 2018-05-17 23:21:47 +03:00
Hugo
d524664215 Re-enable test for PyPy, we're long past 5.3.1 2018-05-17 22:18:33 +03:00
Hugo
90ab677d44 Re-enable test for PyPy 2018-05-17 22:18:18 +03:00
Andrew Murray
1c88afe5c0 Changed OS X references to macOS 2018-05-13 20:55:04 +10:00
Andrew Murray
c38f25a876 Corrected documentation syntax 2018-05-13 20:52:11 +10:00
Hugo
e33dd498f5 Prefer more conventional __version__ rather than PILLOW_VERSION 2018-04-25 11:21:38 +03:00
Alexander
997e554593 Revert ValueErrors to RuntimeErrors in ImageMorph module 2018-04-22 20:52:38 +03:00
Alexander Karpinsky
dddeecc945
Merge pull request #3055 from uploadcare/imagemorph-type-check
Fix incorrect image type checking in _imagingmorph module
2018-04-22 20:10:34 +03:00
Alexander
101c095e99 Add tests for wrong types 2018-04-22 19:51:57 +03:00
Hugo
04a1f71b4c
Merge pull request #3105 from radarhere/py3
Change Python version checks to use util
2018-04-22 18:37:33 +03:00
Andrew Murray
b4e6cdadac Added py3 variable to _util 2018-04-20 09:19:13 +10:00
Andrew Murray
b560f5b417 Changed Python version checks in tests to use helper 2018-04-19 19:40:56 +10:00
Andrew Murray
37f5f1120a Fixed block comments 2018-04-18 16:00:57 +10:00
Andrew Murray
cbc056f43d Fixed whitespace 2018-04-18 16:00:57 +10:00
Andrew Murray
b33b045e9b Changed test_imagetk to run on Python 3 2018-04-17 14:06:05 +10:00
Hugo
7e8998a452 ImageOps.box_blur is deprecated, use ImageFilter.BoxBlur instead 2018-04-14 21:54:40 +03:00
Hugo
f733482c0e Remove workaround for since-fixed scipy regression, to remove recent scipy DeprecationWarning 2018-04-14 21:54:40 +03:00
Hugo
ecc4c7fecc Remove unittest regex deprecation warnings 2018-04-14 21:54:40 +03:00
Alexander Karpinsky
b01ba0f50c
Merge pull request #3091 from uploadcare/lut-alter
Transforming LUTs
2018-04-14 18:08:52 +03:00
Alexander
a325559f58 One more test for coverage 2018-04-14 17:47:53 +03:00
Alexander
eae14c56e1 Check exception type only, not string 2018-04-14 17:22:21 +03:00
Alexander
aba478abba Raise error if it is occurred during conversion in getlist 2018-04-14 17:13:05 +03:00
Alexander
daa8e7dacd Add earlier catching of wrong channels count 2018-04-12 12:40:40 +03:00
Alexander
75c76d91e1 Add repr for Color3DLUT 2018-04-12 11:54:54 +03:00
Alexander
fb1d25417e test for wrong channels number in generate 2018-04-11 20:55:35 +03:00
Alexander
ecd0e5e15e check exception type only 2018-04-11 17:31:41 +03:00
Alexander
acfd4845c6 tests 2018-04-11 17:05:48 +03:00
Alexander
70c453b857 rename alter() to transform()
add with_normals argument
docstring
2018-04-11 16:17:10 +03:00
Andrew Murray
05c78a13e7 Changed encoderinfo to have priority over info when saving GIF images 2018-04-11 08:57:31 +10:00
Alexander Karpinsky
e24fad40ad
Merge pull request #3056 from uploadcare/color-LUT
3D Color lookup tables
2018-04-09 10:41:44 +03:00
Hugo
0567a54cd7
Merge pull request #3057 from storesource/RotateImagewithColor
Enabling background colour parameter on rotate
2018-04-05 09:45:22 +01:00
Jon Dufresne
e705cd1476 Fix dereferencing type-punned pointer will break strict-aliasing
Compiler warning appeared as:

src/path.c:574:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                      Py_TYPE(&item)->tp_name);
                      ^~~~~~~

As item is already of type PyObject*, and the Py_TYPE macro is
equivalent to (((PyObject*)(o))->ob_type), no need for the dereference.

https://docs.python.org/3/c-api/structures.html#c.Py_TYPE
2018-04-03 20:42:03 -07:00
Alexander
4231038132 Remove unused imports 2018-04-01 19:52:39 +03:00
Kathryn Davies
8f6be2ee7d Move location of fclose and add dump test. 2018-03-31 21:28:37 -07:00
Alexander
912980c52f Remove Color3DLUT.from_cube_file from сore library 2018-03-31 19:56:09 +03:00
Alexander
805dc44707 improve color cube parser 2018-03-30 11:29:59 +03:00
Alexander
c1b956e3c8 More tests fixes for windows 2018-03-30 10:21:01 +03:00
Alexander
83a5f6e5b5 change file mode 2018-03-30 10:09:22 +03:00
Alexander
e304a0d501 add tests, fix error messages 2018-03-30 09:57:54 +03:00
Alexander
aa929dda98 from_cube_file + test 2018-03-30 02:02:37 +03:00
Alexander
d2a5d1e44d Add tests for some cases and fix bugs 2018-03-29 23:56:51 +03:00
Alexander
622749530b Color3DLUT.generate 2018-03-29 17:26:21 +03:00
Alexander
506995d816 Tests for python API 2018-03-29 16:37:35 +03:00
storesource
79689977cf Remove unnecessary files 2018-03-27 21:05:19 +05:30
storesource
e1229db810
Rename File 2018-03-27 20:07:06 +05:30
storesource
eb3efb2587
Added Files for Rotate Fill tests 2018-03-27 19:52:24 +05:30
storesource
975b7fced5
Split test for fill and no fill
Added a simpler image to compare
2018-03-27 19:48:35 +05:30
storesource
8af7c679ab
Added basic green file for rotate
Making changes according to review
2018-03-27 19:43:04 +05:30
storesource
fa85f112cd
Updating Test
changing from equal to similar
2018-03-27 19:31:58 +05:30
storesource
65c78266ad
RotateImage with fill: Added file for assertion
Fail First: add image for assertion
2018-03-27 18:55:34 +05:30