Make bitmap size available to API

This commit is contained in:
Robin Stuart 2016-07-18 20:22:56 +01:00
parent 75384ca009
commit 6dcc6af817

View File

@ -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;