applyingExifOrientation(_:)
Returns a new semantic segmentation matte instance with the specified Exif orientation applied.
Declaration
func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> SelfParameters
- 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 invalidArgumentException if you pass an unrecognized exifOrientation.