Instance Property

mattingImage

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

Declaration

@property(readonly) CVPixelBufferRef mattingImage;

Discussion

Query the pixel format using the pixelFormatType property.

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.

pixelFormatType

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

- dictionaryRepresentationForAuxiliaryDataType:

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