Hi Stefan,

2009/10/31 Stéfan van der Walt <stefan@sun.ac.za>

Hey guys,

I finally got around to writing a draft of the proposed plugin system.
 You'll find this work in the 'io' branch at

http://github.com/stefanv/scikits.image

It's still a work in progress, but I welcome all comments.  Example plugins are

http://github.com/stefanv/scikits.image/blob/io/scikits/image/io/matplotlib_plugin.py
http://github.com/stefanv/scikits.image/blob/io/scikits/image/io/pil_plugin.py


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.

Cheers,
Ralf