106 PF_GREYSCALE_18 = 41,
107 PF_GREYSCALE_20 = 42,
108 PF_GREYSCALE_22 = 43,
281 virtual tResult
GetBits(tUInt8* pDestBitmapData,
const tBitmapFormat* psDestBitmapFormat, tInt nFlags = 0) = 0;
Image and bitmap handling.
virtual tFloat64 GetRatio() const =0
Returns the aspect ratio of the image.
virtual tResult GetBits(tUInt8 *pDestBitmapData, const tBitmapFormat *psDestBitmapFormat, tInt nFlags=0)=0
Retrieves the image's bitmap data.
virtual tInt GetPaletteSize() const =0
Returns the color palette size.
virtual tInt GetSize() const =0
Returns the size of the image in bytes.
virtual tUInt8 * GetBitmap() const =0
Returns a pointer to the raw data.
virtual const tBitmapFormat * GetFormat() const =0
Returns the current bitmap format of the image.
virtual tInt GetWidth() const =0
Returns the width of the image.
tPixelFormat
The enum ePixelFormat specifies some common pixel formats, that is, descriptions of a byte to color m...
@ PF_32BIT
32 bit This definition is a placeholder a 32 Bit format, bitorder is undefined.
@ PF_RGB_888
24 bit RGB (R: 8 bit, G: 8 bit, B: 8 bit) - default format for 24 bpp
@ PF_GREYSCALE_FLOAT32
32 bit greyscale float value
@ PF_GREYSCALE_10
10 bit greyscale To setup Format use tBitmapFormat::nBitsPerPixel = 16 ! the most significant (upper)...
@ PF_YUV420P_888
24 bit YUV (Y: 8 bit, U: 8 bit, V: 8 bit) - Y = luminance, U+V = chrominance If using this format in ...
@ PF_16BIT
16 bit This definition is a placeholder a 16 Bit format, bitorder is undefined.
@ PF_GREYSCALE_24
24 bit greyscale
@ PF_RGBA_8888
32 bit RGBA (R: 8 bit, G: 8 bit, B: 8 bit, A: 8 bit) with alpha value - default format for 32 bpp
@ PF_RGB_555
15 bit RGB (R: 5 bit, G: 5 bit, B: 5 bit) - default format for 16 bpp
@ PF_RGB_565
16 bit RGB (R: 5 bit, G: 6 bit, B: 5 bit)
@ PF_BGRA_8888
32 bit BGRA (B: 8 bit, G: 8 bit, R: 8 bit, A: 8 bit) with alpha value - inverted RGB + A
@ PF_24BIT
24 bit This definition is a placeholder a 24 Bit format, bitorder is undefined.
@ PF_ARGB_8888
32 bit ARGB (A: 8 bit, R: 8 bit, G: 8 bit, B: 8 bit) with alpha value
@ PF_GREYSCALE_16
16 bit greyscale
@ PF_ABGR_8888
32 bit ABGR (A: 8 bit, B: 8 bit, G: 8 bit, R: 8 bit) with alpha value - inverted RGBA
@ PF_RGB_444
12 bit RGB (R: 4 bit, G: 4 bit, B: 4 bit)
@ PF_BGR_888
24 bit BGR (B: 8 bit, G: 8 bit, R: 8 bit) - inverted RGB
@ PF_GREYSCALE_8
8 bit greyscale - default format for 8 bpp
@ PF_UNKNOWN
unknown / not set
@ PF_GREYSCALE_12
12 bit greyscale To setup Format use tBitmapFormat::nBitsPerPixel = 16 ! the most significant (upper)...
@ PF_GREYSCALE_14
14 bit greyscale To setup Format use tBitmapFormat::nBitsPerPixel = 16 ! the most significant (upper)...
@ PF_ABGR_4444
16 bit ABGR (A: 4 bit, B: 4 bit, G: 4 bit, R: 4 bit) with alpha value - inverted RGBA
@ PF_RGB_8
8 bit RGB (R: 3 bit, G: 3 bit, B: 2 Bit) - palletized 8 bpp format
@ PF_RGBA_4444
16 bit RGBA (R: 4 bit, G: 4 bit, B: 4 bit, A: 4 bit) with alpha value
@ PF_GREYSCALE_32
32 bit greyscale
virtual tColor GetPaletteEntry(tInt nIdx) const =0
Returns a color palette entry.
virtual tInt GetPixelFormat() const =0
Returns the pixel format.
virtual tVoid Destroy()=0
Destroy the instance.
virtual tColor * GetPalette() const =0
Returns the color palette.
virtual tUInt8 * GetBitmapLine(tInt nY) const =0
Returns a pointer to raw data of a line.
virtual tWin32BitmapInfo * GetBitmapInfo()=0
Generates a Win32 image descriptor.
virtual tInt GetBytesPerLine() const =0
Returns the bytes per line of the image.
tLoadFlags
The enum tLoadFlags specifies options available for image transformation.
@ LF_FLIP_VERTICAL
perform a vertical flip
@ LF_SWAP_RGB
this flag is ignored, since it is not longer needed
virtual tInt GetBitsPerPixel() const =0
Returns the bits per pixel of the image.
tBlitFlags
This enumeration is used for the Blit function.
@ BLIT_VerticalFlip
Blit with vertical flip.
@ BLIT_DontStretch
Blit with no stretch and keep width-height-relation of image.
virtual tInt GetHeight() const =0
Returns the height of the image.
Copyright © Audi Electronics Venture GmbH.
Struct to get the informations and the color about a bitmap.