Hi, I have been able to load various bmp into my projects with no issues for a while. However recently, I one of my bmp files seems to be unable to load. I tried many things to fix it like re-exporting the file or renaming the file. The only thing that fixed it was redrawing it from scratch. The issue that is occurring is that the header struct seems only to be partially filled out when I look at the information. Things like width, height, and compression are not there, but fields like file_type and file_size are filled in. Is there a chance that bmp files export with a different header? Is there a way to export a bmp with the header my importer uses (which is close to the one shown in handmade hero) 100% of the time?
This is really weird to me as the images I am loading in are all glyphs to a font I drew and only 1 glyph (upper case L) was having trouble being read in. It might also be important to note that these images where all png file that I then converted to bmps with a python script. The issue might have come from there. I am still surprised reexporting the image both in png or bmp form from an image editor did not fix it.
Any thoughts on what might have happened?