Relative Content

Tag Archive for iosswiftmetalcore-image

How to avoid CIImage init from MTLTexture from changing color space?

I have dumped the raw pixel data from my MTLTexture to confirm it is what I expect, but if I create a CIImage from the same texture, the color space changes quite a bit. I can’t figure out what CIImage is doing and how to keep it from changing the pixel data in any way.