changing height and width of the cropped picture