iBitsPerPixel

Resulting bitmap pixel depth. The following are valid values:

Value

Meaning

0

Keep the original file's pixel depth (Do not convert). A special note about loading 12 and 16-bit grayscale images.

1 to 8

The specified bits per pixel in the resultant bitmap

12

12 bits per pixel in the resultant bitmap.

16

16 bits per pixel in the resultant bitmap

24

24 bits per pixel in the resultant bitmap

32

32 bits per pixel in the resultant bitmap

48

48 bits per pixel in the resultant bitmap

64

64 bits per pixel in the resultant bitmap