Kathryn Davies
8f6be2ee7d
Move location of fclose and add dump test.
2018-03-31 21:28:37 -07:00
Hugo
8adab0ec0d
Noise effect: take five pixels, assert not all same
2017-12-19 17:12:58 +02:00
Hugo
11a2026f12
flake8
2017-12-19 15:12:02 +02:00
Hugo
c8eebc1dc7
Re-roll in case of identical noise
2017-12-19 15:06:43 +02:00
Jon Dufresne
c5a0d72c10
Remove unnecessary bool() calls throughout project
...
Can use truthy values in boolean expressions without first coercing to a
bool. Removes unnecessary call to bool().
2017-12-16 09:34:12 -08:00
Andrew Murray
28119dd68d
Changed test to use tempfile
2017-11-08 12:59:05 +11:00
wiredfool
c82f9fe1bb
Merge pull request #2738 from uploadcare/block-storage
...
Block & array hybrid storage
2017-10-01 20:41:08 +01:00
hugovk
9344bd20dd
Move test_no_resource_warning_for_numpy_array to test_numpy so it can be skipped easily
2017-09-23 22:39:10 +03:00
hugovk
0b6691ecc9
A numpy failing test for ResourceWarning on Python 3
2017-09-23 22:36:53 +03:00
hugovk
77f0608c4e
Failing test for ResourceWarning on Python 3
2017-09-23 22:36:03 +03:00
wiredfool
b8d6fd57fa
Merge pull request #1860 from radarhere/register_extensions
...
Added register_extensions method
2017-09-22 15:59:04 +01:00
Alexander
a78e92356f
Merge branch 'master' into block-storage
2017-09-19 21:08:21 +03:00
wiredfool
c786213b09
Merge pull request #2291 from asergi/pathlib2
...
Use pathlib2 for Path objects on Python < 3.4
2017-09-19 11:11:35 +01:00
Alexander
0054743100
fix zero size images
2017-09-17 02:58:01 +03:00
Andrew Murray
55d0a816c7
Added test
2017-09-04 20:32:15 +10:00
wiredfool
2611b2caa5
Merge pull request #2689 from radarhere/tests
...
Added tests
2017-09-04 11:15:28 +01:00
Andrew Murray
2ac18689d5
Removed unnecessary return statements
2017-09-01 21:06:22 +10:00
Andrew Murray
9e843a2d9b
Changed format of lambda calls
2017-09-01 21:05:40 +10:00
Andrew Murray
371933a597
Added tests
2017-09-01 20:36:51 +10:00
wiredfool
e422f92e52
Remove palettes from non-palette modes in _new #2702
2017-08-31 06:18:59 -07:00
wiredfool
e2602452f4
Merge pull request #2661 from uploadcare/get-channel
...
New Image.getchannel method
2017-08-16 15:33:54 +01:00
Alexander
e16ab0ad2e
add tests, fix implementation
2017-08-12 14:10:39 +03:00
Alexander
0649da02c6
fix tests on python 3
2017-08-06 14:12:55 +03:00
Alexander
6b50ba07fd
add tests for Image.new modes
2017-08-06 14:12:55 +03:00
wiredfool
c7efd0bf6d
re-organized the parameters, moved size specification to overlay tuple
2017-06-27 22:03:44 +01:00
wiredfool
1d33dfbced
Added source point parameter for Image.Image.alpha_composite
2017-06-27 22:03:44 +01:00
wiredfool
69768c514b
Added inplace alpha composite
2017-06-27 22:03:44 +01:00
Andrew Murray
e8cba27bb1
Changed assert checks to more specific versions
2017-06-03 14:04:54 +10:00
Andrew Murray
2a5447691a
Replaced deprecated assert_
2017-05-30 19:55:35 +10:00
Andrew Murray
37b293f593
Flake8 fixes
2017-04-20 21:14:23 +10:00
wiredfool
184d4f8dc0
Test encode registry
2017-03-11 21:27:07 +00:00
ces42
8fb44a2bee
More explicit error message when saving to a file with invalid extension ( #2399 )
...
* more explicit error message when saving to a file with invalid extension + test
2017-02-17 13:39:16 +00:00
Hugo
53e5702557
Update http to https
2017-02-14 11:27:02 +02:00
wiredfool
9c4eafc188
Merge pull request #2382 from hugovk/test-effects
...
Test linear and radial gradient effects
2017-02-06 21:58:41 +00:00
hugovk
d7fe8d1eb7
Linear and radial gradient: only need one target image
2017-02-06 22:03:17 +02:00
wiredfool
b93025fa5b
Merge pull request #2380 from evalapply/master
...
BUG fix: '' in image mode no longer causes a crash
2017-01-31 19:03:29 +00:00
hugovk
07af06bf8c
Expose and test radial_gradient
2017-01-29 18:44:24 +02:00
hugovk
3ead178d18
flake8
2017-01-29 18:38:06 +02:00
hugovk
47b1c66961
Expose and test linear_gradient
2017-01-29 18:17:31 +02:00
Lukasz Kozuchowski
3e317f3ca0
Empty image mode test
2017-01-29 07:50:28 +01:00
Andrew Murray
cd114cef3f
Added test for Image fromstring NotImplementedError
2017-01-28 14:16:39 +11:00
Andrew Murray
581fef2ebd
Added test for Image offset NotImplementedError
2017-01-28 13:06:28 +11:00
wiredfool
c1b510c72c
Merge pull request #2307 from radarhere/contextmanagers
...
Added context managers
2017-01-17 13:20:41 +00:00
Andrew Murray
89742225bf
Fixed test coverage
2017-01-07 13:20:16 +11:00
Andrew Murray
2a93cdb698
Simplified assertEqual checks to assertTrue
2017-01-07 11:35:09 +11:00
Luis G
dad5971561
Add unit tests
...
Add unit tests for registered_extensions
2017-01-07 11:32:16 +11:00
wiredfool
69bea50810
Allow 0 size images, Fixes #2259
2016-12-31 13:19:29 +00:00
Andrew Murray
a06dd59df7
Added context managers
2016-12-28 09:54:10 +11:00
Alessio Sergi
7e8a6c61f8
Use pathlib2 for Path objects on Python < 3.4
...
The pathlib backport module is no longer maintained. The development
has moved to the pathlib2 module instead.
Quoting from the pathlib's README:
"Attention: this backport module isn't maintained anymore. If you want
to report issues or contribute patches, please consider the pathlib2
project instead."
Other projects have already switched to pathlib2, most notably IPython
and its dependencies.
2016-12-17 18:50:50 +01:00
Andrew Murray
38fd77ca7d
Fixed bug in saving to fp-objects in Python >= 3.4
2016-11-15 20:13:25 +11:00