Adding possibility of cropping the image to the specified rectangle on t...

...he source image.