Kingfisher Documentation

Structure Blur​Image​Processor

public struct BlurImageProcessor: ImageProcessor  

Processor for adding blur effect to images. Accelerate.framework is used underhood for a better performance. A simulated Gaussian blur with specified blur radius will be applied.

%97 BlurImageProcessor BlurImageProcessor ImageProcessor ImageProcessor BlurImageProcessor->ImageProcessor

Conforms To

ImageProcessor

An ImageProcessor would be used to convert some downloaded data to an image.

Initializers

init(blur​Radius:​)

public init(blurRadius: CGFloat)  

Creates a BlurImageProcessor

Parameters

blur​Radius CGFloat

Blur radius for the simulated Gaussian blur.

Properties

identifier

public let identifier: String

Identifier of the processor.

blur​Radius

public let blurRadius: CGFloat

Blur radius for the simulated Gaussian blur.

Methods

process(item:​options:​)

public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage?  

Processes the input ImageProcessItem with this processor.

Parameters

item Image​Process​Item

Input item which will be processed by self.

options Kingfisher​Parsed​Options​Info

Options when processing the item.

Returns

The processed image.