nBitsPerPixel

Resulting bits per pixel for each plane. Possible values are:

Value

Meaning

0

Default bits per pixel. LEADTOOLS will pick the closest valid value.

8

Save 8 bits per component. The generated file will contain 32 bits (no alpha) or 40 bits (with alpha). Note that the GetFileInfo method will report 8 bits less (24 or 32-bit).

16

Save 16 bits per component. The generated file will contain 64 bits (no alpha) or 80 bits (with alpha). Note that the GetFileInfo method will report 16 bits less (48 or 64-bit).