Contents

kCGImageSourceShouldCache

A Boolean value that indicates whether to cache the decoded image.

Declaration

let kCGImageSourceShouldCache: CFString

Discussion

The value of this key is a CFBoolean. The default value is kCFBooleanTrue for 64-bit architectures, and kCFBooleanFalse for 32-bit architectures.

Include this key in the options dictionary you pass to the functions CGImageSourceCopyPropertiesAtIndex(_:_:_:) and CGImageSourceCreateImageAtIndex(_:_:_:).

See Also

Specifying the Read Options