2009/11/1 Ralf Gommers <ralf.gommers@googlemail.com>:
http://github.com/stefanv/scikits.image/blob/io/scikits/image/io/matplotlib_...
http://github.com/stefanv/scikits.image/blob/io/scikits/image/io/pil_plugin....
That looks promising! It all works for me, and it's easy to understand.
The one thing I can think of after quickly looking through it, is some convenience funcs to get/set the defaults for the plugin, both for all keywords in plugin_store or for a single keyword. This will help when plugins start to overlap in functionality. I would for example like to be able to set MPL to be the default for showing/saving, and PIL for loading, without having to use plugin='...' each time.
This is now implemented in http://github.com/stefanv/scikits.image/tree/io For example, you can do plugins.use('PIL') or plugins.use('PIL', 'show') Please review so we can merge / work on it some more. Cheers Stéfan