pub fn to_srgb(img: DynamicImage, icc: &[u8]) -> DynamicImage
img in sRGB through icc. A profile that can’t be read, doesn’t match the picture’s colours or changes nothing leaves img as it is.
img
icc