Added functions to set manual borders for croped image.