mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-31 15:18:29 -04:00
Make bitmap size available to API
This commit is contained in:
parent
75384ca009
commit
6dcc6af817
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ int bmp_pixel_plot(struct zint_symbol *symbol, int image_height, int image_width
|
||||||
}
|
}
|
||||||
|
|
||||||
data_size = symbol->bitmap_height * row_size;
|
data_size = symbol->bitmap_height * row_size;
|
||||||
|
symbol->bitmap_byte_length = data_size;
|
||||||
|
|
||||||
bitmap_file_header_t file_header;
|
bitmap_file_header_t file_header;
|
||||||
bitmap_info_header_t info_header;
|
bitmap_info_header_t info_header;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue