Options for Applying a Filter
Options that control the application of a custom Core Image filter.
Use these constants only when creating a custom filter for which you are writing the kernel. For more information, see Core Image Programming Guide. The example on creating a custom filter shows how to use these options.
let kCIApplyOptionExtent: String
The size of the produced image. The associated value is a four-element array (
NSArray) that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
let kCIApplyOptionColorSpace: String
The color space of the produced image. The associated value must be an RGB
CGColorSpace object. If not specified, the output of the kernel is in the working color space of the Core Image context used to render the image.