Added scaledCrop method to calculate cropRect as a ratio of total image size

Signed-off-by: Jai Govindani <jai@monstermedia.co.th>