No overview available.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- Core Image
No overview available.
A key for the set of input keys available for use. The associated value is an
NSSet object containing the set of input keys which may be used to affect the output image. (Depending on the input image type and the decoder version, some input keys may be unavailable.) This key is read-only.
CIInput Allow Draft Mode Key
A key for allowing draft mode. The associated value is a Boolean value packaged as an
NSNumber object. It’s best not to use draft mode if the image needs to be drawn without draft mode at a later time, because changing the value from
NO is an expensive operation. If the optional scale factor is smaller than a certain value, additionally setting draft mode can improve image decoding speed without any perceivable loss of quality. However, turning on draft mode does not have any effect if the scale factor is not below this threshold.
CIInput Boost Key
A key for the amount of boost to apply to an image. The associated value is a floating-point value packaged as an
NSNumber object. The value must be in the range of
0...1. A value of
0 indicates no boost, that is, a linear response. The default value is
1, which indicates full boost.
CIInput Color Noise Reduction Amount Key
A key for the amount of noise reduction to apply to color data in the image.
CIInput Decoder Version Key
A key for the version number of the method to be used for decoding. A newly initialized object defaults to the newest available decoder version for the given image type. You can request an alternative, older version to maintain compatibility with older releases. Must be one of the values listed for the
k key, otherwise a
nil output image is generated. The associated value must be an
NSNumber object that specifies an integer value in range of
0 to the current decoder version. When you request a specific version of the decoder, Core Image produces an image that is visually the same across different versions of the operating system. Core Image, however, does not guarantee that the same bits are produced across different versions of the operating system. That’s because the rounding behavior of floating-point arithmetic can vary due to differences in compilers or hardware. Note that this option has no effect if the image used for initialization is not RAW.
CIInput Enable Chromatic Noise Tracking Key
A key for progressive chromatic noise tracking (based on ISO and exposure time). The associated value must be an
NSNumber object that specifies a
BOOL value (
NO). The default is
YES. This option has no effect if the image used for initialization is not RAW.
CIInput Enable Vendor Lens Correction Key
A key for whether to automatically correct for image distortion from known lenses.
CIInput Ignore Image Orientation Key
A key for specifying whether to ignore the image orientation. The associated value is a Boolean value packaged as an
NSNumber object. The default value is
NO. An image is usually loaded in its proper orientation, as long as the associated metadata records its orientation. For special purposes you might want to load the image in its physical orientation. The exact meaning of "physical orientation” is dependent on the specific image.
CIInput Image Orientation Key
A key for the image orientation. The associated value is an integer value packaged as an
NSNumber object. Valid values are in range
1...8 and follow the EXIF specification. The value is disregarded when the
k flag is set. You can change the orientation of the image by overriding this value. By changing this value you can rotate an image in 90-degree increments.
CIInput Linear Space Filter
A key for the filter to apply to the image while it is temporarily in a linear color space as part of RAW image processing. The associated value must be a
CIInput Luminance Noise Reduction Amount Key
A key for the amount of noise reduction to apply to luminance data in the image.
CIInput Neutral Location Key
A key for the neutral position. Use this key to set the location in geometric coordinates of the unrotated output image that should be used as neutral. You cannot query this value; it is undefined for reading. The associated value is a two-element
CIVector object that specifies the location (
CIInput Noise Reduction Contrast Amount Key
A key for the amount of contrast enhancement to apply during noise reduction.
CIInput Noise Reduction Detail Amount Key
A key for the amount of detail enhancement to apply during noise reduction.
CIInput Noise Reduction Sharpness Amount Key
A key for the amount of sharpness enhancement to apply during noise reduction.
CIInput Scale Factor Key
A key for the scale factor. The associated value is a floating-point value packaged as an
NSNumber object that specifies the desired scale factor at which the image will be drawn. Setting this value can greatly improve the drawing performance. A value of
1 is the identity. In some cases, if you change the scale factor and enable draft mode, performance can decrease. See
CISupported Decoder Versions Key
A key for the supported decoder versions. The associated value is an
NSArray object that contains all supported decoder versions for the given image type, sorted in increasingly newer order. Each entry is an
NSDictionary object that contains key-value pairs. All entries represent a valid version identifier that can be passed as the
k value for the key
k. Version values are read-only; attempting to set this value raises an exception. Currently, the only defined key is
@"version" which has as its value an
NSString that uniquely describing a given decoder version. This string might not be suitable for user interface display..