Instance Method

dictionaryRepresentationForAuxiliaryDataType:

Returns a dictionary of primitive map information to use when writing an image file with a semantic segmentation matte.

Declaration

- (NSDictionary *)dictionaryRepresentationForAuxiliaryDataType:(NSString * _Nullable *)outAuxDataType;

Parameters

outAuxDataType

On output, the auxiliary data type to be used when calling the ImageIO framework’s CGImageDestinationAddAuxiliaryDataInfo function. Currently supported auxiliary data types are enumerated in CGImageProperties.

Return Value

A dictionary of CGImageDestination-compatible semantic segmentation matte information, or nil if the auxiliary data type is unsupported.

See Also

Creating a Segmentation Matte

+ semanticSegmentationMatteFromImageSourceAuxiliaryDataType:dictionaryRepresentation:error:

Returns a new semantic segmentation matte instance from auxiliary image information in an image file.

- semanticSegmentationMatteByReplacingSemanticSegmentationMatteWithPixelBuffer:error:

Returns a semantic segmentation matte instance that wraps the replacement pixel buffer.

- semanticSegmentationMatteByApplyingExifOrientation:

Returns a new semantic segmentation matte instance with the specified Exif orientation applied.