Steven Silvester
9e8f91930e
Handle warnings in several packages
...
Start handling warnings in data, exposure, and draw
Add a known_warning decorator and suppress warnings in color pkg
Use the existing all_warnings context manager
Raise warnings in data
Raise warnings in draw
Raise warnings in exposure
Suppress warnings in exposure tests
Add comments about warning suppressions
Raise warnings in feature
Fix warnings in filter package
Add warning handling to graph
Handle warnings in io package
2014-12-23 16:47:41 -06:00
Steven Silvester
ed8524961c
Reinstate run_module_suite in test_pil
2014-12-12 08:53:27 -06:00
Steven Silvester
296e492658
Fix handling of multi-image gifs and add test
2014-12-12 07:46:16 -06:00
Steven Silvester
ba730091a0
Fix relative import and test import convention
2014-10-09 20:18:44 -05:00
Steven Silvester
3b3b44b127
Clean up pil and tif tests
2014-10-09 20:18:43 -05:00
Steven Silvester
a623fd3e44
Rename the convenience methods
2014-10-09 20:18:43 -05:00
Steven Silvester
d9e169c518
Fix PIL tests, move helpers to _shared, fix widgets test
2014-10-09 20:18:21 -05:00
Steven Silvester
199c3da307
Clean up tests and add to bento.info.
...
Remove "no plugin" test because we will always have a plugin.
Fix handling of bools in ubyte check
Fix integration of tifffile.c
Clean up new tests.
Fix _tifffile import and add to bento.info
Add tifffile.py and fix pil_plugin import
Add tifffile tests to test_pil and remove PIL import checks
2014-10-09 20:18:20 -05:00
Steven Silvester
8049c642af
Add tests for new behavior.
...
Add tests for new behavior
Fix utils import and make io.tests a package
2014-10-09 20:18:20 -05:00
Adam Feuer
1cb73c79d6
improved name of pil import/export functions
...
- to make it clear what the functions actually do:
ndarray_to_pil() and pil_to_ndarray()
- as per code review feedback
- updated tests to use the new function names
- incoming change to pil_plugin assumed PIL Image
objects will always be from files; this is
not always true anymore. Now pil_plugin
checks to see if the Image came from a file
before trying to close its associated file.
2014-08-05 08:03:40 -07:00
Adam Feuer
4a0b99ad6f
fixed bad indent
2014-08-05 07:52:45 -07:00
Adam Feuer
32061fb66d
added a space character to trigger travis build
2014-08-05 07:52:45 -07:00
Adam Feuer
1dcb60fd68
added tests for roundtrip export and import
...
- and corrected error in imexport - wasn't using imsave code
correctly
- split imsave into imsave and imexport functions to reuse
imsave code
2014-08-05 07:52:45 -07:00
blink1073
5677dafe41
Move away from random.random in favor of random.rand
2014-07-19 18:18:23 -05:00
blink1073
5ef3f95d71
Add random seeds to tests per #1044
2014-07-05 12:49:42 -05:00
Kevin Murray
4160a67a42
[skimage.io.tests] add truncated jpg imread tests
2014-06-30 19:35:35 +10:00
Stefan van der Walt
eb6867cfe2
Make six an external dependency.
2013-10-27 14:06:26 +02:00
cgohlke
be3be537e6
TST: use BytesIO to save images into file-like object
...
StringIO does not work on Python 3
2013-10-10 21:22:40 -07:00
Stefan van der Walt
2b0f037422
Remove Image wrapper from io. Improve tags handling.
2013-08-21 17:46:38 +02:00
Stefan van der Walt
f429b5abad
Ensure PIL tests run with PIL.
2013-06-29 11:01:18 -05:00
François Boulogne
5ce5f283d0
delete duplicated import
2013-06-20 22:23:04 +02:00
cgohlke
0477c9dfeb
Open image files in default binary write mode
...
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
wilsaj
fabedb58ec
add unit test for Image._repr_png_() with PIL plugin
2012-08-12 18:54:43 -05:00
Andreas Mueller
f7b3d8062c
COSMIT pep8
2012-06-29 11:27:23 +02:00
Tony S Yu
9bcda27336
Skip test that fails for PIL < 1.1.7
2012-06-24 22:25:44 -04:00
Stefan van der Walt
0a30a2046e
ENH: Allow resetting the plugin state.
2012-06-24 17:14:38 -07:00
Stefan van der Walt
8141f39a2b
BUG: Fix PIL test on big endian.
2012-06-11 00:37:48 -07:00
Stefan van der Walt
52f35313a7
BUG: Fix plugin import on systems without PIL or FreeImage.
2012-05-07 14:06:25 -07:00
Stefan van der Walt
9c13bab887
BUG: Ensure that the appropriate I/O plugin is used in the test suite.
2012-05-07 13:48:56 -07:00
Tony S Yu
94c89d9020
Add test using big-endian uint16 image.
2011-12-14 21:21:00 -05:00
Tony S Yu
abcbe673a9
Add test for reading uint16 image
2011-12-13 10:17:12 -05:00
Stefan van der Walt
77f68861c6
BUG: Correctly load bi-level images via PIL.
2011-12-12 16:01:04 -08:00
Nelle Varoquaux
114cf44c77
Renamed scikits.image to skimage
2011-10-18 21:12:27 +02:00