crop image if aspect ratio is different