JDWarner
54d7031f42
FIX: New versions of FreeImage report software as "I", not "ImageMagick ..."
2013-11-20 12:05:46 -06:00
Johannes Schönberger
3b1182cc2f
Skip show commands for doc tests
2013-11-12 08:30:12 +01:00
Johannes Schönberger
2e7f14d2d0
Fix multi image doctest
2013-11-03 19:14:58 +01:00
Stefan van der Walt
eb6867cfe2
Make six an external dependency.
2013-10-27 14:06:26 +02:00
Stefan van der Walt
8e763f4e48
Fix Py3 exception in GTK plugin.
2013-10-17 13:44:19 +02:00
Johannes Schönberger
394d904e17
Merge pull request #768 from cgohlke/patch-2
...
TST: use BytesIO to save images into file-like object
2013-10-11 08:39:23 -07: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
cgohlke
ea357a4464
BUG: basestring not defined on PY3
2013-10-10 21:16:14 -07:00
François Boulogne
741d6fda95
PEP8: comparison
2013-10-02 18:14:20 +02: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
François Boulogne
3926f1873d
use items/values for python2/3 compat
2013-06-20 11:16:23 +02:00
François Boulogne
7cf20736b9
workaround for itervalues
2013-06-13 13:58:21 +02:00
François Boulogne
5908542421
fix import urllib2 for python3
2013-06-13 13:26:33 +02:00
Johannes Schönberger
79a5ab0e12
Merge pull request #589 from sciunto/configparser
...
import configparser for python3
2013-06-12 14:27:22 -07:00
François Boulogne
9042fcd85c
import configparser for python3
2013-06-12 22:34:04 +02:00
Johannes Schönberger
2ac42c4619
Merge pull request #587 from sciunto/import
...
MIN: fix unused import
2013-06-12 13:23:28 -07:00
François Boulogne
e258e05468
MIN: fix unused import
2013-06-12 21:36:28 +02:00
François Boulogne
eb9de1d7eb
MIN: use print() instead of print
2013-06-12 21:16:23 +02:00
Tony S Yu
8e0bf8ab8f
Fix imread from urls on some backends.
...
Some backends infer the image type from the extension. This fix just adds the extension to the temp filename.
2013-04-20 14:57:58 -05:00
Zach Pincus
8b6f489bab
Add multipage TIFF unittest
2013-04-18 11:08:12 -04:00
Zach Pincus
ab8b325ff4
Fix 64-bit multipage tiff writing segfault
2013-04-17 17:56:08 -04:00
Johannes Schönberger
16863535eb
Re-enable plots in doc strings and generate PDF images for them
2013-03-13 10:59:26 +01:00
Johannes Schönberger
0324737c47
Fix some doc strings for latex docs
2013-03-12 09:39:42 +01:00
Johannes Schönberger
21d480c32c
Fix accidentially changed doc strings
2013-02-24 14:20:02 +01:00
Johannes Schönberger
62d83ad42c
Globally change np to cnp if cimported
2013-02-24 14:14:14 +01: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
10ce9b89ab
RFCT Use skimage.utils.convert for type conversion
2012-11-24 19:04:16 +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
c451aa0d4b
STY: Fix confusing use of context-manager.
2012-10-19 17:52:10 -04:00
Tony S Yu
9f7a376e4d
ENH: Add test and support for reading file URLs
2012-10-19 15:21:31 -04:00
Tony S Yu
e513018052
Fix handling of temporary file.
...
Opening an already-opened file was unsafe. Close the file, then manually delete it.
2012-10-18 22:07:18 -04:00
Tony S Yu
cd8c3da8ec
ENH: Allow imread to read URLs
2012-10-18 21:51:21 -04:00
Paul Ivanov
b4b090271d
complete singularization of scikit-image
...
I've updated references in the code and documentation to the new name.
2012-10-08 16:29:55 -07:00
Andreas Mueller
6546460f47
COSMIT some pep8
2012-09-30 15:53:33 +01:00
Stefan van der Walt
3469f1f544
Merge pull request #327 from cgohlke/patch-1
...
BUG: Open image files in default binary write mode.
2012-09-29 18:01:04 -07:00
cgohlke
cba654cbda
Use io.BytesIO instead of StringIO
...
Fixes NameError: global name 'io' is not defined on Python 3
2012-09-29 17:00:59 -07:00
cgohlke
0477c9dfeb
Open image files in default binary write mode
...
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00