mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
png.c: fix 4-bit odd bitmap width bug introduced by [ed3cc5] (MR #111)
This commit is contained in:
parent
045c0bae56
commit
6b7b5109b9
3 changed files with 6 additions and 6 deletions
BIN
backend/tests/data/png/ultra_odd.png
Normal file
BIN
backend/tests/data/png/ultra_odd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 B |
|
@ -169,6 +169,7 @@ static void test_print(int index, int generate, int debug) {
|
|||
/* 34*/ { BARCODE_ULTRA, -1, -1, 2, -1, -1, -1, 0, 0, "", "FF000033", "12345", "", "../data/png/ultra_bgalpha.png", "" },
|
||||
/* 35*/ { BARCODE_ULTRA, -1, -1, 2, -1, -1, -1, 0, 0, "0000007F", "FF0000", "12345", "", "../data/png/ultra_fgalpha.png", "" },
|
||||
/* 36*/ { BARCODE_ULTRA, -1, -1, -1, -1, -1, -1, 0, 0, "0000007F", "", "12345", "", "../data/png/ultra_fgalpha_nobg.png", "" },
|
||||
/* 37*/ { BARCODE_ULTRA, -1, -1, -1, -1, -1, -1, 0, 0.5f, "", "", "1", "", "../data/png/ultra_odd.png", "" },
|
||||
};
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue