When capturing an image, the color of the output image is different than what I see on the preview layer. For some reason, the color changes slightly. Has anyone come across this issue before? How can I fix this?
The green is a little bit darker when I get my image from didFinishProcessingPhotoSampleBuffer
Reading the official documentation for AVCapturePhotoOutput I found this:
And also this for activeColorSpace:
So maybe your device supports it by default and that's why in the output you see the image with different colors. Try changing the
activeColorSpace
and see if that makes a difference.