Bitmap size field in the BITMAPV4HEADER was not being set correctly (the image viewers I've been using are unaffected by this but it ought to be corrected)

This commit is contained in:
Bart Trzynadlowski 2022-02-05 06:44:53 +00:00
parent 3f6937e1a6
commit fe7baa108f

View file

@ -69,7 +69,7 @@ namespace Util
num_planes(1),
bits_per_pixel(32),
compression_method(3), // BI_BITFIELDS
bitmap_size(_width*_height*3),
bitmap_size(_width*_height*4),
horizontal_resolution(2835), // 72 dpi
vertical_resolution(2835),
num_palette_colors(0),