I noticed TRMTKImageView uses CGColorSpaceCreateDeviceRGB() to define the color space used to render the image. This produces an image that isn't color-managed. The difference between what TRMTKImageView shows on-screen and what a color-managed app such as Preview shows can be quite different.
Using the color space defined on the MTKView to render the image will produce a color-managed image.
I noticed
TRMTKImageView
usesCGColorSpaceCreateDeviceRGB()
to define the color space used to render the image. This produces an image that isn't color-managed. The difference between whatTRMTKImageView
shows on-screen and what a color-managed app such as Preview shows can be quite different.Using the color space defined on the
MTKView
to render the image will produce a color-managed image.