1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-07 12:07:42 +00:00

Better compression for Ultracode in BMP

Also corrects colour shifting bug
File size is still bigger than it needs to be for Ultracode, but now uses 4bpp
This commit is contained in:
Robin Stuart
2020-08-12 13:19:56 +01:00
parent 20f767c4b6
commit b5e27d3e0b
5 changed files with 80 additions and 95 deletions

View File

@@ -67,9 +67,9 @@ extern "C" {
} bitmap_info_header_t;
typedef struct color_ref {
uint8_t red;
uint8_t green;
uint8_t blue;
uint8_t green;
uint8_t red;
uint8_t reserved;
} color_ref_t;