Returns a new image created by color matching from the specified color space to the context’s working color space.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
The color space to be converted from. This color space must conform to the
CGColorSpaceModel.rgb color space model.
An image object representing the result of the color matching operation, or
nil if the color spaces to be converted are not compatible.
Creating an Image by Modifying an Existing Image
func clamped(to: CGRect) -> CIImage
Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
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