I am pretty sure I have to update the info header,but I am not sure how. When I try to change bfSize (bfSize *= grow;) or another part, andheight, etc, my file won't compile. All help is greatly appreciated, thank in advance!
This is what would not compile:
new_bfSize = bfSize * grow;
new_biHeight = biHeight * grow;
new_biWidth = biWidth * grow;
new_biSizeImage = new_biWidth + sizeof(RGBTRIPLE) + padding2 + abs(new_biHeight);
newbfSize = new_biSizeImage + sizeof(BITMAPINFOHEADER);
Here is my code(without that section):