Hi, I had a similar issue. After trying different things, I found out that the color space you are using (CGColorSpaceCreateDeviceGray()) produces this kind of result. However, after trying this with CGColorSpace(name: CGColorSpace.linearGray), the result are much more accurate.
Topic:
Media Technologies
SubTopic:
General
Tags: