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.

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