mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13: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:
@ -100,6 +100,10 @@ extern "C" {
|
||||
INTERNAL void pn_define_mode(char *mode, const unsigned int data[], const size_t length, const int debug,
|
||||
unsigned int state[], const char mode_types[], const int num_modes,
|
||||
pn_head_costs head_costs, pn_switch_cost switch_cost, pn_eod_cost eod_cost, pn_cur_cost cur_cost);
|
||||
|
||||
INTERNAL int colour_to_red(int colour);
|
||||
INTERNAL int colour_to_green(int colour);
|
||||
INTERNAL int colour_to_blue(int colour);
|
||||
|
||||
#ifdef ZINT_TEST
|
||||
void debug_test_codeword_dump(struct zint_symbol *symbol, unsigned char *codewords, int length);
|
||||
|
Reference in New Issue
Block a user