Contents

fallbackBackgroundColor

Specifies the background color to use when writing to an image format (such as JPEG) that doesn’t support alpha.

Declaration

static let fallbackBackgroundColor: NSBitmapImageRep.PropertyKey

Discussion

The color’s alpha value is ignored. The default background color, when this property is not specified, is white. The value of the property should be an NSColor object. This constant corresponds to the kCGImageDestinationBackgroundColor constant in Quartz.

See Also

Bitmap Properties