Contents

workingFormat

A Core Image context option key to specify the pixel format to for intermediate results when rendering.

Declaration

static let workingFormat: CIContextOption

Discussion

The value for this key is an NSNumber instance containing a CIFormat value.

The supported values for the working pixel format are:

Ciformat

Notes

Rgba8

Uses less memory but has less precision an range

Rgbah

Uses 8 bytes per pixel, supports HDR

Rgbaf

Only on macOS

If this option is not specified, then the default is RGBAh.

(The default is RGBA8 if your if app is linked against iOS 12 SDK or earlier.)

See Also

Type Properties