mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-31 07:08:26 -04: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:
parent
6579efd271
commit
37fccf1c03
2 changed files with 106 additions and 66 deletions
|
@ -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 ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue