Contents

rawPhotoPixelFormatType

An identifier for the Bayer RAW pixel format to deliver captured RAW photos in.

Declaration

var rawPhotoPixelFormatType: OSType { get }

Discussion

This property is read-only—you specify a RAW pixel format when creating a settings object with the init(rawPixelFormatType:), init(rawPixelFormatType:processedFormat:) initializer.

When capturing RAW images, the following requirements apply:

(You request separate processed images with the init(rawPixelFormatType:processedFormat:) initializer. This restriction does not apply when you request RAW-only capture with the init(rawPixelFormatType:) initializer).

The capture output validates these requirements when you call the capturePhoto(with:delegate:) method. If your settings and delegate do not meet these requirements, that method raises an exception.

See Also

Inspecting settings