|
ADTF File Library
|
Bitmap description structure within ADTF 2 files. More...
#include <legacy_types.h>
Public Attributes | |
| int32_t | width |
| Specifies the width (in pixels) of the image. | |
| int32_t | height |
| Specifies the width (in pixels) of the image. | |
| int16_t | bits_per_pixel |
| Specifies the number of bits used to represent the color of a single pixel. | |
| int16_t | pixel_format |
| Pixel format specified in PixelFormat. More information can be found at. | |
| int32_t | bytes_per_line |
| int32_t | size |
| Size of bitmap in bytes (bytesPerLine * height) | |
| int32_t | palette_size |
Bitmap description structure within ADTF 2 files.
| int32_t adtf_file::adtf2::BitmapFormat::bytes_per_line |
Specifies the number of bytes used per line (width * bitsPerPixel / 8 + n PaddingBytes) normally the bytesPerLine is a multiple of 4, but don't trust on it!
| int32_t adtf_file::adtf2::BitmapFormat::palette_size |
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!
| int16_t adtf_file::adtf2::BitmapFormat::pixel_format |
Pixel format specified in PixelFormat. More information can be found at.