Commit Graph

56 Commits

Author SHA1 Message Date
JDWarner 54d7031f42 FIX: New versions of FreeImage report software as "I", not "ImageMagick ..." 2013-11-20 12:05:46 -06: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 7df2ef1e85 Add tests for image tags. 2013-08-21 17:50:21 +02: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
Stefan van der Walt a1adfa8d54 Correctly check for string type. 2013-06-29 10:17:41 -05:00
Tony S Yu 397e7c1ade Clean up test. 2013-06-28 16:08:11 -05:00
Adam Wisniewski 362d915399 support for saving to file-like object in imsave 2013-06-28 16:18:01 -04:00
Josh Warner (Mac) 82c987cb15 FIX: prepend np.testing. to assert_* statements
Resolve a simple namespace problem, eliminating 15 errors in
tests Travis doesn't catch because Travis doesn't build SimpleITK
2013-06-27 15:13:21 -05:00
François Boulogne 84bff08601 fix import testing 2013-06-20 23:08:39 +02:00
François Boulogne 6f6d207eb2 fix import 2013-06-20 22:53:13 +02:00
François Boulogne 5ce5f283d0 delete duplicated import 2013-06-20 22:23:04 +02:00
Zach Pincus 8b6f489bab Add multipage TIFF unittest 2013-04-18 11:08:12 -04:00
Matt McCormick ad23f203da ENH: Add SimpleITK IO plugin.
IO plugin for SimpleITK, http://simpleitk.org/

imread and imsave implemented. Tests based off the PIL tests.
2013-01-17 09:55:56 +00:00
Stefan van der Walt 98a5b2ed79 Merge pull request #368 from tonysyu/imread-url
ENH: Allow URLs in imread.
2012-12-17 12:17:50 -08:00
Tony S Yu abc1d2095f BUG: Fix file URI in test (2nd attempt) 2012-12-13 13:42:11 -05:00
Tony S Yu a6d4b6e7fa BUG: Fix file separators for windows 2012-12-12 11:06:15 -05:00
Luis Pedro Coelho 38f699471e TST Remove unneeded test
Per stefanv's comment on github, this was testing functionality higher
up in skimage.io
2012-11-24 19:04:55 +00:00
Luis Pedro Coelho 6ebc43bad8 ENH Add imread io plugin
This relies on imread (https://github.com/luispedro/imread) which
supports a few microscopy formats otherwise hard to read (LSM and
MetaMorph STK) as well as basic ones.
2012-11-24 19:04:01 +00:00
Tony S Yu 9f7a376e4d ENH: Add test and support for reading file URLs 2012-10-19 15:21:31 -04:00
cgohlke 0477c9dfeb Open image files in default binary write mode
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Tony S Yu 53807d79a6 Merge pull request #233 from wilsaj:image-html-repr
Conflicts:
	skimage/io/tests/test_collection.py
2012-08-24 00:15:32 -04:00
wilsaj fabedb58ec add unit test for Image._repr_png_() with PIL plugin 2012-08-12 18:54:43 -05:00
Tony S Yu 816d6e319a Merge pull request #221 from jjhelmus/imagecollection_slicing
Fix import conflicts:
	skimage/io/collection.py
2012-08-05 17:41:29 -04:00
Jonathan Helmus 03d037d044 ImageCollection now slices like other iterables 2012-07-25 11:11:25 -04:00
tonysyu 71a518c8cf Merge pull request #226 from jni/jni-alphanumeric-sort
Sort files from a global pattern alphanumerically
2012-07-22 21:28:38 -07:00
Stefan van der Walt 37e0ce0fc8 Merge pull request #223 from jni/jni-concatenate-image-collection
ENH: Concatenate image collection.
2012-07-20 16:02:04 -07:00
Juan Nunez-Iglesias 699b5d9269 Add test coverage for alphabetic sort
alphanumeric_key should sort filenames correctly when they differ in
text, not just numbers.
2012-07-20 17:50:04 -05:00
Juan Nunez-Iglesias 9006c1dab3 Sort files from a global pattern alphanumerically
Users usually expect an alphanumeric sort, not lexicographic sort, on
their filenames. This is now the behaviour of ImageCollection.
2012-07-20 17:38:06 -05:00
Juan Nunez-Iglesias a61ac37ff2 Add concatenate() support for MultiImage
Previously we added the ImageCollection.concatenate function. This
updates MultiImage to have the same functionality, and moves the grunt
work to an outside function to avoid repetition.
2012-07-20 16:46:33 -05:00
wilsaj 70cf6cfba0 fix test so it looks for new Image class 2012-07-20 15:39:50 -05:00
Juan Nunez-Iglesias 62ce6f3ab5 Add test for ImageCollection.concatenate 2012-07-20 15:35:03 -05:00
Matt McCormick db4cc04a90 BUG: Fix tests when FreeImage is not installed.
The plugin loader tries plugins but only catches ImportError and
RuntimeError.  The FreeImage plugin was throwing OSError.  Tests
were failing when FreeImage was not installed.  It now throws a
RuntimeError.
2012-07-20 15:46:58 -04:00
Jonathan J. Helmus 5101aa2a38 added test for ImageCollection slicing 2012-07-20 15:23:25 -04:00
Andreas Mueller 1251f77d6a COSMIT minor pep8 2012-06-29 11:27:23 +02:00
Andreas Mueller ee0fd867da COSMIT fix ugly line breaks. 2012-06-29 11:27:23 +02: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 5e7f08ef8f Fix test when tifffile plugin is not available. 2012-02-26 10:38:22 -05:00
cgohlke 1f7f234264 Fix invalid Python 3 syntax 2012-02-25 20:00:39 -08:00
cgohlke 99a8db9d54 Restore previous io plugins 2012-02-25 19:30:58 -08:00
Zach Pincus 026fae0e97 BUG: Fix tests 2012-02-21 19:17:55 -05:00
Zach Pincus b80ef2a660 Fix copy/paste error 2012-02-21 18:17:34 -05:00
Zach Pincus e2d4261c6d ENH: Add tifffile tests and improve freeimage tests 2012-02-21 18:14:59 -05:00