Contents

applyingExifOrientation(_:)

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

Declaration

func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> Self

Parameters

Return Value

A new semantic segmentation matte instance.

Discussion

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

See Also

Creating a segmentation matte