Instance Method

semanticSegmentationMatteByApplyingExifOrientation:

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

Declaration

- (instancetype)semanticSegmentationMatteByApplyingExifOrientation:(CGImagePropertyOrientation)exifOrientation;

Parameters

exifOrientation

A CGImagePropertyOrientation value expressing how the matte should be rotated or mirrored.

Return Value

A new semantic segmentation matte instance.

Discussion

This method throws an NSInvalidArgumentException if you pass an unrecognized exifOrientation.

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.

- dictionaryRepresentationForAuxiliaryDataType:

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