Why does using CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3) in CGBitmapContextCreate cause my JPEG images to appear less saturated?
I’m trying to decide between using CGColorSpaceCreateDeviceRGB()
and CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3)
when calling CGBitmapContextCreate
. Since all iOS devices now support the Display P3 color space, I was thinking that using CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3)
would be a better choice, as it covers a wider color gamut. I assumed that this wouldn’t cause any issues because Display P3 includes all the colors in the sRGB space.