Added support for NChannelImage and ExtendToNChannel


Sorry for all the previous open/close pull requests. This is the only merge to look at.

If it is deprecated this should be removed. Maybe you are still waiting for a reply from Chris about this?