1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-06 19:47:09 +00:00

Use 1 bit per pixel for BMP files (Except Ultracode)

Needs more work to reduce Ultracode file size too
This commit is contained in:
Robin Stuart
2020-08-12 00:18:10 +01:00
parent 6579efd271
commit 37fccf1c03
2 changed files with 106 additions and 66 deletions

View File

@@ -65,6 +65,13 @@ extern "C" {
uint32_t colours;
uint32_t important_colours;
} bitmap_info_header_t;
typedef struct color_ref {
uint8_t red;
uint8_t green;
uint8_t blue;
uint8_t reserved;
} color_ref_t;
#pragma pack ()