Add method to specify image size based crop rect.