Instance Property

isRawPhoto

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

Declaration

var isRawPhoto: Bool { get }

Discussion

When you request capture in RAW format, the capture output calls your delegate's photoOutput(_:didFinishProcessingPhoto:error:) method one or more times, delivering both the RAW photo data and (if requested) equivalent processed photos. Use this property to distinguish between the RAW and processed results from the same capture.

See Also

Accessing Photo Pixel Data

var pixelBuffer: CVPixelBuffer?

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software