Add possibility to limit image size by bounding area without breaking the aspect ratio of the original image.