ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearDIB Class : BitsPerChannel Property |
'Declaration Public ReadOnly Property BitsPerChannel As Integer
public int BitsPerChannel {get;}
public: __property int get_BitsPerChannel();
Returns allocated (actual) size of any image channel in bits. The values 8, 16 and 32 are used as a basis for the array allocation.
Value returned by this property is correct for uncompressed DIBs only. Compressed DIBs have a different channel structure. For these sorts of DIBs this property always returns 8, although this value has no real meaning.