public SKColorSpace GetSKColorSpace() { if (skColorSpace == null) { skColorSpace = SKColorSpace.CreateIcc(Profile.GetBody(true).ToByteArray()); xyzD50 = skColorSpace.FromXyzD50(); skColorSpace.GetNumericalTransferFunction(out var spaceTransfer); transfer = spaceTransfer.Invert(); } return(skColorSpace); }