Bloom

public struct Bloom: Filter

Softens edges and applies a pleasant glow to an image.

  • The name of the corresponding CIFilter

    Declaration

    Swift

    public let filterName = "CIBloom"
  • A Double value whose attribute type is CIAttributeTypeDistance and whose display name is Radius. Default value: 10.0

    Declaration

    Swift

    public var radius: Double = 10.0
  • A Double value whose attribute type is CIAttributeTypeScalar and whose display name is Intensity. Default value: 1.0

    Declaration

    Swift

    public var intensity: Double = 1.0
  • Initializes a new filter

    Declaration

    Swift

    public init() {}
  • Applies the properties of the receiver to create a new CIFilter object

    Declaration

    Swift

    public func createCoreImageFilter(inputImage: CIImage) -> CIFilter

    Parameters

    inputImage

    The image to use as input to the filter.

    Return Value

    The new CIFilter object.