CIImage
public extension CIImage
-
Date
May 24, 2017Declaration
Swift
var toCGImage: CGImage? { get }Return Value
A CGImage that represents the current CIImage.
-
Calculate the RGBA values for the specified point in a CIImage.
Date
May 24, 2017Declaration
Swift
func rgbValues(atPoint point: CGPoint) -> (red: UInt8, green: UInt8, blue: UInt8, alpha: UInt8)?Parameters
pointA
CGPointin theCIImageto extract RGBA information.Return Value
A tuple containing red, green, blue, and alpha values at the specified point if they could be extracted, or a
nilvalue otherwise.
View on GitHub
CIImage Extension Reference