I want to manipulate pixels in a bitmap and have been lookind at BITMAPFILEHEADER and BITMAPINFOHEADER details of a number of .bmp files. I had expected .BiSizeImage to be the same as .BiWidth * .BiHeight * Bytes per color.
However I find that this is not always so, usually it is bigger by 1,2 or 3 lines on one file it was a part line bigger. When the pixel array is set up are these extra pixels ignored or padded or should the BiHeight value be adjusted.
However I find that this is not always so, usually it is bigger by 1,2 or 3 lines on one file it was a part line bigger. When the pixel array is set up are these extra pixels ignored or padded or should the BiHeight value be adjusted.
Comment