Kingfisher Documentation

Protocol CIImage​Processor

public protocol CIImageProcessor: ImageProcessor  

Represents a processor based on a CIImage Filter. It requires a filter to create an ImageProcessor.

%77 CIImageProcessor CIImageProcessor ImageProcessor ImageProcessor CIImageProcessor->ImageProcessor

Conforms To

ImageProcessor

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

Default Implementations

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.

Requirements

filter

var filter: Filter