Instance Property

bitsPerComponent

The number of bits needed to represent one channel of data in one pixel.

Declaration

var bitsPerComponent: UInt32

Discussion

For ARGB8888, this would be 8. Expected values are 1, 2, 4, 5, 8, 10, 12, 16, or 32.