Added a crop mode which determines if the image is cropped or not.