Instance Method


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


func oriented(_ orientation: CGImagePropertyOrientation) -> CIImage


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software