iBitsPerPixel
Resulting file's pixel depth.
Note that not all bits per pixel are available to all file formats. For valid values, refer to Formats of Output Files. If iBitsPerPixel is 0, the file will be stored using the closest bits per pixel value supported by that format. For example, if a file format supports 1, 4, and 24 bits per pixel, and the BitmapBits property was 5, the file will be stored as 24 bit. Likewise, if the BitmapBits property was 2, the file will be stored as 4-bit.