Slight improvements to the interface of image.Resize