Moving the image scaling into a common ISUtilities class.