ImageFilter

public protocol ImageFilter

The ImageFilter protocol defines properties for filtering an image as well as identification of the filter.

  • filter Default implementation

    A closure used to create an alternative representation of the given image.

    Default Implementation

    The filter closure used to create the modified representation of the given image.

    Declaration

    Swift

    var filter: (Image) -> Image
  • identifier Default implementation

    The string used to uniquely identify the filter operation.

    Default Implementation

    The unique idenitifier for an ImageFilter conforming to the CoreImageFilter protocol.

    Declaration

    Swift

    var identifier: String