Contents

bitsPerSample

The number of bits per sample.

Declaration

var bitsPerSample: NSNumber? { get set }

Discussion

The value of this property can represent the bit depth of an image (such as 8-bit or 16-bit) or the bit depth per audio sample of uncompressed audio data (such as 8, 16, 24, 32, 64, and so on).

See Also

Describing images