Project
Loading...
Searching...
No Matches
bitmapfile.h File Reference

Go to the source code of this file.

Classes

struct  BITMAPFILEHEADER
 
struct  BITMAPINFOHEADER
 

Enumerations

enum  BI_Compression {
  BI_RGB = 0x0000 , BI_RLE8 = 0x0001 , BI_RLE4 = 0x0002 , BI_BITFIELDS = 0x0003 ,
  BI_JPEG = 0x0004 , BI_PNG = 0x0005 , BI_CMYK = 0x000B , BI_CMYKRLE8 = 0x000C ,
  BI_CMYKRLE4 = 0x000D
}
 

Functions

struct BITMAPFILEHEADER __attribute__ ((packed))
 

Variables

uint16_t bfType
 
uint32_t bfSize
 
uint32_t bfReserved
 
uint32_t bfOffBits
 
uint32_t biSize
 
uint32_t biWidth
 
uint32_t biHeight
 
uint16_t biPlanes
 
uint16_t biBitCount
 
uint32_t biCompression
 
uint32_t biSizeImage
 
uint32_t biXPelsPerMeter
 
uint32_t biYPelsPerMeter
 
uint32_t biClrUsed
 
uint32_t biClrImportant
 
enum BI_Compression __attribute__
 

Detailed Description

Author
David Rohr

Definition in file bitmapfile.h.

Enumeration Type Documentation

◆ BI_Compression

Enumerator
BI_RGB 
BI_RLE8 
BI_RLE4 
BI_BITFIELDS 
BI_JPEG 
BI_PNG 
BI_CMYK 
BI_CMYKRLE8 
BI_CMYKRLE4 

Definition at line 36 of file bitmapfile.h.

Function Documentation

◆ __attribute__()

struct BITMAPFILEHEADER __attribute__ ( (packed)  )

Variable Documentation

◆ __attribute__

◆ bfOffBits

uint32_t bfOffBits

Definition at line 3 of file bitmapfile.h.

◆ bfReserved

uint32_t bfReserved

Definition at line 2 of file bitmapfile.h.

◆ bfSize

uint32_t bfSize

Definition at line 1 of file bitmapfile.h.

◆ bfType

uint16_t bfType

Definition at line 0 of file bitmapfile.h.

◆ biBitCount

uint16_t biBitCount

Definition at line 4 of file bitmapfile.h.

◆ biClrImportant

uint32_t biClrImportant

Definition at line 10 of file bitmapfile.h.

◆ biClrUsed

uint32_t biClrUsed

Definition at line 9 of file bitmapfile.h.

◆ biCompression

uint32_t biCompression

Definition at line 5 of file bitmapfile.h.

◆ biHeight

uint32_t biHeight

Definition at line 2 of file bitmapfile.h.

◆ biPlanes

uint16_t biPlanes

Definition at line 3 of file bitmapfile.h.

◆ biSize

uint32_t biSize

Definition at line 0 of file bitmapfile.h.

◆ biSizeImage

uint32_t biSizeImage

Definition at line 6 of file bitmapfile.h.

◆ biWidth

uint32_t biWidth

Definition at line 1 of file bitmapfile.h.

◆ biXPelsPerMeter

uint32_t biXPelsPerMeter

Definition at line 7 of file bitmapfile.h.

◆ biYPelsPerMeter

uint32_t biYPelsPerMeter

Definition at line 8 of file bitmapfile.h.