Nuke Documentation

Structure Image​Processors.​Core​Image​Filter

public struct CoreImageFilter: ImageProcessing, CustomStringConvertible  

Applies Core Image filter (CIFilter) to the image.

Performance Considerations.

Prefer chaining multiple CIFilter objects using Core Image facilities instead of using multiple instances of ImageProcessors.CoreImageFilter.

References

ImageProcessors.CoreImageFilter ImageProcessors.CoreImageFilter ImageProcessing ImageProcessing ImageProcessors.CoreImageFilter->ImageProcessing CustomStringConvertible CustomStringConvertible ImageProcessors.CoreImageFilter->CustomStringConvertible

Member Of

ImageProcessors

A namespace for all processors that implement ImageProcessing protocol.

Conforms To

ImageProcessing

Performs image processing.

CustomStringConvertible

Initializers

init(name:​parameters:​identifier:​)

public init(name: String, parameters: [String: Any], identifier: String)  
  • parameter identifier: Uniquely identifies the processor.

init(name:​)

public init(name: String)  

Properties

identifier

public let identifier: String

context

public static var context  

A default context shared between all Core Image filters. The context has .priorityRequestLow option set to true.

description

public var description: String  

Methods

process(_:​)

public func process(_ image: PlatformImage) -> PlatformImage?  

apply(filter:​to:​)

public static func apply(filter: CIFilter?, to image: PlatformImage) -> PlatformImage?