Instance Method

dictionaryRepresentation(forAuxiliaryDataType:)

A dictionary of primitive map information used for writing an image file with a portrait effects matte.

Declaration

func dictionaryRepresentation(forAuxiliaryDataType outAuxDataType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> [AnyHashable : Any]?

Parameters

outAuxDataType

Return Value

A dictionary of primitive map information for CGImageDestinationAddAuxiliaryDataInfo(_:_:_:).

See Also

Examining a Portrait Effects Matte

Extracting Portrait Effects Matte Image Data from a Photo

Check for portrait effects matte metadata in existing images.

var mattingImage: CVPixelBuffer

The portrait effects matte's internal image, formatted as a pixel buffer.

var pixelFormatType: OSType

The pixel format type of this portrait effects matte's internal image.