pub fn downsample_target(native: Size<u32>, bounds: Size) -> Option<Size<u32>>
image
resample a raster image to this target