Contents

bitsPerPixel

The number of bits that represents one pixel.

Declaration

var bitsPerPixel: UInt32

Discussion

For ARGB8888, this is 32.

The number of color components derives from the color space, and the number of alpha components (zero or one) derives from the bitmapInfo.

See Also

Instance properties