nBitsPerPixel

Resulting bitmap pixel depth. The following are valid values:

Value

Meaning

0

Keep the original file's pixel depth (Do not convert).

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