Instance Property


The uncompressed or RAW image sample buffer for the photo, if requested.


var pixelBuffer: CVPixelBuffer? { get }


If you requested photo capture in a RAW format, or in a processed format without compression such as TIFF, you can use this property to access the underlying sample buffer.

If you requested capture in a compressed format such as JPEG or HEVC/HEIF, this property's value is nil. Use the fileDataRepresentation() or cgImageRepresentation() method to obtain compressed image data.

See Also

Accessing Photo Pixel Data

var isRawPhoto: Bool

A Boolean value indicating whether this photo object contains RAW format data.