kCGImagePropertyHasAlpha
A Boolean value that indicates whether the image has an alpha channel.
Declaration
let kCGImagePropertyHasAlpha: CFStringDiscussion
The value of this key is a CFBoolean. The value is kCFBooleanTrue when the image contains an alpha channel.