Andrew Murray
0411caba67
Catch ValueError when processing the edge of an image
2018-09-01 17:18:13 +10:00
Andrew Murray
fda3db6494
Merge pull request #3273 from radarhere/imagefilter
...
Changed Kernel to subclass BuiltinFilter
2018-09-01 09:45:43 +10:00
Andrew Murray
fbc121d678
Changed GIF seek to remove previous info items
2018-09-01 09:28:22 +10:00
Hugo
ca8d93f36c
Merge pull request #3289 from radarhere/qt_setup
...
Removed unnecessary setUp calls
2018-08-29 15:13:19 +03:00
Hugo
847581f7dd
Remove redundant 'pass'
2018-08-25 19:06:11 +03:00
Hugo
663b06e223
Skip: CFFI imports pycparser which doesn't support PYTHONOPTIMIZE=2
2018-08-25 19:06:11 +03:00
Hugo
4218a769d7
Refactor cffi import and skipping
2018-08-25 19:06:11 +03:00
Hugo
d7e4d3db3f
Convert assert into exception
2018-08-25 19:06:11 +03:00
Andrew Murray
3ae5f05410
Changed Kernel to subclass BuiltinFilter, instead of the other way around
2018-08-25 23:30:47 +10:00
Andrew Murray
f9ecda92da
Merge pull request #3295 from radarhere/imagefilter_tests
...
Added ImageFilter tests
2018-08-25 23:26:31 +10:00
Andrew Murray
9b09a3e9a8
Merge pull request #3230 from hugovk/test-imagechops
...
Test ImageChops
2018-08-25 14:38:05 +10:00
Andrew Murray
9c5c66cc8f
Improved ImageChops tests
2018-08-25 11:59:27 +10:00
Andrew Murray
0a1fae8c2d
Added tests
2018-08-25 08:56:41 +10:00
Andrew Murray
36b1afff26
Fixed None as TIFF compression argument
2018-08-25 08:21:43 +10:00
Andrew Murray
fc57658635
Added PDF creation and modification date info
2018-08-25 00:58:49 +10:00
Andrew Murray
e98469ecf6
Added transparency to matrix conversion
2018-08-25 00:54:51 +10:00
Andrew Murray
c8e00203ec
Removed unnecessary setUp calls
2018-08-25 00:52:14 +10:00
Andrew Murray
df328a89a4
Added PySide2
2018-08-25 00:51:50 +10:00
Andrew Murray
6a7c7783eb
Corrected wording
2018-08-17 19:40:13 +10:00
Andrew Murray
046df78448
Fixed typos
2018-08-11 16:39:49 +10:00
Konstantin Kopachev
84b32a0388
Read/Save RGB webp as RGB (instead of RGBX)
2018-08-09 11:40:10 -07:00
Andrew Murray
5c2e325353
Changed order of tests
2018-08-05 14:57:52 +10:00
Andrew Murray
88fdf504b3
Removed duplicate test
2018-07-21 14:38:47 +10:00
Hugo
f70f952f85
Merge branch 'master' into add-width-to-shapes
2018-07-14 14:58:48 +03:00
Andrew Murray
44a4219283
Added test for converting GIF with RGBA palette to P
2018-07-14 18:55:13 +10:00
tsennott
50d6611587
moved tuple test to assert method in PillowTestCase; added docs
2018-07-09 07:04:48 -07:00
tsennott
1eed17c70e
tightened up colorize(); split tests; moved tuple comparison fcn to helper.py
2018-07-08 20:09:39 -07:00
tsennott
4a6ec5ca72
updated colorize to allow optional black/white positions; enhanced tests
2018-07-07 18:19:26 -07:00
tsennott
837d868333
updated test to assert equality with reference images
2018-07-07 02:40:25 -07:00
tsennott
adf570a77e
adding tests, updated docstring and comments
2018-07-06 18:42:16 -07:00
Hugo
3b74a4c8ce
Test ImageChops
2018-07-04 11:55:58 +03:00
Hugo
a344e7ee4d
Merge pull request #3222 from danpla/tga-test-sanity-la
...
Add LA to TGA test modes
2018-07-02 22:23:57 +03:00
Hugo
5d751572cc
Merge pull request #2922 from radarhere/fill_ink
...
Skip outline if the draw operation fills with the same colour
2018-07-02 22:19:35 +03:00
Hugo
959db43d22
Merge pull request #3173 from radarhere/flake8
...
Flake8 fixes
2018-07-02 21:42:17 +03:00
Hugo
4d88e2852e
Merge pull request #2187 from jdufresne/open-warning
...
Avoid deprecated 'U' mode when opening files
2018-07-02 21:34:32 +03:00
Andrew Murray
c2189235af
Line too long
2018-07-02 19:26:02 +10:00
Andrew Murray
ce5d0e72b2
Continuation line under-indented for visual indent
2018-07-02 19:21:44 +10:00
Andrew Murray
0832f9c58b
Continuation line unaligned for hanging indent
2018-07-02 19:21:44 +10:00
Andrew Murray
145589ef14
Ambiguous variable name 'l'
2018-07-02 19:21:44 +10:00
Andrew Murray
0e61d4be9f
Removed unused variables
2018-07-02 19:21:44 +10:00
Andrew Murray
c19d77abed
Continuation line under-indented for visual indent
2018-07-02 19:21:44 +10:00
Andrew Murray
dcf6bc047b
Do not use bare except
2018-07-02 19:21:44 +10:00
Andrew Murray
aeab86c005
Too many blank lines
2018-07-02 19:21:44 +10:00
Andrew Murray
58cc23695d
Continuation line over-indented for visual indent
2018-07-02 19:21:44 +10:00
Andrew Murray
e7815ccd62
Block comment should start with '# '
2018-07-02 19:21:44 +10:00
Hugo
d6e3ef85c2
Add width parameter to arc, chord, ellipse, pieslice
2018-07-02 11:26:42 +03:00
Hugo
9dedbff713
Add width parameter to rectangle
2018-07-02 11:21:30 +03:00
Daniel Plakhotich
adfcbc9478
Add LA to TGA test modes
2018-07-02 00:50:02 +03:00
Hugo
c222df2b56
Merge pull request #3137 from radarhere/pdf
...
Fixed saving a multiframe image as a single frame PDF
2018-07-01 22:18:48 +03:00
Hugo
be29d02652
Merge pull request #3147 from fozcode/fix-fillcolor
...
Fix transform fill color for alpha images
2018-07-01 22:14:24 +03:00
Hugo
af552801c2
Merge pull request #3186 from danpla/tga-write-rle
...
TGA: Add support for writing RLE data
2018-07-01 22:00:03 +03:00
Hugo
80d399a485
Merge pull request #3178 from danpla/tga-la
...
TGA: Read and write LA data
2018-07-01 21:57:10 +03:00
Hugo
c93bc51c5b
Merge pull request #3202 from radarhere/icns
...
Changed ICNS format tests to pass on OS X 10.11
2018-07-01 21:41:58 +03:00
Hugo
abae745da1
Merge pull request #3114 from tianyu139/hotfix
...
Fixed bug in ImageDraw.multiline_textsize()
2018-07-01 21:34:45 +03:00
Hugo
490464010a
Merge pull request #3113 from tianyu139/develop
...
Added getsize_multiline support for PIL.ImageFont
2018-07-01 21:33:21 +03:00
Hugo
d97e16c903
Merge pull request #3190 from radarhere/mimetype
...
Added ImageFile get_format_mimetype method
2018-07-01 21:19:57 +03:00
Hugo
40a0398657
Add spacing
2018-07-01 20:55:53 +03:00
Hugo
488161ebba
flake8
2018-07-01 20:54:12 +03:00
Jon Dufresne
1ba14783d2
Avoid deprecated 'U' mode when opening files
...
Instead, use PSFile() wrapper to handle all newline in the EPS spec.
Update line ending tests to handle all combinations of '\n' and '\r'.
Fixes warning "DeprecationWarning: 'U' mode is deprecated" in tests.
2018-07-01 08:07:59 -07:00
Hugo
2b09e7fa6a
Merge pull request #3099 from uploadcare/lut-numpy
...
NumPy support for LUTs
2018-07-01 13:18:03 +03:00
Hugo
597f067796
Merge pull request #2989 from hugovk/test-wal
...
Test WalImageFile
2018-07-01 09:34:15 +03:00
Hugo
bc192c6cfe
Merge pull request #3142 from radarhere/ellipse
...
Changed ellipse point calculations to be more evenly distributed
2018-07-01 08:44:17 +03:00
Hugo
5dda23d547
Merge pull request #3135 from hugovk/test-imagedraw2
...
Test ImageDraw2
2018-07-01 07:48:54 +03:00
Alex Clark
eafbb395a9
Merge pull request #1817 from radarhere/gd
...
Added GD tests
2018-06-30 18:01:36 -04:00
Andrew Murray
6793b5bbd5
Added ImageFile get_format_mimetype method
2018-06-30 21:08:41 +10:00
Andrew Murray
b0d9b0037b
Changed ICNS format tests to pass on OS X 10.11
2018-06-23 15:14:49 +10:00
Andrew Murray
bf96b9f87a
Updated redirected URLs [ci skip]
2018-06-23 10:58:41 +10:00
Daniel Plakhotich
1d20056234
TGA: Add support for writing RLE data
2018-06-15 23:01:06 +03:00
Daniel Plakhotich
65c7875ff7
TestFilePng: Fix test_save_l_transparency()
...
It now really tests the file after saving.
2018-06-14 12:46:35 +03:00
Daniel Plakhotich
39fae6e077
TGA: Read and write LA data
2018-06-14 12:18:08 +03:00
Hugo
48dda53c12
Merge pull request #3163 from radarhere/fillcolor
...
Fixed transform fillcolor argument when image mode is RGBA or LA
2018-06-14 09:25:00 +03:00
Andrew Murray
ae2ffb8a05
Fixed transform fillcolor argument when image mode is RGBA or LA
2018-06-12 04:41:46 +10:00
Andrew Murray
9a3d554c1d
Changed Exception tests to be more specific
2018-06-12 04:41:31 +10:00
Andrew Murray
5ef5a3c9b2
Corrected test
2018-06-06 22:34:09 +10:00
Hugo
e2127a6d60
Test ImageDraw2.ellipse
2018-05-31 15:11:50 +03:00
Hugo
67e5540021
Skip font tests when ImageFont not available
2018-05-31 15:11:50 +03:00
Hugo
031c4d937f
Test ImageDraw2
2018-05-31 15:11:50 +03:00
Andrew Murray
3d82672404
Added getrgb hsb color string
2018-05-31 06:14:29 +10:00
Andrew Murray
b50f63430f
Added getrgb hsv color string
2018-05-31 06:13:22 +10:00
Matt
d2854f3925
Add unit tests for alpha fill color fix
2018-05-30 15:05:58 +01:00
Andrew Murray
adda3b7473
Allow float values in getrgb hsl color string
2018-05-30 21:00:44 +10:00
Andrew Murray
8d8d00f304
Changed ellipse point calculations to be more evenly distributed
2018-05-27 15:32:22 +10:00
Andrew Murray
3bbd0a5810
Fixed saving a multiframe image as a single frame PDF
2018-05-18 22:15:45 +10:00
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
tianyu
58474d1c8d
Added test to ensure ImageDraw.multiline_textsize returns same value as ImageFont.getsize for single lines
2018-04-24 22:55:17 +08:00
tianyu
3fda581963
Added test for getsize_multiline
2018-04-24 22:27:29 +08: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
Alexander
33c0b5df21
use assertRaisesRegex
2018-04-15 23:35:41 +03:00
Alexander
c6f5077afc
Merge branch 'master' into lut-numpy
2018-04-15 23:30:40 +03:00
Alexander
497e9d8251
full buffer support
2018-04-15 00:33:15 +03: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
63b243e1f6
color lut numpy tests
2018-04-14 19:17:15 +03:00
Alexander
76e57bbbe2
Better numpy tests skipping
2018-04-14 18:59:57 +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
storesource
bea25dba30
Rotate with fill color unit test
...
check if hopper image equals hopper45withfill after rotate
2018-03-27 18:41:49 +05:30
Alexander
838a5cffe7
more tests and fixed bug for interpolate4
2018-03-26 23:17:17 +03:00
Alexander
5227c30561
typos
2018-03-26 22:33:22 +03:00
Alexander
5f0b7ee73e
More tests
2018-03-26 22:30:55 +03:00
Alexander
b30b2a280f
Tests. First part
2018-03-26 19:30:00 +03:00
wiredfool
0e9f07def9
Merge pull request #3042 from hugovk/3006-parser-feed
...
Fix TypeError for JPEG2000 parser feed
2018-03-21 07:56:23 +00:00
wiredfool
d173e81798
Merge pull request #3023 from kkopachev/issue-3022
...
Certain corrupted jpegs can result in no data read
2018-03-21 07:55:17 +00:00
wiredfool
f504cbe642
Merge pull request #3007 from jleclanche/feat/blp
...
Add support for BLP file format
2018-03-21 07:54:29 +00:00
wiredfool
c004b6beaa
Merge pull request #2998 from hugovk/simplify-version-checks
...
Simplify version checks
2018-03-21 07:50:51 +00:00
Andrew Murray
4a781d0013
Replaced MacOS with macOS
2018-03-19 19:38:17 +11:00