Bitmap Types

3DS Max Plug-In SDK

List of Bitmap Types

See Also: Class BitmapStorage, Class Color, Class AColor, Structure LogLUV32Pixel, Structure LogLUV24Pixel, Structure RealPixel.

The following are the valid types of bitmaps:

This type indicates 'no type' yet.

BMM_NO_TYPE

Bitmap has not been allocated yet.

The types below may be both read from or written to:

BMM_LINE_ART

1 bit monochrome image.

BMM_PALETTED

8 bit paletted image. Each pixel value is an index into the color table.

BMM_GRAY_8

8 bit grayscale bitmap.

BMM_GRAY_16

16 bit grayscale bitmap.

BMM_TRUE_16

16 bit true color image.

BMM_TRUE_32

32 bit color: 8 bits each for Red, Green, Blue, and Alpha.

BMM_TRUE_64

64 bit color: 16 bits each for Red, Green, Blue, and Alpha.

BMM_LOGLUV_32

This option is available in release 4.0 and later only.

This format uses a logarithmic encoding of luminance and U’ and V’ in the CIE perceptively uniform space. It spans 38 orders of magnitude from 5.43571´10-20 to 1.84467´1019 in steps of about 0.3% luminance steps. It includes both positive and negative colors. A separate 16 bit channel is kept for alpha values.

BMM_LOGLUV_24

This option is available in release 4.0 and later only.

This format is similar to BMM_LOGLUV_32 except is uses smaller values to give a span of 5 order of magnitude from 1/4096 to 16 in 1.1% luminance steps. A separate 8 bit channel is kept for alpha values.

BMM_LOGLUV_24A

This option is available in release 4.0 and later only.

This format is identical to BMM_LOGUV_24, except the 8 bit alpha value is kept with the 24 bit color value in a single 32 bit word.

BMM_REALPIX_32

This option is available in release 4.0 and later only.

The "Real Pixel" format.

The following types may be read from, but NOT written to (thus these should not be used when creating bitmaps that you intend to write to or save):

BMM_TRUE_24

24 bit color: 8 bits each for Red, Green, and Blue.

BMM_TRUE_48

48 bit color: 16 bits each for Red, Green, and Blue.

BMM_YUV_422

This is the YUV format - CCIR 601.

BMM_BMP_4

4 bit Windows BMP 16 color bitmap

BMM_PAD_24

Padded 24 bit (in a 32 bit register).