Contents

kCGImageDestinationBackgroundColor

The background color to use when the image has an alpha component, but the destination format doesn’t support alpha.

Declaration

let kCGImageDestinationBackgroundColor: CFString

Discussion

If present, the value associated with this key must be a CGColor data type without an alpha component of its own. If not present, and if a background color is needed, a white color is used.

See Also

Configuring the Image Behaviors