How to get RBG from raw pixel buffer

Hi, everyone! I am trying to access RGB (red, green, blue) pixel values from the pixel buffer or any other source (DNG file, for instance). I need them to be uncompressed meaning that no JPEG conversion is applied. I am using AVFoundation's AVCapturePhoto object to get this raw pixel buffer.


Thanks in advance.

Hi ... I know it's been a while since this was posted.

I actually have the same question. Did you figure it out? And would you mind sharing?

Thanks!
How to get RBG from raw pixel buffer
 
 
Q