nBits

Resulting bitmap pixel depth. The following are valid values:

Value

Meaning

0

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

1

1 bit per pixel in the resultant bitmap

2

2 bit per pixel in the resultant bitmap

3

3 bit per pixel in the resultant bitmap

4

4 bits per pixel in the resultant bitmap

5

5 bit per pixel in the resultant bitmap

6

6 bit per pixel in the resultant bitmap

7

7 bit 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