Instance Method

initWithImage:options:

Initializes the sampler with an image object using options specified in a dictionary.

Declaration

- (instancetype)initWithImage:(CIImage *)im options:(NSDictionary *)dict;

Parameters

im

The image to initialize the sampler with.

dict

A dictionary that contains options specified as key-value pairs. See Sampler Option Keys.

See Also

Initializing a Sampler

- initWithImage:

Initializes a sampler with an image object.

- initWithImage:keysAndValues:

Initializes the sampler with an image object using options specified as key-value pairs.