Instance Method

oriented(_:)

Transforms the original image by a given CGImagePropertyOrientation and returns the result.

Declaration

func oriented(_ orientation: CGImagePropertyOrientation) -> CIImage

Discussion

Returns a new image representing the original image transformed for the given CGImagePropertyOrientation.

See Also

Working with Orientation

func orientationTransform(for: CGImagePropertyOrientation) -> CGAffineTransform

The affine transform for changing the image to the given orientation.