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