Contents

kCGImageSourceShouldAllowFloat

A Boolean that indicates whether to use floating-point values in returned images.

Declaration

let kCGImageSourceShouldAllowFloat: CFString

Discussion

The value of this key is a CFBoolean. The default value is kCFBooleanFalse, which tells the image source not to use floating-point values.

If the image format supports floating-point values, this key tells the image source to format CGImage types using those values. The use of extended-range floating-point values may require additional processing to render in a pleasing manner.

See Also

Specifying the Read Options