adtf_file_library  0.13.2
Public Attributes | List of all members
adtf_file::adtf2::BitmapFormat Struct Reference

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. More...
 
int32_t bytes_per_line
 
int32_t size
 Size of bitmap in bytes (bytesPerLine * height)
 
int32_t palette_size
 

Detailed Description

Bitmap description structure within ADTF 2 files.

Member Data Documentation

◆ bytes_per_line

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!

◆ palette_size

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!

◆ pixel_format

int16_t adtf_file::adtf2::BitmapFormat::pixel_format

Pixel format specified in PixelFormat. More information can be found at.

See also
PixelFormat

The documentation for this struct was generated from the following file:

Copyright © CARIAD SE.
Generated on Mon Jun 10 2024 by doxygen 1.9.1
GIT Commit Hash: eb3af397a6b49ad6fcad9a60d8277d909b458b48