Improve BMP handling

This commit is contained in:
Lauri Kenttä
2023-09-14 18:05:38 +03:00
parent 33e4450d19
commit 93eec1a250
2 changed files with 55 additions and 21 deletions

View File

@@ -52,6 +52,12 @@ typedef struct {
UINT32 height;
UINT16 planes;
UINT16 bpp;
UINT32 compression;
UINT32 image_size;
UINT32 x_pixels_per_meter;
UINT32 y_pixels_per_meter;
UINT32 colors_used;
UINT32 important_colors;
} BMP;
/**