Content aware re-sizing of images.