Moved Image module docs from comments to docstrings

This patch moves the pending portions of documentation from commentaries to docstrings and they are rendered using sphinx.