Bug fix in the rendering engine: The render function now follows the
preferences (bit depth and components) of the effect. Also adjusted the
viewer render function and the colour picker to support all components.