ImageEn, unit iexBitmaps

TIEMultiBitmap.ImageBitCount

TIEMultiBitmap.ImageBitCount


Declaration

property ImageBitCount[idx: Integer]: Integer;


Description

Returns the bit count of the image, idx. It can be:
1 : Black/white image
24 : True color image

Note: Do not use in IsVirtual mode


Example

// Output bit count of all images to a Listbox
for i := 0 to mbmp.Count - 1 do
  ListBox1.Items.Add( IntToStr( mbmp.ImageBitCount[i] ));