pub fn fit_image_within(size: ImageSize, bounds: ImageSize) -> ImageSize
Scales a size to fit completely within bounds, preserving aspect ratio.