Few bug fixes for copying from another image.
Adding 90 degree rotation for image
Flip of image vertically and horizontally