<!--
{
  "documentType" : "article",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/options-for-applying-a-filter",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Options for Applying a Filter"
}
-->

# Options for Applying a Filter

Options that control the application of a custom Core Image filter.

## Discussion

Use these constants only when creating a custom filter for which you are writing the kernel. For more information, see [Core Image Programming Guide](https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html#//apple_ref/doc/uid/TP30001185). The example on creating a custom filter shows how to use these options.

## Topics

### Constants

[`kCIApplyOptionExtent`](/documentation/CoreImage/kCIApplyOptionExtent)

The extent of the image.

[`kCIApplyOptionDefinition`](/documentation/CoreImage/kCIApplyOptionDefinition)

The domain of definition (DOD) of the produced image.

[`kCIApplyOptionUserInfo`](/documentation/CoreImage/kCIApplyOptionUserInfo)

Information needed by a callback. The associated value is an object that Core Image will pass to any callbacks invoked for that filter.

[`kCIApplyOptionColorSpace`](/documentation/CoreImage/kCIApplyOptionColorSpace)

The color space of the produced image.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)