added image crop utilities