I am a new Apple developer and I am struggling with various representations of images ...
I will have a CVPixelBufferRef in the format kCVPixelFormatType_32ARGB, and I would like to create a new kCVPixelFormatType_24RGB CVPixelBufferRef from it (i.e. discarding alpha bits).
Is there an easy way to do this, or do I need to copy it using the 'for' loop?
I am using Mac OSX 10.6.4 and working on this sample code.
Thanks Pinhassi.
source
share