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

1 bit per pixel in the resultant bitmap.

4

4 bits per pixel in the resultant bitmap.

8

8 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.