Added Image manipulation functionality.