ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
tBitmapFormat

Struct to specifie a bitmap. More...

Public Attributes

tInt32 nWidth
 Specifies the width (in pixels) of the image.
 
tInt32 nHeight
 Specifies the width (in pixels) of the image.
 
tInt16 nBitsPerPixel
 Specifies the number of bits used to represent the color of a single pixel.
 
tInt16 nPixelFormat
 Pixel format specified in tPixelFormat. More information ca be found at. More...
 
tInt32 nBytesPerLine
 Specifies the number of bytes used per line (nWidth * nBitsPerPixel / 8 + n PaddingBytes) normally the nBytesPerLine is a multiple of 4, but don't trust on it!
 
tInt32 nSize
 Size of bitmap in bytes (nBytesPerLine * nHeight)
 
tInt32 nPaletteSize
 Size of colour palette. More...
 

Detailed Description

Struct to specifie a bitmap.

Definition at line 19 of file displaytbstructs.h.

Member Data Documentation

◆ nPaletteSize

tInt32 nPaletteSize

Size of colour palette.

This can be used for image formats where the pixel values are indices of a color table. Most of the time you want to set this to 0!

Definition at line 36 of file displaytbstructs.h.

◆ nPixelFormat

tInt16 nPixelFormat

Pixel format specified in tPixelFormat. More information ca be found at.

See also
cImage::tPixelFormat

Definition at line 28 of file displaytbstructs.h.