kCIContextHighQualityDownsample

Static kCIContextHighQualityDownsample 

Source
pub unsafe static kCIContextHighQualityDownsample: &'static CIContextOption
Available on crate feature CIContext only.
Expand description

A Boolean value to control the quality of image downsampling operations performed by the Core Image context.

The higher quality behavior performs downsampling operations in multiple passes in order to reduce aliasing artifacts.

The lower quality behavior performs downsampling operations a single pass in order to improve performance.

If the value for this option is:

  • True: The higher quality behavior will be used.
  • False: The lower quality behavior will be used.
  • Not specified: the default behavior is True on macOS and False on other platforms.

Note:

  • This option does affect how /CIImage/imageByApplyingTransform: operations are performed by the context.
  • This option does not affect how /CIImage/imageByApplyingTransform:highQualityDownsample: behaves.

See also Apple’s documentation