Commit Graph

105 Commits

Author SHA1 Message Date
wilsaj 74cde286b4 allow qt_plugin imsave() function to write to file-like objects 2012-07-20 20:33:25 -05:00
wilsaj 605a4e2cd7 add support for serializing to file-like objects (e.g. StringIO) to PIL plugin 2012-07-20 15:22:53 -05:00
Matt McCormick 74554793ad STY: Align multi-line string statements. 2012-07-20 16:00:06 -04: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
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 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
Stefan van der Walt 0a30a2046e ENH: Allow resetting the plugin state. 2012-06-24 17:14:38 -07:00
Stefan van der Walt 37d1fd4723 DOC: Provide correct link for tifffile plugin. 2012-06-24 16:52:22 -07: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 e99f18be5a BUG: Fix imports for Python 3.2. 2012-03-03 11:18:16 -08:00
Tony S Yu 3c91aab3a0 FIX: Check plugin is loaded before checking its functions. 2012-02-28 00:07:07 -05:00
cgohlke 161e42e053 Fix conversion of bytes to str on Python 3 2012-02-25 20:33:17 -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 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
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 Pincus f2321d0441 STY: Clarify logic of code for FreeImage loading. 2012-02-10 15:36:11 -08:00
Zach Pincus 6a31ea8508 BUG: Make it work actually... 2012-02-10 15:36:11 -08:00
Zach Pincus 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
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
Zach Pincus 12e67e781e ENH: Clarify FreeImage IO flags, improve tests, and fix documentation 2012-02-02 11:05:27 -05:00
Zach Pincus a4c986b02f DOC: Fix read_multipage docstring 2012-02-01 22:57:44 -05:00
Zach Pincus b5dce45446 ENH: Add metadata reading functions
Required small refactoring of file IO to provide a saner interface.
2012-02-01 22:48:01 -05:00
zachrahan 3a1641f799 Merge pull request #117 from zachrahan/freeimage-library_loader
ENH: Make FreeImage library-loading more robust and provide better errors
2012-02-01 10:43:44 -08:00
Zach Pincus 960ca18b71 Fix indentation error 2012-02-01 13:41:41 -05:00
Zach Pincus 273e8ffc04 Make library-loading more robust and provide better errors 2012-01-31 15:04:31 -05:00
Stefan van der Walt f9907ffd21 ENH: Use nearest neighbor interpolation by default in matplotlib plugin. 2012-01-27 17:02:21 -08:00
Zach Pincus 981775d137 Clean up void-pointer handling to clarify intent and fix multipage 64-bit bugs 2012-01-22 18:34:28 -05:00
Stefan van der Walt 4df36631f6 BUG: Dispatch threads to process entire image. 2011-12-20 00:18:17 -08:00
Tony S Yu 341c2e40be Fix imread regression for int16 images with PIL plugin.
Regression introduced in PR 101.
2011-12-13 09:58:25 -05:00
Stefan van der Walt 77f68861c6 BUG: Correctly load bi-level images via PIL. 2011-12-12 16:01:04 -08:00
tonysyu 0e551fd40c Merge pull request #91 from stefanv/imshow_plugin_scales
ENH: Use dtype scaling routines in qt and pil plugins.
2011-12-11 14:18:24 -08:00
cgohlke c825548d23 Fix reading 16 bit big-endian images with PIL 2011-12-08 11:29:46 -08:00
Stefan van der Walt 0fa504f320 Merge pull request #90 from stefanv/plugin_load_fix
BUG: Fix selective plugin loading. Also provide a function to inspect the current plugin configuration.
2011-12-05 20:26:55 -08:00
Stefan van der Walt 50b33dbdd6 ENH: Tie imshow and _app_show together. 2011-12-05 17:35:56 -08:00
Stefan van der Walt f6458f18ef ENH: Use dtype scaling routines in qt and pil plugins. 2011-12-05 16:43:24 -08:00
Stefan van der Walt 468b63886b BUG: Fix selective plugin loading. Provide function to inspect current plugin configuration. 2011-12-05 16:28:27 -08:00