Commit Graph
77 Commits
Author SHA1 Message Date
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
cgohlke 8d313f1d57 Fix io.imsave() problems with passing arguments to plugin "freeimage" 2012-07-12 10:34:15 -07:00
Andreas Mueller d7f1a3abec COSMIT minor stype improvements, whitespace in error messages 2012-06-29 11:27:23 +02: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 7c19250810 BUG: Use PIL as the default image loader. 2012-06-24 17:00:36 -07:00
Stefan van der Walt 417776f776 Merge pull request #196 from tonysyu/fix-plugin-init
BUG: Check all io functions when loading of default plugins.
2012-06-24 16:56:57 -07:00
Stefan van der Walt 37d1fd4723 DOC: Provide correct link for tifffile plugin. 2012-06-24 16:52:22 -07:00
Tony S Yu 2ec05f3271 Refactor how PIL is set as default for imread. 2012-06-24 19:38:01 -04:00
Stefan van der Walt 8141f39a2b BUG: Fix PIL test on big endian. 2012-06-11 00:37:48 -07:00
Tony S Yu b038677e70 Fix: check all io functions when loading of default plugins.
Previously, the first available plugin was loaded and the plugin search quit---even if that plugin didn't provide all io functions. Loop over functions instead to ensure all io funcs have a plugin (if available).
2012-05-31 00:27:15 -04:00
James Turner 3c83eb8966 Readability improvement suggested by tonysyu 2012-05-29 11:36:42 -04:00
James Turner cb44e508f3 Allow for type of hdu.size changing in PyFITS 3.1 2012-05-28 19:46:39 -04:00
Stefan van der Walt 8f43ee7739 BUG: Catch all exceptions, including NotImplementedError, when checking for number of CPUs in multi-processing. 2012-05-21 19:20:20 -07:00
Stefan van der Walt 34505fef46 BUG: Fix FreeImage Py3k compatibility [patch by Almar Klein]. 2012-05-21 18:24:32 -07:00
cgohlke 4e87a1dfce Add new 64-bit metadata types to METADATA_DATATYPE (new in FreeImage 3.15.3) 2012-05-19 13:23:32 -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
Stefan van der Walt 57bf9d1c67 ENH: Add freeimage as fallback io plugin, to allow buildbot to read test images. 2012-03-03 14:25:05 -08:00
Stefan van der Walt e99f18be5a BUG: Fix imports for Python 3.2. 2012-03-03 11:18:16 -08:00
Stefan van der Walt 02edb162fd Merge pull request #157 from tonysyu/fix-plugin-call
FIX: Check plugin is loaded before checking its functions.
2012-03-02 11:22:31 -08:00
Tony S Yu 3c91aab3a0 FIX: Check plugin is loaded before checking its functions. 2012-02-28 00:07:07 -05:00
Tony S Yu 5e7f08ef8f Fix test when tifffile plugin is not available. 2012-02-26 10:38:22 -05:00
cgohlke 161e42e053 Fix conversion of bytes to str on Python 3 2012-02-25 20:33:17 -08: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
zachrahan c9a14db5c4 Merge pull request #149 from zachrahan/tifffile-plugin
ENH: add tifffile plugin, tifffile tests, beef up freeimage tests
2012-02-21 16:18:34 -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
Zach Pincus a6b154f5b5 Fix description of tifffile plugin 2012-02-21 17:55:32 -05:00
Zach Pincus 9512678e75 ENH: Add tifffile IO plugin 2012-02-21 17:53:16 -05:00
Andreas Mueller 2b6208cf3e DOC some sphinx and rst fixes 2012-02-21 18:01:22 +01:00
Stefan van der Walt bf5f9f0fc7 BUG: Use PIL as default imread plugin, since MPL imread is still somewhat broken. 2012-02-19 21:24:10 -08:00
tonysyu e1e3d6ce2b Merge pull request #136 from stefanv/plugin_consistency
ENH: Plugin consistency.
2012-02-15 07:08:49 -08:00
Stefan van der Walt b127f60533 STY: Whitespace cleanup. 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt f2321d0441 STY: Clarify logic of code for FreeImage loading. 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt 6a31ea8508 BUG: Make it work actually... 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt 99ac9e44ff ENH: load libfreeimage based on case-insensitive libname prefixes 2012-02-10 15:36:11 -08:00
Stefan van der Walt 5d276146ee BUG: Fix FreeImage tests. 2012-02-10 15:34:26 -08:00
Stefan van der Walt a2746c2872 ENH: Add show() to PIL plugin to support more consistent code over different plugins. 2012-02-10 14:11:51 -08:00
Stefan van der Walt 58fb3827d3 Use matplotlib as the default display/read plugin. 2012-02-10 14:11:26 -08:00
tonysyu 46e5f0a04e Merge pull request #120 from stefanv/scivi_rename
PKG: Rename scivi to skivi.
2012-02-05 19:39:51 -08:00
tonysyu 5655f7e3d9 Merge pull request #116 from stefanv/matplotlib_interpolation
ENH: Use nearest neighbor interpolation by default in matplotlib plugin.
2012-02-05 19:26:32 -08:00
Stefan van der Walt e4a14ee3a3 PKG: Rename scivi to skivi. 2012-02-03 21:18:52 -08:00
Stefan van der Walt a322c0d676 ENH: When displaying images using matplotlib, use the grey colormap by default. 2012-02-02 17:06:06 -08:00
Stefan van der Walt 5c5de01523 STY: Whitespace cleanup freeimage patch. 2012-02-02 16:56:54 -08:00