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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software